Dashboards & Visualizations

How to create a Stacked Bar Chart for the category of month and week together?

Bbyers3
New Member

So I have a question on how to report on multiple Categories.
I want it so the Graph has like below. In my table, I have the fields

Month ( 1 through 12)
Week (1 through 52)
platform (Virtual / Physical)

::: = Physical
--- = Virtual

Jan: Week1 (::::::::::::::::::::::::::::)(----------------------)
: Week2 (::::::::::::::::::::)(---------------------)
: Week3 (:::::::::::::::::::::::::::::::::::)(----)
: Week4 (:::::::::::::::::::::::::::::::::::::::)(-----------------------)

I am using this search below, and it works perfectly for either Week or Month but not both.

| dbxquery query="SELECT * FROM \"ESAO\".\"dbo\".\"CST.provisioning\" where Year = Year(GETDATE())" connection="ESAO_DB" | chart count Over Week by platform
0 Karma

P_vandereerden
Splunk Employee
Splunk Employee

Better late than never:

This needs more information on what you consider month and week boundaries. Does "January, Week 1" mean the first 7 days of January, January 1st to the last day of the week (e.g. Saturday), or the Sunday before January 1st, to the following Saturday?

When you say by week and month together, do you just want a label for the month in front of the 52 weeks?  

Paul van der Eerden,
Breaking software for over 20 years.
0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...