Dashboards & Visualizations

Dynamically Changing the Content / Chart in the panel

rakesh_498115
Motivator

Hi

I have a created a panel ..I need to change the contents of the panel basing on the user's selection . how can i do that ? . ie In the same panel the content of of display (chart to be displayed ) should change dynamically.

Thanks

Tags (2)
0 Karma
1 Solution

OL
Communicator

Hi,

Not sure that I fully understand your question, but I will try to give an answer.

  1. Possible answer: What you might need is to create simple form (http://docs.splunk.com/Documentation/Splunk/latest/Developer/Step1CreateAForm). With a drop down, you can change the content of the whole page. You can use the advanced XML as well if you are looking for more complex stuff, but I would suggest to stick with simplified XML if you are a beginner.
  2. Other possible answer: If you mean, when you click on a graph, it changes the content of another graph, you might need to use the customise drilldown option (http://docs.splunk.com/Documentation/Splunk/latest/Developer/TableChartDrilldown). This is much more complex but does really nice stuff.

Feel free to use available example apps such as http://splunk-base.splunk.com/apps/22333/splunk-ui-examples-app-for-41 to see what you can do, then have a look at the source xml to understand how it has been done.

Hope this helps.

Regards,
Olivier

View solution in original post

john
Communicator

Hi rakesh,

My suggestion is try to use ConditionalSwitcher module.Using this module you could able to switch your dashboard panels on user input.

0 Karma

OL
Communicator

Hi,

Not sure that I fully understand your question, but I will try to give an answer.

  1. Possible answer: What you might need is to create simple form (http://docs.splunk.com/Documentation/Splunk/latest/Developer/Step1CreateAForm). With a drop down, you can change the content of the whole page. You can use the advanced XML as well if you are looking for more complex stuff, but I would suggest to stick with simplified XML if you are a beginner.
  2. Other possible answer: If you mean, when you click on a graph, it changes the content of another graph, you might need to use the customise drilldown option (http://docs.splunk.com/Documentation/Splunk/latest/Developer/TableChartDrilldown). This is much more complex but does really nice stuff.

Feel free to use available example apps such as http://splunk-base.splunk.com/apps/22333/splunk-ui-examples-app-for-41 to see what you can do, then have a look at the source xml to understand how it has been done.

Hope this helps.

Regards,
Olivier

Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...