Dashboards & Visualizations

Drilldownリンクの付け方

splunkbase_japa
Splunk Employee
Splunk Employee

以下のテーブル定義がダッシュボードにあるのですが、sourcetypeをクリックしたら、flashtimeline上でsourcetype=クリックしたソースタイプ名 でサーチを実行させるには、どうすればいいですか?

<table>
<searchString>
| metadata type=sourcetypes
| rename totalCount as Count recentTime as "Last Update"
</searchString>
<title>sourcetype</title>
</table>

summaryページと同様の動作をさせたいです。

Tags (2)
0 Karma
1 Solution

melonman
Motivator

こんな感じでいかがでしょうか。

<table>
<searchString>
| metadata type=sourcetypes
| rename totalCount as Count recentTime as "Last Update"
</searchString>
<title>sourcetype</title>

<drilldown>
<link field="sourcetype">
<![CDATA[ /app/search/flashtimeline/?q=search%20sourcetype=$row.sourcetype$]]>
</link>
</drilldown> 

</table>

http://docs.splunk.com/Documentation/Splunk/latest/Viz/Dynamicdrilldownindashboardsandforms

View solution in original post

melonman
Motivator

こんな感じでいかがでしょうか。

<table>
<searchString>
| metadata type=sourcetypes
| rename totalCount as Count recentTime as "Last Update"
</searchString>
<title>sourcetype</title>

<drilldown>
<link field="sourcetype">
<![CDATA[ /app/search/flashtimeline/?q=search%20sourcetype=$row.sourcetype$]]>
</link>
</drilldown> 

</table>

http://docs.splunk.com/Documentation/Splunk/latest/Viz/Dynamicdrilldownindashboardsandforms

Get Updates on the Splunk Community!

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...