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!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...