Dashboards & Visualizations

help me with error in XML for a dashboard

sravankaripe
Communicator

while i am trying to update
<a target="_blank" href="/app/search/user_details_v2?form.field4.earliest=-4h%40m&form.field4.latest=now&form.field3=&earliest=0&latest=">Get User Details</a>

in the below Xml i am getting error as

Encountered the following error while trying to update: In handler 'views': Error parsing XML on line 50: EntityRef: expecting ';'

<row>





    <table style="width:30%">
              <td>
        <a href="/app/search/user_details_v2?form.field4.earliest=-4h%40m&form.field4.latest=now&form.field3=&earliest=0&latest="  target="_blank">Get User Details</a>
        </td>
    </table>
    </body>
    </html>
</panel>

</row>

please help me to resolve this.

0 Karma
1 Solution

gcusello
SplunkTrust
SplunkTrust

Hi sravankaripe,
where you have & put &amp;
Bye.
Giuseppe

View solution in original post

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi sravankaripe,
where you have & put &amp;
Bye.
Giuseppe

0 Karma

woodcock
Esteemed Legend

You can also solve this with CDATA.

0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...