Splunk Search

convert FILETIME to human readable

cramasta
Builder

Does anyone know of a command/formula that for converting FILETIME date/time format to something more human readable?

Tags (2)
0 Karma

Simeon
Splunk Employee
Splunk Employee

I'm unsure of what you mean by FILETIME, but you can use the "convert" command to change the time format. An example would be to change the epoch time used by Splunk events into a human readable format. The convert ctime usage in the following example would change the epoch times in the metadata to a human readable time:

| metadata type=hosts | convert ctime(*Time)

http://docs.splunk.com/Documentation/Splunk/5.0/SearchReference/convert

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, ...