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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...