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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...