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!

New Year, New Changes for Splunk Certifications

As we embrace a new year, we’re making a small but important update to the Splunk Certification ...

[Puzzles] Solve, Learn, Repeat: Unmerging HTML Tables

[Puzzles] Solve, Learn, Repeat: Unmerging HTML TablesFor a previous puzzle, I needed some sample data, and ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...