Splunk Enterprise

Cannot break event by log from syslog

riposans
Explorer

Dear Everyone

can help me for this, i have log from syslog but cannot break event by lines.

{"@timestamp":"2000-01-21T00:58:39.372418529Z","event":{},"@version":"1","type":"prod","filtered_message":"[ABC]|Type=ABC|logDate=2000-01-21 00:58:39|ABC1=ABC2|ABC12=ABC23|ABC34=ABC35|ABC45=ABC46"}{"@timestamp":"2000-02-21T00:58:39.372418529Z","event":{},"@version":"1","type":"prod","filtered_message":"[ABC]|Type=ABC|logDate=2000-02-21 00:58:39|ABC1=ABC5|ABC13=ABC24|ABC35=ABC36|ABC46=ABC47"}

 

i need break this log from props.conf, i already used this:

[ABC]

LINE_BREAKER = ([\r\n]+)
SHOULD_LINEMERGE = false

 

but not works, please tell me how to extract event log by lines

Labels (2)
Tags (1)
0 Karma

tscroggins
Influencer

Hi @riposans,

The text doesn't appear to be syslog (see RFC 3164 and RFC 5424). Is this a raw TCP or UDP stream? You may want to try:

[ABC]
SHOULD_LINEMERGE = false
LINE_BREAKER = ()\{"@timestamp"
TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%9Q%Z
TIME_PREFIX = {"@timestamp":"
MAX_TIMESTAMP_LOOKAHEAD = 30
# for events IN THE YEAR 2000 (thanks, Conan!)
MAX_DAYS_AGO = 10000

 

0 Karma
Get Updates on the Splunk Community!

Index This | When is October more than just the tenth month?

October 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What’s New & Next in Splunk SOAR

 Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us for an ...