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!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

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

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...