Getting Data In

Is there a way to search for the time elapsed as an event traverses between different source types?

luckyman80
Path Finder

Hi ALL,

So i'm working for a manufacturing company and have managed to index all logs (good Start). I have an order number (say Order X150) and when typing in Splunk, i can see all the different source types it traverses. As an example:

Sourcetype1 = Entry Node
Sourcetype2 = Processing Node
Sourcetype3 = Validation Node
Sourcetype4 = Delivery Node

I can see that the order route has 200 events and I want to analyze how long the order takes between each source type (sometimes the journey can go from sourcetype 4 to sourcetype 1 to check something then back to sourcetype4.

What's the best way of getting the latency between all the events in the journey, a kind of way so you can see the full routing history for a given order ? Thanks so much team!

0 Karma
1 Solution

493669
Super Champion

You can group events using the transaction command.

Refer to below docs about use of transaction command-

https://docs.splunk.com/Documentation/Splunk/7.1.2/SearchReference/Transaction

The transaction command adds two fields to the raw events, duration and eventcount. The values in the duration field show the difference between the timestamps for the first and last events in the transaction. The values in the eventcount field show the number of events in the transaction.

View solution in original post

0 Karma

493669
Super Champion

You can group events using the transaction command.

Refer to below docs about use of transaction command-

https://docs.splunk.com/Documentation/Splunk/7.1.2/SearchReference/Transaction

The transaction command adds two fields to the raw events, duration and eventcount. The values in the duration field show the difference between the timestamps for the first and last events in the transaction. The values in the eventcount field show the number of events in the transaction.

0 Karma
Get Updates on the Splunk Community!

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...