Splunk Search

two lines merged in one

jmnicolino
New Member

Hi.

I have 2 events merged in one, they are the only two, the rest lines are perfectly shown. The interesting thing is that always the same hours appear there. 12:00:00 and 01:00:00

10/03/2010 12:00:00 AM,207.56920000000002,49.1489,103.25110000000001,52.4544,2.7146999999999997,5.0,5.0,5.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,5.0,0.0,0.0,0.0,0.0,0.0 10/03/2010 01:00:00 AM,219.39979999999997,106.60929999999999,71.8344,38.3043,2.6519000000000004,4.0,3.0,4.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,0.0,3.0,0.0,0.0,0.0,0.0,0.0

Those lines should be disappear as the rest of the rows contained in the given file.

Has Somebody an idea that what thing could be doing that????

Thanks a lot

0 Karma

Lowell
Super Champion

Please update your questions and include your props.conf entry. (Use the "edit" link beneath your question.)

Off the top of my head, do you have SHOULD_LINEMERGE = False. That should ensure that your events are only ever a single line.


Update:

If you already have line merging disabled, then I would additional suggest making sure that your using an explicit timestamp format. Use the comment provided below as a starting point, I would suggest the following props.conf entry:

[csv-alex]
CHECK_FOR_HEADER = True
REPORT-AutoHeader = transform-alex
KV_MODE = none
SHOULD_LINEMERGE = false 
TIME_FORMAT = %m/%d/%Y %I:%M:%S %p
TIME_PREFIX = ^

Lowell
Super Champion

Are you saying that you already had SHOULD_LINEMERGE as part of your settings and it still not working properly? If so, try adding an explicit TIME_FORMAT (see updated answer). Just to be clear, remember that any data indexed before making this change will not be effected my these changes. You will only see changes in newly indexed events (after a splunkd restart)

0 Karma

jmnicolino
New Member

That is the props.conf

[csv-alex]
CHECK_FOR_HEADER = True
REPORT-AutoHeader = transform-alex
KV_MODE = none
SHOULD_LINEMERGE = false

0 Karma
Get Updates on the Splunk Community!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...