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

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...