Splunk Search

視覚エフェクトで作成したグラフの色について - About color of graph created by visual effect

arai0729
Explorer

Splunk Enterprizeでログのサーチ結果をグラフ化しようとしています。
サーチした結果について、視覚エフェクトからグラフ化したところ、グラフの色が用意していた項目の色とずれてしまいました。
主導でグラフの色を変えられないかと考えていますが、可能でしょうか?
グラフはArea Chartを使用しています。

[Google Translate]
Splunk Enterprise is trying to graph the search result of the log.
As a result of the search, when graphing from the visual effect, the color of the graph deviated from the color of the items prepared.
I think whether it is possible to change the color of the graph led by the initiative, is it possible?
The chart uses Area Chart.

0 Karma
1 Solution

satokoji
Explorer

こんにちは。

作成したダッシュボードのXMLで下記のようなoptionタグを追記すると色を変えられます。

<option name="charting.fieldColors">
 {"<フィールド名1>": <色コード1>,"<フィールド名2>": <色コード2>,・・・}
</option>

下記ドキュメントに使用可能な色など、詳しく記載されていますのでご参考に。
https://docs.splunk.com/Documentation/Splunk/7.2.3/Viz/ChartConfigurationReference#General_chart_pro...

View solution in original post

0 Karma

satokoji
Explorer

こんにちは。

作成したダッシュボードのXMLで下記のようなoptionタグを追記すると色を変えられます。

<option name="charting.fieldColors">
 {"<フィールド名1>": <色コード1>,"<フィールド名2>": <色コード2>,・・・}
</option>

下記ドキュメントに使用可能な色など、詳しく記載されていますのでご参考に。
https://docs.splunk.com/Documentation/Splunk/7.2.3/Viz/ChartConfigurationReference#General_chart_pro...

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...