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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...