Splunk Search

Dashboard

kembgeorge
Loves-to-Learn

I have an issue when I try to convert my date time format to y/m/d/h/m it fails to do so 
I currently have my date time format example as 1629752225700

please can anyone help out 

0 Karma

ashvinpandey
Contributor

@kembgeorge Below are the two methods:

1. using convert command:

| convert ctime(<field_name>)


2. using eval:

| eval <field_name>=strftime(<field_name>,"%Y/%M/%d/%H/%M/%S")

Also, If this reply helps you, an upvote would be appreciated.

0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...