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

Wondering How to Build Resiliency in the Cloud?

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

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...