Getting Data In

Configure Event Timestamp

rantravee
Path Finder

Hi,

I would like to know how to configure Splunk so that for each event that I'm feeding to it the system time is used as the event timespamp.

I need to do this because the JSON objects that are fed to Splunk contain keys/value that describe the time(in millies) of some things and this makes Splunk to mismatch the event timestamps for some value that it finds within the JSON object.

Any hint would be greatly appreciated,

0 Karma
1 Solution

alacercogitatus
SplunkTrust
SplunkTrust

You can set it in props.conf. See the docs for details: http://docs.splunk.com/Documentation/Splunk/latest/admin/propsconf

props.conf
[mysourcetype]
DATETIME_CONFIG = CURRENT

View solution in original post

alacercogitatus
SplunkTrust
SplunkTrust

You can set it in props.conf. See the docs for details: http://docs.splunk.com/Documentation/Splunk/latest/admin/propsconf

props.conf
[mysourcetype]
DATETIME_CONFIG = CURRENT

rantravee
Path Finder

Worked for me. Thanks a bunch !

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...