Getting Data In

at index time, merge multiple lines with the same timestamp

psaminadin
New Member

Hi there

  • our customer have a custom app we cannot modify
  • for each unique event, the app send a log with 2 or 3 lines
  • each line have the same timestamp
  • and nothing else is common (no "event id")

The result of default indexation :
- for each line splunk sees a different event

The result the customer is expecting :
- one event that merge all the lines with same timestamp

we are looking for a way to merge lines based on timestamp at index time

Someone got a recipe ?

Best regards

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi psaminadin,
to merge events at indextime, you have to find a way to know when an event breaks.
Anyway, you can display events all together at search time using transaction (I don't like this solution) or stats command.

If you could share some example and the results you expect, it could be possible to help you.

Bye.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

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

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...

4 Ways the Splunk Community Helps You Prepare for .conf25

.conf25 is right around the corner, and whether you’re a first-time attendee or a seasoned Splunker, the ...