Dashboards & Visualizations

Prepare table for stacked barchart

krishman23
Explorer

Im planning to prepare a stacked barchart,

My current table looks like this

ID       |     Request      |       Response

---------------------------------------------

1       |    Req1             |  Success1

2       |    Req1             |  Success32

3       |    Req1             | 

4       |    Req2             |  Success41

5       |    Req2             |  Success21

6       |    Req2             |

7       |    Req2             |  Success22

I need to stack Total Req1 - 3, Req2-4 .... vs Successful response  for Req1 -2 (i.e. Success1,Success32 ) and for Req2 - 3 (Success41,Success21,Success22)

in table form

Req     | Total    |  Success

---------------------------------

Req1  | 3        | 2

Req2 |  4      | 3         

Labels (1)
Tags (2)

ITWhisperer
SplunkTrust
SplunkTrust
| stats count as Total count(eval(like(resp,"Success%"))) as Success by Req
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

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

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 GA in US-AWS!

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