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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...