Getting Data In

Splunk extracting a single event into 4 separate logs

nathanluke86
Communicator

Currently using a UF to forward logs to Splunk.

Each .log file in the directory is 1 event but Splunk is separating each event into 4 separate logs.

I have added a custom app on the search head with a props.conf file as follows:

[RMAN]
SHOULD_LINEMERGE = false
LINE_BREAKER = ((*FAIL))
TRUNCATE = 99999999

Restarted Splunk but events are still separated into 4 events.

Anyone have any idea how to fix this.

TIA

Labels (3)
0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @nathanluke86,

Since you see 4 events, it is not TRUNCATE problem. LINE_BREAKER may not be enough, most probably the problem is TIME_PREFIX.

You should add TIME_PREFIX and TIME_FORMAT into your props.conf at indexers. If there is no TIME inside the event, you can use DATETIME_CONFIG = CURRENT

If this reply helps you an upvote and "Accept as Solution" is appreciated.
0 Karma

richgalloway
SplunkTrust
SplunkTrust

To know whether the props.conf settings are correct requires some sample data.  Please share the same.

Props.conf settings for line breaking events must be installed on the indexer(s) rather than the search heads (unless you have a standalone installation).

---
If this reply helps you, Karma would be appreciated.
Get Updates on the Splunk Community!

Enhance Your Splunk App Development: New Tools & Support

UCC FrameworkAdd-on Builder has been around for quite some time. It helps build Splunk apps faster, but it ...

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

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