Getting Data In

How to configure props.conf to merge two events into one?

dperry
Communicator

I have a text file as shown below:

(raw text file)

cn=host1:1636,cn=host2:1389,ibm-replicaGroup=default,O=org1
ibm-replicationPendingChangeCount=0              
cn=host1:1636,cn=host2:1389,ibm-replicaGroup=default,CN=cn1
ibm-replicationPendingChangeCount=0              
Current Date and Time = Mon Jun 29 20:45:00 PDT 2015

When it comes into Splunk it, breaks into two events as shown:

6/29/15  8:50:00.000 PM  Current Date and Time = Mon Jun 29 20:50:00 PDT 2015

6/29/15  8:50:00.000 PM  cn=host1:1636,cn=host2:1389,ibm-replicaGroup=default,O=org1
ibm-replicationPendingChangeCount=0              
cn=host1:1636,cn=host2:1389,ibm-replicaGroup=default,CN=cn1
ibm-replicationPendingChangeCount=0     

How do I make this one event like this:

6/29/15  8:50:00.000 PM  cn=host1:1636,cn=host2:1389,ibm-replicaGroup=default,O=org1
ibm-replicationPendingChangeCount=0              
cn=host1:1636,cn=host2:1389,ibm-replicaGroup=default,CN=cn1
ibm-replicationPendingChangeCount=0              
Current Date and Time = Mon Jun 29 20:45:00 PDT 2015

What would be the correct props.conf stanza? Please help.

0 Karma
1 Solution

dperry
Communicator

MAX_TIMESTAMP_LOOKAHEAD=325
SHOULD_LINEMERGE=true
BREAK_ONLY_BEFORE=org1
NO_BINARY_CHECK=true

View solution in original post

dperry
Communicator

MAX_TIMESTAMP_LOOKAHEAD=325
SHOULD_LINEMERGE=true
BREAK_ONLY_BEFORE=org1
NO_BINARY_CHECK=true

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...