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

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...