Splunk Search

How to show a list that compare the thing which not show up in a csv file

phamxuantung
Communicator

So in detail, I have a dashboard that read log files to monitor the list of host's status which is UP or DOWN. But when some hosts are offline, then there would be no log file of their. I have a csv file that list out all the host name, and I want to compare the two list that I have, to have it show the offline hosts, which is the hosts name that show up in the csv file but not on the dashboard that I already have. 

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
search
| dedup host
| append [| inputlookup csv | dedup host]
| stats count by host
| where count=1

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust
search
| dedup host
| append [| inputlookup csv | dedup host]
| stats count by host
| where count=1
Get Updates on the Splunk Community!

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...