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!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

Stay Connected: Your Guide to October Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...