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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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