Splunk Search

How to see the sequence of logs

smahuja
Explorer

Hello,

 

Is there any way, I can check the sequence of logs. For example:

I have following list of msg

 1. "Message arrived!"  at 2020-06-22 17:19:28.032
 2. 
"Message Received" at2020-06-22 17:19:28.047
3. "Start import" at 2020-06-22 17:19:28.047
4. "Finished with number of records 123 " at 2020-06-22 17:19:28.215

I want to create chart if for these different messages and also the number of records.

Thanks,

Labels (4)
0 Karma

gcusello
SplunkTrust
SplunkTrust

hi @smahuja ,

Sorry I don't understand your need: do you want the number of events for each kind of message or to correlate the four messages and to know how many grouped events you have?

if the first, you have to extract the message field and use it in a stats count command.

If you want to correlate you have to use the transaction command.

Ciao.

Giuseppe

0 Karma

smahuja
Explorer

Thanks for the reply, I want to see how many times they came in a same sequence 

 

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...