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
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!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...