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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...