Splunk Search

How to create a table using dedup to show one entry for each application name and create a multivalue field?

stuart338
New Member

I have events that include an application name field and a uservalue field.

When i table the data by application and uservalue, i see each event individually thus meaning i get multiple pages of events with the same application name.

How can I have one entry for each application name and a multivalue field showing the uservalues?

EG: go from

application uservalue
app1            123456
app1            234567
app1            345678
app2            987654
app2            876543
app2            765432

and get :

application uservalue
app1          123456
              234567
              345678
app2          987654
              876543
              765432

It's probably something really easy, but I've stepped away from Splunk for awhile and forget even the easy stuff.

Thanks

0 Karma
1 Solution

dmaislin_splunk
Splunk Employee
Splunk Employee
source="Workbook1.csv" sourcetype="csv" | stats list(uservalue) as UserValue by application

alt text

View solution in original post

dmaislin_splunk
Splunk Employee
Splunk Employee
source="Workbook1.csv" sourcetype="csv" | stats list(uservalue) as UserValue by application

alt text

stuart338
New Member

See, i knew it was easy.. Thanks.

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...