Splunk Search

How do I consolidate the values returned from a database query into a single entry?

edpeyregne
New Member

I am running search against a database that includes a username and ticket count (from our ticketing system). When the results come back, I have one user who is listed with multiple iterations of their name. For example:

Username Count
John Q User 5
John Quser 3
John User 6

These are all the same user, so I would like to combine the names into a single entry (as "John Q User"), and combine the counts for each entry to reflect (from the above example) the total count of 14.

Any help would be very much appreciated.

Tags (2)
0 Karma

edpeyregne
New Member

I finally found this in another post"

http://answers.splunk.com/answers/61646/combining-multivalues-together-inside-a-field.html

Thanks for the response Rich!

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Is there another field (like email address) available from the database that would link common entries?

---
If this reply helps you, Karma would be appreciated.
0 Karma

edpeyregne
New Member

Unfortunately, no.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...