Splunk Search

How to display the average of each host for a particular search in a timechart?

pavanae
Builder

I have a search as follows

field_id="X" | eval b=len(_raw) | stats sum(b) as b | eval gb=round(b/1024/1024/1024,2) | eventstats avg(gb) as Avg

Which displays the average gb per each day for that particular search.

Now, how can I make to display average of each host for that particular search in a timechart?

0 Karma
1 Solution

gokadroid
Motivator

If host is already a field then


yourBaseSearch
| timechart max(Avg) by host

View solution in original post

0 Karma

gokadroid
Motivator

If host is already a field then


yourBaseSearch
| timechart max(Avg) by host

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...