Splunk Search

transaction function and deduping mv values

mschellhouse
Path Finder

Is there an efficient way to mvdedup on all fields at once? Result is from transaction. Rather not convert to stats if don't have too.

0 Karma
1 Solution

elliotproebstel
Champion

The usual way to apply a function across multiple fields at once is to use foreach. Does this give you what you're looking for?

your current search using transaction 
| foreach * 
 [ | eval <<FIELD>>=mvdedup('<<FIELD>>') ]

View solution in original post

0 Karma

elliotproebstel
Champion

The usual way to apply a function across multiple fields at once is to use foreach. Does this give you what you're looking for?

your current search using transaction 
| foreach * 
 [ | eval <<FIELD>>=mvdedup('<<FIELD>>') ]
0 Karma

somesoni2
Revered Legend

mschellhouse
Path Finder

thank you!

0 Karma
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...