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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Data Persistence in the OpenTelemetry Collector

This blog post is part of an ongoing series on OpenTelemetry. What happens if the OpenTelemetry collector ...

Introducing Splunk 10.0: Smarter, Faster, and More Powerful Than Ever

Now On Demand Whether you're managing complex deployments or looking to future-proof your data ...

Community Content Calendar, September edition

Welcome to another insightful post from our Community Content Calendar! We're thrilled to continue bringing ...