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!

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...