Splunk Search

using 'values' in stats shows values merged

beriwalnishant
Path Finder

Hello Experts,

 

I was wondering if you can help me figure out how do I show the merged values in a field as 'unmerged' when use 'values' in stats command

beriwalnishant_0-1700457913149.png

 

(DETAILS_SVC_ERROR) and (FARE/PRCNG/AVL-MULT. RSNS) are different values .... coming as merged as an example, its merging all values in one when used "Values" OR "List" how to unmerge same

If I use 'mvexpand' it then expands to single count even if the values are same

 

Thanks in advance

Nishant

Labels (3)
Tags (3)
0 Karma

PickleRick
SplunkTrust
SplunkTrust

Well, this is how it's supposed to work. list() or values() gives you a multivalued field with a list of values.

If you need something else, you need to do something else.

0 Karma

beriwalnishant
Path Finder

But then I dont get the individual Totals if I do that along with the message.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Perhaps it would be better for you to show what it is that you do want?

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

You are correct, mvexpand of a values() or list() field will duplicate the event. If you want to count by ErrorCode separately, include ErrorCode in your by clause of the stats command.

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

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...