Splunk Cloud Platform

Timestamp format

supreme_coder
Engager

I have a timestamp like this "2020-Jan-01 21:59"

When I ingest data, I want this timestamp field to be registered as _time field in splunk

What is the right striptime() string to use to parse this my timestamp?

 

supreme_coder_0-1612363421493.pngsupreme_coder_0-1612363421493.png

supreme_coder_1-1612363500788.pngsupreme_coder_1-1612363500788.png

 

 

Labels (1)
Tags (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

Looks like "%Y-%b-%d %H:%M"

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

Looks like "%Y-%b-%d %H:%M"

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!

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...

Turn Cisco Telemetry Into Action with Cisco Data Fabric, powered by the Splunk ...

The surge in machine data is already hitting enterprise budgets, and the agentic era will only intensify it. ...

Persistent Queue at TcpOut — One of Splunk's Most Practical Features

Splunk introduced persistent queueing at the tcpout layer as one of the most practical resilience features in ...