Dashboards & Visualizations

How to react router nested route in Splunk ui toolkit

newnew20241018
Loves-to-Learn Lots

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 Lots

.

0 Karma

livehybrid
Influencer

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

0 Karma

newnew20241018
Loves-to-Learn Lots

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!

New This Month - Splunk Observability updates and improvements for faster ...

What’s New? This month, we’re delivering several enhancements across Splunk Observability Cloud for faster and ...

What's New in Splunk Cloud Platform 9.3.2411?

Hey Splunky People! We are excited to share the latest updates in Splunk Cloud Platform 9.3.2411. This release ...

Buttercup Games: Further Dashboarding Techniques (Part 6)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...