Splunk Search

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

goji
Explorer

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

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

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

Tags (1)
0 Karma
1 Solution

goji
Explorer

自己解決しました。
| 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
Explorer

自己解決しました。
| 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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...