Dashboards & Visualizations

ダッシュボードにて、ドロップダウンから任意のレポートを選び表示する方法

qtaro
New Member

ダッシュボードの編集より。。。

  1. 入力の追加からドロップダウンを選択
  2. 静的オプションから複数のレポート名を列記
  3. 選択したレポート名の検索結果をパネルに表示

この3のやり方が分からないので、可能であれば方法を教えてください。

0 Karma
1 Solution

HiroshiSatoh
Champion

以下のようにドロップダウンのvalueにレポート名を入れてサーチの refにトークンを設定すればできるようです。設定はソース(XML)を直接修正してください。

<form>
  <label>test</label>
  <fieldset submitButton="false">
    <input type="dropdown" token="field1">
      <label>field1</label>
      <choice value="Alert_License">レポート1</choice>
      <choice value="Errors in the last 24 hours">レポート2</choice>
    </input>
  </fieldset>
  <row>
    <panel>
      <table>
        <title>レポート</title>
        <search ref="$field1$"></search>
        <option name="drilldown">none</option>
      </table>
    </panel>
  </row>
</form>

View solution in original post

HiroshiSatoh
Champion

以下のようにドロップダウンのvalueにレポート名を入れてサーチの refにトークンを設定すればできるようです。設定はソース(XML)を直接修正してください。

<form>
  <label>test</label>
  <fieldset submitButton="false">
    <input type="dropdown" token="field1">
      <label>field1</label>
      <choice value="Alert_License">レポート1</choice>
      <choice value="Errors in the last 24 hours">レポート2</choice>
    </input>
  </fieldset>
  <row>
    <panel>
      <table>
        <title>レポート</title>
        <search ref="$field1$"></search>
        <option name="drilldown">none</option>
      </table>
    </panel>
  </row>
</form>

qtaro
New Member

上記方法で解決しました。

ありがとうございました。

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...