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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...