Splunk Search

addcoltotal name?

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

Champion

In this case, it would be

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

View solution in original post

Champion

In this case, it would be

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

View solution in original post

Influencer

You should write an answer and accept it

0 Karma

Champion

found it. Never mind....

0 Karma