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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...