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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...