Splunk Search

How to display a table row that expands with more than one level?

splunkrocks2014
Communicator

I wonder if Splunk is able to display a table statistic with the following layout. Does anyone know? Thanks

Category                                  Findings
=======                                   ========
OS                                        100
     Windows                              50
          Browser                         50
             IE                           10
             Chrome                       40
     UNIX                                 50
Total                                     100
0 Karma

jpolcari
Communicator

Yes, you can. If you use addtotals you are able to specify a totals row. You would want to use something like:

| rest of search | table Category Findings | addtotals row=f col=t labelfield=Category Findings
0 Karma

splunkrocks2014
Communicator

Hi jpolcari, my bad, I didn't describe properly. The "category" is a makeup field. OS and Browser are the field names. If put them into a table, it looks like the following:

OS                            Browser                       Findings
=====                      ===========              ============
Windows                 IE                                   finding_01
Windows                 IE                                   finding_02
Windows                 Chrome                        finding_03
UNIX                                                               finding_04
...
0 Karma
Get Updates on the Splunk Community!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...