Splunk Search

Combining two fields into one field

psomeshwar
Path Finder

I currently have two different fields

Host                     Domain

F32432KL34    domain.com

I wish to combine these into one field that shows the following:

F32432KL34@domain.com

How would you suggest going about this?

Labels (4)
0 Karma
1 Solution

isoutamo
SplunkTrust
SplunkTrust

Small fix

| eval MyNewField=Host+"@"+Domain

 

View solution in original post

burwell
SplunkTrust
SplunkTrust

How about

| eval MyNewField=Host+Domain

isoutamo
SplunkTrust
SplunkTrust

Small fix

| eval MyNewField=Host+"@"+Domain

 

burwell
SplunkTrust
SplunkTrust

Thanks @isoutamo 

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...