Splunk Search

time chart to show the number of widgets manufactured per reporting period

jhuysing
Explorer

Have a log with related event
One event has the number widgets made in the period and another event has the actual time taken to make the widgets in that period.

i can do a search and get a time chart of number of widgets and time used . But, what I want is a timechart  of the  actualtime/number of widgets  made..

How do i construct  a search to do that.

Labels (2)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

This? - Update your field names as necessary

search events
| timechart sum(number_of_widgets) as widget_count sum(creation_time) as creation_time 

 

0 Karma
Get Updates on the Splunk Community!

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...

Take Your Breath Away with Splunk Risk-Based Alerting (RBA)

WATCH NOW!The Splunk Guide to Risk-Based Alerting is here to empower your SOC like never before. Join Haylee ...