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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...