Splunk Search

Multivalue Chart

rahulbhatt04
Engager

I have to write a time chart in a day how many different event value happened.

[- logToABTest() response ABTestLog [uniqueId:123, abTestName:null, experience:null, eventName:State:, eventValue:funding_source]

[- logToABTest() response ABTestLog [uniqueId:123, abTestName:null, experience:null, eventName:State:, eventValue:first_page]

Tags (2)
1 Solution

lguinn2
Legend

This doesn't really seem to be a question, but let me try to answer it anyway.

yoursearchhere
| rex "eventValue:(?<eventValue>.*)\]"
| timechart count by eventValue

This assumes that you do not already have a field named eventValue. If you do have the field, you can leave off the second line.

View solution in original post

lguinn2
Legend

This doesn't really seem to be a question, but let me try to answer it anyway.

yoursearchhere
| rex "eventValue:(?<eventValue>.*)\]"
| timechart count by eventValue

This assumes that you do not already have a field named eventValue. If you do have the field, you can leave off the second line.

Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...