Splunk Search

Convert Time

itsmevic
Communicator

After running my query:

| metadata type=sourcetypes index= OR index=_**

I get the following columns:

firstTime lastTime
1578610402 1580348515

How would I convert this time to a readable format?

Tags (1)
0 Karma

to4kawa
Ultra Champion
your search
| convert ctime(firstTime)
| convert ctime(lastTime)

yes, command is convert.

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...