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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...