Splunk Search

How to concatenate results from the same field?

praspai
Path Finder

Hi,

I want to concatenate results from same field into string. How can I do that?

e..g

|inputlookup user.csv| table User 

User 
------------
User 1
User 2
User 3

Users = User 1+User2+User3
0 Karma
1 Solution

kamlesh_vaghela
SplunkTrust
SplunkTrust

@praspai

Can you please try this?

|inputlookup user.csv| stats values(User) as Users | nomv Users

View solution in original post

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@praspai

Can you please try this?

|inputlookup user.csv| stats values(User) as Users | nomv Users
0 Karma

praspai
Path Finder

Thanks. It works.

0 Karma

kamlesh_vaghela
SplunkTrust
SplunkTrust

@praspai
Glad to help you.
Can you please accept this answer?

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...