All Apps and Add-ons

Two Types of calls in Visualization

skoelpin
SplunkTrust
SplunkTrust

I have 2 different events which have 'CalculateTax' and 'DeliverySchedule'. The CalculateTax event appears ~ 7,000 times daily while DeliverySchedule appears about ~3,000 times daily. I want to create a visualization (pie chart) to see the distribution between the 2 calls. The problem I'm facing is that I can only get 1 type to appear in the visualization. It is summing both CalculateTax and DeliverySchedule into one and showing the results. How do I break them up and have a color coded legend associated with each call?

My Query:

index=uv "CalculateTax*" AND "getdelivery*" | transaction maxevents=2 startswith="*Request" endswith="*Response" | timechart count

0 Karma
1 Solution

skoelpin
SplunkTrust
SplunkTrust

I ended up writing a regex to capture the calls (delivery schedule and calculate tax) and piped it to the TOP command. This gave me the distribution of calls I was looking for

My Query:

index=uv Calls="*" | top Calls

View solution in original post

0 Karma

skoelpin
SplunkTrust
SplunkTrust

I ended up writing a regex to capture the calls (delivery schedule and calculate tax) and piped it to the TOP command. This gave me the distribution of calls I was looking for

My Query:

index=uv Calls="*" | top Calls

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...