Dashboards & Visualizations

how to add hyperlink to column value in table with an url provided by another event and colour quote depending on status

deruvara
Explorer

deruvara_0-1638464368203.png

 

above ones is the talbe and query for the same is index="wtqlty" source=pdf-fc-002-rh sourcetype="release_pdf_results_json" |table pdf_name pdf_url pdf_state

please help

Labels (2)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust
        <drilldown>
          <condition field="pdf_url">
            <link target="_blank">$click.value2|n$</link>
          </condition>
        </drilldown>

View solution in original post

johnhuang
Motivator

For color formatting:

<format type="color" field="pdf_state">
<colorPalette type="expression">case (like(value,"accepted"), "#037FFC", like(value,"denied"), "#FC030F", like(value,"pending"), "#FFFF00")</colorPalette>
</format>

deruvara
Explorer

this worked.thank you

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
        <drilldown>
          <condition field="pdf_url">
            <link target="_blank">$click.value2|n$</link>
          </condition>
        </drilldown>
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...