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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...