Splunk Search

Can't query for Metrics

joerglang
Engager

I have create a metric Index called "my_metric_index".
I see, that the index is populated with events.

I have added the role "metrics_user" and added the capability of "list_metrics_catalog" to the new role.
I have granted this role to my user, which has already sc_admin role.

When running command mcatalog values(metric_name) WHERE index="my_metric_index" I receive just:

4 errors occurred while the search was executing. Therefore, search results might be incomplete. Hide errors.
This command only searches event indexes. To search metric indexes, use the mstats command.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...