Getting Data In

How do I change a CSV timestamp?



I add an CSV data into my splunk without any timestamp and SPLUNK add automatiquely an timestamp with the format "3/16/22 4:33:55.000 PM" I would like change the date on the format "3/16/22" how can I do that ? 





Labels (2)
0 Karma

Super Champion

Can you please provide sample data or screenshot of which timestamp you are talking about?

And also how you have added the CSV in Splunk.

0 Karma


You Can try Like this,

| eval timeformat=strftime(_time,"%m/%d/%y")



0 Karma
Get Updates on the Splunk Community!

.conf23 Registration is Now Open!

Time to toss the .conf-etti 🎉 —  .conf23 registration is open!   Join us in Las Vegas July 17-20 for ...

Don't wait! Accept the Mission Possible: Splunk Adoption Challenge Now and Win ...

Attention everyone! We have exciting news to share! We are recruiting new members for the Mission Possible: ...

Unify Your SecOps with Splunk Mission Control

In today’s post, I'm excited to share some recent Splunk Mission Control innovations. With Splunk Mission ...