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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

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

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...