Splunk Search

How to get the total sum value and top 10 values in same timechart

vrmandadi
Builder

I am trying to get the top 10 users based on GB used in a timechart graph visualization and  also the the total GB used  for the whole day  (sum(gb) as gb)in the timechart... addcoltotals will give the total for the top 10 but I want the sum for the whole day of all users not just top 10 .How can I show in timechart sum of gb line along with the other timechart

 

| tstats count FROM datamodel=ab groupby user src dest gb _time
| fields *
| timechart sum(gb) as gb by dest limit=20 useother=f
| sort -gb
| head 20

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...