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!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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