Getting Data In

Timeformat

uagraw01
Motivator

Hello members,

 

Can you help me out to find out , what will be exact timeformat for this time below and timeprefix as well. 

[2021-01-29T08:05:10-05:00]

 

Thanks in advance.

0 Karma

isoutamo
SplunkTrust
SplunkTrust
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @uagraw01,

you could try:

TIME_PREFIX = \[
TIME_FORMAT = %Y-%m-%dT%H:%M_%S%:z

Ciao.

Giuseppe

0 Karma

uagraw01
Motivator

@gcusello 

 

Why you use _%S here ? Is this the typo error or you will suggest the other one.

Y-%m-%dT%H:%M_%S%:z

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @uagraw01,

sorry it was a typing error:

Y-%m-%dT%H:%M:%S%:z

Ciao.

Giuseppe

0 Karma
Get Updates on the Splunk Community!

Demo Day: Strengthen Your SOC with Splunk Enterprise Security 8.1

Today’s threat landscape is more complex than ever. Security operation centers (SOCs) are overwhelmed with ...

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...