Getting Data In

How to find a seach file

mwcentracomm
Explorer

I have inherited a Splunk system and this is one of the alerts

| metadata index=index-cc* type=hosts | eval age = now()-lastTime | where age > 86400 | sort age d | convert ctime(lastTime) | fields lastTime,host,source,age | rename age as "Seconds Since Last Event" | search `Exempted_Dark_Devices`

 

How do I find the file Exempted_Dark_Devices?

 

Thank you

Labels (1)
0 Karma

renjith_nair
Legend

From the syntax `Exempted_Dark_Devices`, it's a macro.

Look in the macro definitions and you should be able to find the expansion of this macro

https://docs.splunk.com/Documentation/Splunk/9.2.0/Knowledge/Definesearchmacros

---
What goes around comes around. If it helps, hit it with Karma 🙂
0 Karma
Get Updates on the Splunk Community!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...