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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...