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!

Cultivate Your Career Growth with Fresh Splunk Training

Growth doesn’t just happen—it’s nurtured. Like tending a garden, developing your Splunk skills takes the right ...

Introducing a Smarter Way to Discover Apps on Splunkbase

We’re excited to announce the launch of a foundational enhancement to Splunkbase: App Tiering.  Because we’ve ...

How to Send Splunk Observability Alerts to Webex teams in Minutes

As a Developer Evangelist at Splunk, my team and I are constantly tinkering with technology to explore its ...