Dashboards & Visualizations

How to create a dashboard with multiple charts from one statistics table of results?

Path Finder

I wrote a search that ends up comparing two cohorts of customers with summary statistics: conversion rate, bounce rate, % that use site search, etc.....

I'd like to create a dashboard that creates a chart element for each of these summary statistics without rerunning the data. How should I do this?


Here's an example of my search

| transaction session_id mvlist=f keepevicted=t
| eval didco = if(match(url, "/checkout/order"), 1, 0 )
| eval didsearch = if(isnotnull(searchphrase), 1, 0)

| eval didatc = if(match(action, "Add To Cart"), 1, if(match(action, "Add%20To%20Cart"), 1, 0) )
| eval didbounce = if(match(eventcount, "1"), 1, 0)
| eval didbasket = if(match(url, "/checkout/basket*"), 1, 0)
| stats sum(didbounce) as bounce, sum(didco) as cr , count as sessions , dc(session_id) as visitors , sum(didsearch) as sr, sum(didatc) as atc , sum(didbasket) as sawbasket by experienceId | eval conv_rate = cr/sessions
| eval sr_rate = sr/sessions
| eval atc_rate = atc/sessions
| eval bounce_rate = bounce/sessions
| eval basket_abandon = (1 - cr/sawbasket)

The results come back as a 2 row table for the two "experienceIds" showing all of these metrics: bounce, cr, sessions, visitors, sr, atc, sawbasket, atc_rate, basket_abandon, .....

I'd like to make a dashboard that has a side by side view for each of those metrics. So one dashboard element will compare atc_rate and have experience 1 and experience 2. Another element will have conv_rate compared for the two experiences.

I know it would be silly to run this search each time for these, so I want to pull all the numbers from this search / report that will run every few hours.

0 Karma

Esteemed Legend

I have no idea what you mean. Post sample data and desired (mocked up) output.

0 Karma

Path Finder

ok, i updated my question with the search query I'm using.

0 Karma

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...