Getting Data In

Exception: The following XML navigation configuration for this app is invalid: xmlParseEntityRef: no name, line 6, column 34

Dan
Splunk Employee
Splunk Employee

What does this mean? My /nav/default.xml looks like:

<nav>
    <view name="Introduction" default="true"/>
    <collection label="AU (Audit & Accountability)">
        <view source="all" match="AC - "/>
    </collection>
</nav>
Tags (1)
1 Solution

Dan
Splunk Employee
Splunk Employee

Its a generic error, but the culprit is that you need to escape the & character - in xml it is &amp;

Also remember that match is the name of the xml file, not the label. But if you don't get the match right, the menu just won't appear in the nav and no error will be issued.

Lastly, when troubleshooting the nav it helps to use the endpoint:

https://localhost:8089/servicesNS/admin/<app name>/data/ui/nav?refresh=1

View solution in original post

Dan
Splunk Employee
Splunk Employee

Its a generic error, but the culprit is that you need to escape the & character - in xml it is &amp;

Also remember that match is the name of the xml file, not the label. But if you don't get the match right, the menu just won't appear in the nav and no error will be issued.

Lastly, when troubleshooting the nav it helps to use the endpoint:

https://localhost:8089/servicesNS/admin/<app name>/data/ui/nav?refresh=1
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...