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!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...