Knowledge Management

tag based search is not working on mstats command

dmuraleetcs
Explorer

Does anyone know why the tag based search is not working in metric based commands. Is there any restriction or any alternative approach?

Working here,

 

index=_internal tag=windows_lab_iis

 

 

No Results for this command,

 

| mcatalog values(metric_name) WHERE tag=windows_lab_iis index=metrics* BY index, host

 

 

Labels (2)
Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

I suspect mcatalog is failing because the metrics index does not contain the fields referenced in the tag.

---
If this reply helps you, an upvote would be appreciated.
0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.