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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...