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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...