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!

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...

Adoption of Infrastructure Monitoring at Splunk

  Splunk's Growth Engineering team showcases one of their first Splunk product adoption-Splunk Infrastructure ...