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!

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...