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!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...