Getting Data In

Log that has wildly different times, but Splunk thinks it is a single event

benchen421
New Member

It recognizes the datetime correctly based on the first line, but it seems to randomly be grouping up lines.

Example log that has wildly different times, but Splunk thinks is a single event

[INFO][DesDycrptor][20170911-19:55:46.798] Decrypting file: equity_option_open_uf.dif.gz.enc.20170911
[INFO][DesDycrptor][20170911-19:55:46.800] Unzipping file: equity_option_open_uf.dif.gz
[INFO][S3Client][20170911-19:55:46.803] Copying file: /tmp/###############-7351797381042467611/equity_option_open_uf.dif to s3 bucket: ###################### key: ##########/#######/2017/09/11/equity_option_open_uf.dif.20170911.
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi benchen421,
Could you share your props.conf file?
Anyway, in props.conf you should have one of the following configurations:

[your_sourcetype]
SHOULD_LINEMERGE = false
TIME_FORMAT = %Y%m%d-%H:%M:%S.%3N
TIME_PREFIX = \[\w+\]\[\w+\]\[
MAX_TIMESTAMP_LOOKAHEAD = 21

[your_sourcetype]
SHOULD_LINEMERGE = true
LINE_BREAKER = \[\w+\]\[\w+\]
TIME_FORMAT = %Y%m%d-%H:%M:%S.%3N
TIME_PREFIX = \[\w+\]\[\w+\]\[
MAX_TIMESTAMP_LOOKAHEAD = 21

Bye.
Giuseppe

0 Karma

DalJeanis
Legend

@benchen421 - Please post the relevant .conf stanzas

0 Karma

benchen421
New Member

Hi! Apologies, I should've been clearer. This is an initial POC build and it was all stock configs

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...