Getting Data In

i want to remove time(hours, minutes and seconds)

DataOrg
Builder

21-JUL-2017 00:00:09

i want only date. i am reading the data from csv file

0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi
use
your_search
| eval your_date=strftime(strptime(your_date,"%d-%b-%Y %H:%M:%S"),"%d-%b-%Y")
| ...

Bye.
Giuseppe

View solution in original post

gcusello
SplunkTrust
SplunkTrust

Hi
use
your_search
| eval your_date=strftime(strptime(your_date,"%d-%b-%Y %H:%M:%S"),"%d-%b-%Y")
| ...

Bye.
Giuseppe

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...