Splunk Enterprise Security

How can I merge multiple fields per event and separate them using a delimiter, but keep each event separate in my table/stats results?

lars312
Engager
EXAMPLE TABLE/STATS:

field_1     field_2
012         blah1
345         blah2
ABC         blah3
678         blah4    


DESIRED OUTPUT:

new_field
012 / blah1
345 / blah2
ABC / blah3
678 / blah4
0 Karma
1 Solution

starcher
Influencer

add this to your search

 | eval new_field=field1." / ".field_2

View solution in original post

starcher
Influencer

add this to your search

 | eval new_field=field1." / ".field_2
Get Updates on the Splunk Community!

Splunk Enterprise Security(ES) 7.3 is approaching the end of support. Get ready for ...

Hi friends!    At Splunk, your product success is our top priority. With Enterprise Security (ES), we're here ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...