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.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

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