Dashboards & Visualizations

How to react router nested route in Splunk ui toolkit

newnew20241018
Loves-to-Learn Everything

Hi.

Can I react router nested route in Splunk ui toolkit ?

Overlapping routing with react-router results in an error page upon reload.

0 Karma

newnew20241018
Loves-to-Learn Everything

.

0 Karma

livehybrid
Super Champion

Are you using Splunk UI within a Splunk app. or are you building a standalone Splunk UI service?

0 Karma

newnew20241018
Loves-to-Learn Everything

Thank you for your response.

I'm using a standalone splunk ui toolkit service(https://splunkui.splunk.com/Toolkits).

It's linked within splunk app.

So splunk ui app folder is added in Splunk/etc/apps.

 

I added a page as using the npx splunk/create commend.

A page is main menu. and I wanna add sub menu. so I used react-router nested routing. but, This issue occurs When refreshing the page.

 

Can I make the sub-page with nested routing be recognized by the splunk as well?

Or should I use the method of creating pages for individual submenus as well?

 

I used routing because creating a new page takes a lot of time to load the page. 

0 Karma
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...