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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...