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
Get Updates on the Splunk Community!

The OpenTelemetry Certified Associate (OTCA) Exam

What’s this OTCA exam? The Linux Foundation offers the OpenTelemetry Certified Associate (OTCA) credential to ...

From Manual to Agentic: Level Up Your SOC at Cisco Live

Welcome to the Era of the Agentic SOC   Are you tired of being a manual alert responder? The security ...

Splunk Classroom Chronicles: Training Tales and Testimonials (Episode 4)

Welcome back to Splunk Classroom Chronicles, our ongoing series where we shine a light on what really happens ...