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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...