Dashboards & Visualizations

Create visualization based on runtime

rgjnnc
New Member

Hi ,

I want to create visualization based on process run time log field is "TotalExecutionTimeInSeconds":4129. I have to create chart based on this value. Please help me.

0 Karma

to4kawa
Ultra Champion
your search
| rex "(?<json>{.*)"
| spath input=json
| timechart avg(TotalExecutionTimeInSeconds) as RunTime by processName
0 Karma

richgalloway
SplunkTrust
SplunkTrust

More information would be helpful, but you can start with ... | timechart avg(TotalExecutionTimeInSeconds) as RunTime by processName.

---
If this reply helps you, Karma would be appreciated.
0 Karma

rgjnnc
New Member

Hi Thanks for reply

My logs looks as below.

06:07:14.9408 Info {"message":"Fin_EDI_Invoice_Processing_16A_PRODUCTION execution ended","level":"Information","logType":"Default","timeStamp":"2020-02-18T06:07:14.9408136-06:00","fingerprint":"f9308a3f-8b47-48fc-83b6-56c84eb434c3","windowsIdentity":"POLARISIND\svcrpa01","machineName":"VPCRPAPRDBOT1","processName":"Fin_EDI_Invoice_Processing_16A_PRODUCTION","processVersion":"1.0.7342.7934","jobId":"01ac06d8-fdf9-4961-93eb-6b9ccb38b98d","robotName":"Prod Bot 1","machineId":1,"totalExecutionTimeInSeconds":4929,"totalExecutionTime":"01:22:09","fileName":"Main"}

I want create vissualization based totalExecutionTimeInSeconds for diffrent runs of this process.

0 Karma
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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...