Splunk Search

Merge 3 Splunk field into 1?

POR160893
Builder

Hi,

I am trying to concatenate 3 fields into 1 field but I am unable to do so.

I tried:

POR160893_0-1665051787383.png


and this:

POR160893_1-1665051840074.png

Can someone help? There should be a single column of emails with 1 email per row.

Thanks!

Labels (3)
0 Karma
1 Solution

POR160893
Builder

Solved:

|table Reply_to_Email_Address, Return_Path_Email_Address, From_Email_Address
|eval Spoofed = mvappend(Reply_to_Email_Address, Return_Path_Email_Address, From_Email_Address )
| mvexpand Spoofed
|table Spoofed
|dedup Spoofed

 
 

View solution in original post

0 Karma

POR160893
Builder

Solved:

|table Reply_to_Email_Address, Return_Path_Email_Address, From_Email_Address
|eval Spoofed = mvappend(Reply_to_Email_Address, Return_Path_Email_Address, From_Email_Address )
| mvexpand Spoofed
|table Spoofed
|dedup Spoofed

 
 
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

use mvexpand newField in the first search

0 Karma

POR160893
Builder

I am still getting 3 emails per a single row ...

POR160893_0-1665052972057.png

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

The first search used mvappend - add mvexpand to that search (not a different search with mvzip!)

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Rethinking Zero Trust: From Product Purchases to Logical Control Evidence

Implementing Zero Trust (ZT) across complex environments often falters at the very beginning due to a ...

Preparing your Splunk Environment for OpenSSL3

The Splunk platform will transition to OpenSSL version 3 in a future release. Actions are required to prepare ...

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...