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!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...