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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...