Splunk Search

グラフに表示するプロット数の上限値の変更方法

Splunk_Shinobi
Splunk Employee
Splunk Employee

グラフに表示するデータのプロット数の上限値の変更方法を教えて下さい。

Tags (2)
0 Karma
1 Solution

melonman
Motivator

以下をXMLに記述して調整してみてください。

<chart>
...
<option name="charting.data.count">4000</option>
<option name="charting.chart.resultTruncationLimit">3000</option>
...
</chart>

http://docs.splunk.com/Documentation/Splunk/6.1.1/Viz/ChartConfigurationReference

charting.data.count
The number of results to retrieve. Set to 0 to get all results.

charting.chart.resultTruncationLimit
Override default rendering limits for the total number of objects plotted in a chart. These apply to cartesian (dual axis) charts. [column: 1200, bar: 1200, line: 2000, area: 2000]

View solution in original post

0 Karma

masagara8823
Explorer

上記を参考に設定してみましたが、下記のエラー回避ができません。
These results may be truncated. Your search generated too much data for the current visualization configuration
データ取得は日次で定型フォーマットの種類数が186の値を取得しています。
プロット数のデフォルトが1000とのことですが、
疑問として、
1.日次データの増減に関わらず、サーチ文のlimit=0からある程度の一定に数に変更しないとエラーが回避できない事。
2.「 50000」が有効にならない事です。
どうぞ、ご教示ください。

0 Karma

melonman
Motivator

以下をXMLに記述して調整してみてください。

<chart>
...
<option name="charting.data.count">4000</option>
<option name="charting.chart.resultTruncationLimit">3000</option>
...
</chart>

http://docs.splunk.com/Documentation/Splunk/6.1.1/Viz/ChartConfigurationReference

charting.data.count
The number of results to retrieve. Set to 0 to get all results.

charting.chart.resultTruncationLimit
Override default rendering limits for the total number of objects plotted in a chart. These apply to cartesian (dual axis) charts. [column: 1200, bar: 1200, line: 2000, area: 2000]

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 ...