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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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