Splunk Search

Passing 2 values Drilldown

behymejt2012
Path Finder

Hi Everyone,

While using Simple XML, I am able to easily pass a value from a table row or from an actual form. The problem I have is when I try and pass 2 values through the drill down link, here is what I am trying to do:

www.example.com?row.Type=$click.value$ form.example1=$form.example1$

The values pass through to the new form, but its all combined together and cannot collect the unique values. I am not sure if I need to add an & symbol between the two values to properly separate them.

Tags (2)
0 Karma

LukeMurphey
Champion

I think you may just missing an amperstand between $click.value$ and form.example1:

<link>www.example.com?row.Type=$click.value$&amp;form.example1=$form.example1$</link>

Make sure to use the XML entity for the amperstand (and other enitities) or use a CDATA block:

<link><![CDATA[www.example.com?row.Type=$click.value$&form.example1=$form.example1$]]></link>

LukeMurphey
Champion

Try using the entity name: http://www.w3schools.com/tags/ref_entities.asp

I'll update the answer accordingly.

0 Karma

behymejt2012
Path Finder

Thanks for the response, the problem is that you cannot add an amperstand in the xml. It throws the following error:

"Encountered the following error while trying to update: In handler 'views': Error parsing XML on line 27: xmlParseEntityRef: no name"

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Data Management Digest – August 2026

MichelleCorpora_1-1788182384472.png Welcome to the August 2026 edition of Data Management Digest! August was a ...

Your Feedback. Our Roadmap. Visit the PX Feedback Booth at .conf26

You use Splunk every day, come and help shape what's next.  Save Your Seat: Product-Focused Sessions at ...

Agentic SOC Triage: Investigating Splunk ES Notables with MCP Server and a Local LLM

The Problem: Too Many Alerts, Too Little Context Security operations teams running Splunk Enterprise Security ...