Splunk Search

addcoltotal name?

a212830
Champion

Hi,

I have a table that gives me connections, and I want to show those connections, plus a total. The search works, but how do I get a name for the total row?

The output looks like this:

HOST: CONNECTIONS:

ServerA 100
ServerB 50
ServerC 50
200

How do I get some text to appear under ServerC?

Tags (2)
0 Karma
1 Solution

a212830
Champion

In this case, it would be

|addcoltotals labelfield=HOST label="Total Server Connections"

View solution in original post

a212830
Champion

In this case, it would be

|addcoltotals labelfield=HOST label="Total Server Connections"

jonuwz
Influencer

You should write an answer and accept it

0 Karma

a212830
Champion

found it. Never mind....

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 ...