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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...