Splunk Search

timeline chart

Rkp_splunk
Engager

Hi 

I have got this log where it shows how much time it takes to load investor page in millisecond(ms)

2021-09-15 13:40:12,005 {c0cf807e-ee8b-4bd7-bf10-b586302ce001} XYZ/Online/0659251190 END [/investor/load.htm] (5498) - 3312ms

 

I want to create a timeline chart to show how string "END [/investor/load.htm]" takes time to load at different period. I have got timepicker so I can get but how to show timeline for this string.

SPL like

index=prd_applog OR index=prd_middleware) appid::a0061f sourcetype="btsfl:bti:audit"| search "END [/investor/load.htm]" | timechart span=1m  <then something to be added here like regex to give that timeline>

 

Thanks

 

Labels (1)
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Extract the load time into a field then let timechart graph it.

index=prd_applog OR index=prd_middleware) appid::a0061f sourcetype="btsfl:bti:audit" "END [/investor/load.htm]" 
| rex "- (?<loadTime>\d+)ms"
| timechart span=1m max(loadTime) as MaxLoadTime
---
If this reply helps you, Karma would be appreciated.

View solution in original post

richgalloway
SplunkTrust
SplunkTrust

Extract the load time into a field then let timechart graph it.

index=prd_applog OR index=prd_middleware) appid::a0061f sourcetype="btsfl:bti:audit" "END [/investor/load.htm]" 
| rex "- (?<loadTime>\d+)ms"
| timechart span=1m max(loadTime) as MaxLoadTime
---
If this reply helps you, Karma would be appreciated.
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Request for Professional Development: Attending .conf26

Winning Over the Boss: Your Pass to .conf26 conf26 is going to be here before you know it. If don't already ...