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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...