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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...