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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...