Splunk Search

Is there a way to see and identify new entries in an Index Search?

jhayIV
Engager

I would like to be able to identify new servers in the indexed search below:

index=####vsource=######### Extract.csv" | table  Name,_time,LastScanDate | timechart  span=1d dc(Name)

I used to do the manually in Excel using vlookups. I am sure there is some method I could use to identify servers that only had a current timestamp. (this data is 24 hours old when i pull it into Splunk)

0 Karma

lguinn2
Legend

Try this

yoursearchhere
| stats latest(LastScanDate) as MostRecentScanDate count by Name
| where count = 1
| table Name MostRecentScanDate

This produces a list of servers with their most recent scan date. It only shows servers with one entry, which should be "new" servers.
I am unclear what you wanted to plot with the timechart command, so I kept it simple here.

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...