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!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...