Splunk Search

外部リンクをクリックし、外部リンクに直接ジャンプすることは可能でしょうか?

goji
Path Finder

Webアクセスのデータの中にURL Link情報(例えばreferer)データの中に、例えば、www.splunk.comという文字があったとします。
ダッシュボード内に、table refererというデータを表示することで、このURL一覧が表示できますが、このrefererをクリックすることで、splunkの検索ではなく、実際の外部リンクに直接アクセスすることは可能でしょうか?

補足:workflowアクションでは、$!referer$で実現できることはできましたが、ダッシュボードから直接リンクをクリックしてアクセスしたいと考えております。

よろしくお願いいたします。

Tags (1)
0 Karma
1 Solution

goji
Path Finder

自己解決しました。
| eval a1=ltrim(link,"https?://")
で、URLから、http://または、https://を削除します。

そして、ドリルダウンパネルを利用して、

    <drilldown>
      <condition field="a1">
        <link>http://$click.value2|n$</link>
      </condition>
      <condition field="link">
        <link>http://www.google.com/#q=$click.value2$</link>
      </condition>
    </drilldown>

で渡すとa1をクリックすると実リンクに飛び、linkをクリックすると、workflowアクションのように、URLををGoogleの引数に渡し、検索結果を表示することができました。Dashboardサンプル集が参考になりました。httpでも、httpsでもいけます。以上でございます。

View solution in original post

0 Karma

goji
Path Finder

自己解決しました。
| eval a1=ltrim(link,"https?://")
で、URLから、http://または、https://を削除します。

そして、ドリルダウンパネルを利用して、

    <drilldown>
      <condition field="a1">
        <link>http://$click.value2|n$</link>
      </condition>
      <condition field="link">
        <link>http://www.google.com/#q=$click.value2$</link>
      </condition>
    </drilldown>

で渡すとa1をクリックすると実リンクに飛び、linkをクリックすると、workflowアクションのように、URLををGoogleの引数に渡し、検索結果を表示することができました。Dashboardサンプル集が参考になりました。httpでも、httpsでもいけます。以上でございます。

0 Karma
Get Updates on the Splunk Community!

Accelerating Observability as Code with the Splunk AI Assistant

We’ve seen in previous posts what Observability as Code (OaC) is and how it’s now essential for managing ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

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