Splunk Search

Charting last seen date

mlevenson
Explorer

Looking to chart when a host/device was last seen.

Host date
server A 3/25/2012
server B 3/24/2012
server C 3/28/2012

Something like that. Date format doesn't have to be that way.

Tags (1)
0 Karma

Ayn
Legend
... | dedup host | table host _time
0 Karma

Ayn
Legend

Use eval instead of fieldformat.

0 Karma

mlevenson
Explorer

Okay but when I got od odo a fieldformat such as
| dedup host | fieldformat Stime = strftime(_time,"%m/%d/%Y") | table Stime

I get no output.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...