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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...