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!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...