Splunk Search

Up Down status from a Pre Defined List

rosha16
New Member

Hi All,

Below is my requiremnt , I have a CSV file which is quite big but in the belwo format

Ips,Name
10.10.10.1,IndiaFW
192.168.5.6,UsFW

These Ips are sending Logs to Splunk , I want to Know which are sending Logs and which are not , The End result should look Like

Ips, Name Status
10.10.10.1 IndiaFW Up ( Sending Logs )
192.168.5.6 UsFW Down ( Not Sending Logs )

Tags (1)
0 Karma

rosha16
New Member

Hi,

I am quite a newbee to Splunk , I can understand that you need to write a search statement , However You need tp start with a start with a soucetype ,

Can you plz explain in Lehman terms , How I can able to achive the able with a search statement

0 Karma

martin_mueller
SplunkTrust
SplunkTrust

Assuming you expect events in index foo with host=Ip, you can do something like this

| inputlookup your_file | join type=left Ips [metadata type=hosts index=foo | rename host as Ips]

and proceed from there.

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...