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
SplunkTrust
SplunkTrust

add this to your search

 | eval new_field=field1." / ".field_2

View solution in original post

starcher
SplunkTrust
SplunkTrust

add this to your search

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

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...