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!

Why You Can't Miss .conf25: Unleashing the Power of Agentic AI with Splunk & Cisco

The Defining Technology Movement of Our Lifetime The advent of agentic AI is arguably the defining technology ...

Deep Dive into Federated Analytics: Unlocking the Full Power of Your Security Data

In today’s complex digital landscape, security teams face increasing pressure to protect sprawling data across ...

Your summer travels continue with new course releases

Summer in the Northern hemisphere is in full swing, and is often a time to travel and explore. If your summer ...