@splunk/visualizations 28.6.0 → 28.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (366) hide show
  1. package/Area.js +2 -2
  2. package/Bar.js +2 -2
  3. package/Bubble.js +2 -2
  4. package/CHANGELOG.external.md +19 -50
  5. package/ChoroplethSvg.js +2 -2
  6. package/Column.js +2 -2
  7. package/Ellipse.js +2 -2
  8. package/Events/PureEvents/FieldSummaryTooltip.d.ts +8 -31
  9. package/Events/PureEvents/FieldSummaryTooltip.d.ts.map +1 -1
  10. package/Events/PureEvents/PureEvents.d.ts.map +1 -1
  11. package/Events/PureEvents/TimeControlsPopover.d.ts +6 -25
  12. package/Events/PureEvents/TimeControlsPopover.d.ts.map +1 -1
  13. package/Events.js +27 -101
  14. package/Events.js.map +2 -2
  15. package/FillerGauge.js +2 -2
  16. package/Image.js +2 -2
  17. package/Line.js +2 -2
  18. package/LinkGraph.js +2 -2
  19. package/Map/Map.d.ts +1 -0
  20. package/Map/Map.d.ts.map +1 -1
  21. package/Map/PureMap/BubbleLayer.d.ts +22 -4
  22. package/Map/PureMap/BubbleLayer.d.ts.map +1 -1
  23. package/Map/PureMap/ChoroplethLayer.d.ts +9 -1
  24. package/Map/PureMap/ChoroplethLayer.d.ts.map +1 -1
  25. package/Map/PureMap/ClusterLayer.d.ts +3 -1
  26. package/Map/PureMap/ClusterLayer.d.ts.map +1 -1
  27. package/Map/PureMap/LocalChoroplethLayer.d.ts +1 -0
  28. package/Map/PureMap/LocalChoroplethLayer.d.ts.map +1 -1
  29. package/Map/PureMap/MapContext.d.ts +13 -0
  30. package/Map/PureMap/MapContext.d.ts.map +1 -0
  31. package/Map/PureMap/MarkerLayer.d.ts +19 -2
  32. package/Map/PureMap/MarkerLayer.d.ts.map +1 -1
  33. package/Map/PureMap/MarkerWrapper.d.ts +3 -2
  34. package/Map/PureMap/MarkerWrapper.d.ts.map +1 -1
  35. package/Map/PureMap/PureMap.d.ts +1 -0
  36. package/Map/PureMap/PureMap.d.ts.map +1 -1
  37. package/Map/PureMap/PureMapContainer.d.ts.map +1 -1
  38. package/Map/PureMap/Tooltip.d.ts +6 -1
  39. package/Map/PureMap/Tooltip.d.ts.map +1 -1
  40. package/Map/PureMap/keyboardConstants.d.ts +11 -0
  41. package/Map/PureMap/keyboardConstants.d.ts.map +1 -0
  42. package/Map/PureMap/useRovingTabindex.d.ts +18 -0
  43. package/Map/PureMap/useRovingTabindex.d.ts.map +1 -0
  44. package/Map.js +1317 -478
  45. package/Map.js.map +4 -4
  46. package/Markdown/Markdown.d.ts.map +1 -1
  47. package/Markdown.js +23 -6
  48. package/Markdown.js.map +2 -2
  49. package/MarkerGauge.js +2 -2
  50. package/NetworkGraph/NetworkGraph.d.ts +2 -5
  51. package/NetworkGraph/NetworkGraph.d.ts.map +1 -1
  52. package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts.map +1 -1
  53. package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts +1 -0
  54. package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts.map +1 -1
  55. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts +1 -0
  56. package/NetworkGraph/PureNetworkGraph/components/Node.d.ts.map +1 -1
  57. package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts +1 -1
  58. package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts.map +1 -1
  59. package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts +1 -0
  60. package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts.map +1 -1
  61. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts +23 -0
  62. package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts.map +1 -1
  63. package/NetworkGraph.config.js +2 -0
  64. package/NetworkGraph.config.js.map +2 -2
  65. package/NetworkGraph.js +353 -40
  66. package/NetworkGraph.js.map +4 -4
  67. package/ParallelCoordinates.js +2 -2
  68. package/Pie.js +2 -2
  69. package/ProcessTree/ProcessTree.d.ts +3 -1
  70. package/ProcessTree/ProcessTree.d.ts.map +1 -1
  71. package/ProcessTree/PureProcessTree/PureProcessTree.d.ts +1 -0
  72. package/ProcessTree/PureProcessTree/PureProcessTree.d.ts.map +1 -1
  73. package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts +2 -0
  74. package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts.map +1 -1
  75. package/ProcessTree/PureProcessTree/components/ProcessTreeRightPanel.d.ts.map +1 -1
  76. package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts +3 -1
  77. package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts.map +1 -1
  78. package/ProcessTree/PureProcessTree/mockdata/data.d.ts.map +1 -1
  79. package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts +3 -1
  80. package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts.map +1 -1
  81. package/ProcessTree.js +101 -31
  82. package/ProcessTree.js.map +3 -3
  83. package/Punchcard.js +2 -2
  84. package/README.md +2 -0
  85. package/Rectangle.js +2 -2
  86. package/RichText.js +2 -2
  87. package/Sankey.js +2 -2
  88. package/Scatter.js +2 -2
  89. package/SingleValue.js +368 -471
  90. package/SingleValue.js.map +4 -4
  91. package/SingleValueIcon.js +2 -2
  92. package/SingleValueRadial.js +2 -2
  93. package/SparkLine/SparkLine.d.ts +57 -0
  94. package/SparkLine/SparkLine.d.ts.map +1 -0
  95. package/SparkLine/index.d.ts +1 -1
  96. package/SparkLine/index.d.ts.map +1 -1
  97. package/SparkLine.js +384 -485
  98. package/SparkLine.js.map +4 -4
  99. package/Table/PureTable.d.ts.map +1 -1
  100. package/Table/hooks.d.ts +1 -1
  101. package/Table/hooks.d.ts.map +1 -1
  102. package/Table.js +391 -493
  103. package/Table.js.map +4 -4
  104. package/Timeline.js +2 -2
  105. package/common/OptionsDoc.js.map +1 -1
  106. package/common/utils/mapUtils.js +512 -179
  107. package/common/utils/mapUtils.js.map +4 -4
  108. package/common/utils/shadowDomUtils.d.ts +2 -0
  109. package/common/utils/shadowDomUtils.d.ts.map +1 -0
  110. package/common/utils/shadowDomUtils.js +39 -0
  111. package/common/utils/shadowDomUtils.js.map +7 -0
  112. package/common/withDashboardViz.js +2 -2
  113. package/docs-llm/INDEX.md +118 -0
  114. package/docs-llm/area/examples-json.md +3854 -0
  115. package/docs-llm/area/examples-react.md +2816 -0
  116. package/docs-llm/area/options.md +97 -0
  117. package/docs-llm/area/overview.md +27 -0
  118. package/docs-llm/bar/examples-json.md +3380 -0
  119. package/docs-llm/bar/examples-react.md +2352 -0
  120. package/docs-llm/bar/options.md +89 -0
  121. package/docs-llm/bar/overview.md +25 -0
  122. package/docs-llm/bubble/examples-json.md +4082 -0
  123. package/docs-llm/bubble/examples-react.md +3977 -0
  124. package/docs-llm/bubble/options.md +62 -0
  125. package/docs-llm/bubble/overview.md +26 -0
  126. package/docs-llm/choropleth-svg/examples-json.md +397 -0
  127. package/docs-llm/choropleth-svg/examples-react.md +389 -0
  128. package/docs-llm/choropleth-svg/options.md +15 -0
  129. package/docs-llm/choropleth-svg/overview.md +23 -0
  130. package/docs-llm/column/examples-json.md +3898 -0
  131. package/docs-llm/column/examples-react.md +2653 -0
  132. package/docs-llm/column/options.md +94 -0
  133. package/docs-llm/column/overview.md +31 -0
  134. package/docs-llm/dsl/examples-json.md +43 -0
  135. package/docs-llm/dsl/examples-react.md +78 -0
  136. package/docs-llm/dsl/formatters/format-by-type-examples-json.md +58 -0
  137. package/docs-llm/dsl/formatters/format-by-type-examples-react.md +43 -0
  138. package/docs-llm/dsl/formatters/format-by-type.md +38 -0
  139. package/docs-llm/dsl/formatters/frame-examples-json.md +42 -0
  140. package/docs-llm/dsl/formatters/frame-examples-react.md +24 -0
  141. package/docs-llm/dsl/formatters/frame.md +6 -0
  142. package/docs-llm/dsl/formatters/gradient-examples-json.md +98 -0
  143. package/docs-llm/dsl/formatters/gradient-examples-react.md +44 -0
  144. package/docs-llm/dsl/formatters/gradient.md +23 -0
  145. package/docs-llm/dsl/formatters/lerp-examples-json.md +40 -0
  146. package/docs-llm/dsl/formatters/lerp-examples-react.md +28 -0
  147. package/docs-llm/dsl/formatters/lerp.md +19 -0
  148. package/docs-llm/dsl/formatters/match-value-examples-json.md +65 -0
  149. package/docs-llm/dsl/formatters/match-value-examples-react.md +37 -0
  150. package/docs-llm/dsl/formatters/match-value.md +13 -0
  151. package/docs-llm/dsl/formatters/max-contrast-examples-json.md +39 -0
  152. package/docs-llm/dsl/formatters/max-contrast-examples-react.md +27 -0
  153. package/docs-llm/dsl/formatters/max-contrast.md +9 -0
  154. package/docs-llm/dsl/formatters/multi-format-examples-json.md +67 -0
  155. package/docs-llm/dsl/formatters/multi-format-examples-react.md +49 -0
  156. package/docs-llm/dsl/formatters/multi-format.md +12 -0
  157. package/docs-llm/dsl/formatters/objects-examples-json.md +49 -0
  158. package/docs-llm/dsl/formatters/objects-examples-react.md +37 -0
  159. package/docs-llm/dsl/formatters/objects.md +3 -0
  160. package/docs-llm/dsl/formatters/pick-examples-json.md +59 -0
  161. package/docs-llm/dsl/formatters/pick-examples-react.md +30 -0
  162. package/docs-llm/dsl/formatters/pick.md +9 -0
  163. package/docs-llm/dsl/formatters/prefix-examples-json.md +29 -0
  164. package/docs-llm/dsl/formatters/prefix-examples-react.md +19 -0
  165. package/docs-llm/dsl/formatters/prefix.md +3 -0
  166. package/docs-llm/dsl/formatters/prepend-examples-json.md +51 -0
  167. package/docs-llm/dsl/formatters/prepend-examples-react.md +33 -0
  168. package/docs-llm/dsl/formatters/prepend.md +9 -0
  169. package/docs-llm/dsl/formatters/range-value-examples-json.md +48 -0
  170. package/docs-llm/dsl/formatters/range-value-examples-react.md +34 -0
  171. package/docs-llm/dsl/formatters/range-value.md +15 -0
  172. package/docs-llm/dsl/formatters/set-color-channel-examples-json.md +40 -0
  173. package/docs-llm/dsl/formatters/set-color-channel-examples-react.md +31 -0
  174. package/docs-llm/dsl/formatters/set-color-channel.md +9 -0
  175. package/docs-llm/dsl/formatters/suffix-examples-json.md +29 -0
  176. package/docs-llm/dsl/formatters/suffix-examples-react.md +19 -0
  177. package/docs-llm/dsl/formatters/suffix.md +3 -0
  178. package/docs-llm/dsl/formatters/type-examples-json.md +37 -0
  179. package/docs-llm/dsl/formatters/type-examples-react.md +20 -0
  180. package/docs-llm/dsl/formatters/type.md +3 -0
  181. package/docs-llm/dsl/overview.md +41 -0
  182. package/docs-llm/dsl/selectors/abs.md +7 -0
  183. package/docs-llm/dsl/selectors/ceil.md +7 -0
  184. package/docs-llm/dsl/selectors/data-frame-average-examples-json.md +41 -0
  185. package/docs-llm/dsl/selectors/data-frame-average-examples-react.md +36 -0
  186. package/docs-llm/dsl/selectors/data-frame-average.md +7 -0
  187. package/docs-llm/dsl/selectors/data-frame-count-examples-json.md +41 -0
  188. package/docs-llm/dsl/selectors/data-frame-count-examples-react.md +36 -0
  189. package/docs-llm/dsl/selectors/data-frame-count.md +7 -0
  190. package/docs-llm/dsl/selectors/data-frame-examples-json.md +830 -0
  191. package/docs-llm/dsl/selectors/data-frame-examples-react.md +929 -0
  192. package/docs-llm/dsl/selectors/data-frame-get-field-examples-json.md +89 -0
  193. package/docs-llm/dsl/selectors/data-frame-get-field-examples-react.md +124 -0
  194. package/docs-llm/dsl/selectors/data-frame-get-field.md +5 -0
  195. package/docs-llm/dsl/selectors/data-frame-get-raw-value.md +5 -0
  196. package/docs-llm/dsl/selectors/data-frame-get-type.md +5 -0
  197. package/docs-llm/dsl/selectors/data-frame-get-value.md +5 -0
  198. package/docs-llm/dsl/selectors/data-frame-max-examples-json.md +51 -0
  199. package/docs-llm/dsl/selectors/data-frame-max-examples-react.md +41 -0
  200. package/docs-llm/dsl/selectors/data-frame-max.md +7 -0
  201. package/docs-llm/dsl/selectors/data-frame-min-examples-json.md +51 -0
  202. package/docs-llm/dsl/selectors/data-frame-min-examples-react.md +41 -0
  203. package/docs-llm/dsl/selectors/data-frame-min.md +7 -0
  204. package/docs-llm/dsl/selectors/data-frame-percentile-examples-json.md +41 -0
  205. package/docs-llm/dsl/selectors/data-frame-percentile-examples-react.md +36 -0
  206. package/docs-llm/dsl/selectors/data-frame-percentile.md +8 -0
  207. package/docs-llm/dsl/selectors/data-frame-set-value.md +5 -0
  208. package/docs-llm/dsl/selectors/data-frame-sum-examples-json.md +51 -0
  209. package/docs-llm/dsl/selectors/data-frame-sum-examples-react.md +41 -0
  210. package/docs-llm/dsl/selectors/data-frame-sum.md +7 -0
  211. package/docs-llm/dsl/selectors/data-frame.md +4 -0
  212. package/docs-llm/dsl/selectors/data-point-get-field.md +5 -0
  213. package/docs-llm/dsl/selectors/data-point-get-raw-value.md +4 -0
  214. package/docs-llm/dsl/selectors/data-point-get-type.md +5 -0
  215. package/docs-llm/dsl/selectors/data-point-get-value.md +5 -0
  216. package/docs-llm/dsl/selectors/data-point-set-value.md +4 -0
  217. package/docs-llm/dsl/selectors/data-point.md +5 -0
  218. package/docs-llm/dsl/selectors/data-series-average.md +22 -0
  219. package/docs-llm/dsl/selectors/data-series-count.md +14 -0
  220. package/docs-llm/dsl/selectors/data-series-get-field.md +5 -0
  221. package/docs-llm/dsl/selectors/data-series-get-raw-value.md +4 -0
  222. package/docs-llm/dsl/selectors/data-series-get-type.md +5 -0
  223. package/docs-llm/dsl/selectors/data-series-get-value.md +4 -0
  224. package/docs-llm/dsl/selectors/data-series-max.md +5 -0
  225. package/docs-llm/dsl/selectors/data-series-min.md +5 -0
  226. package/docs-llm/dsl/selectors/data-series-percentile.md +17 -0
  227. package/docs-llm/dsl/selectors/data-series-set-value.md +4 -0
  228. package/docs-llm/dsl/selectors/data-series-sum.md +24 -0
  229. package/docs-llm/dsl/selectors/data-series.md +4 -0
  230. package/docs-llm/dsl/selectors/delta.md +7 -0
  231. package/docs-llm/dsl/selectors/divide.md +8 -0
  232. package/docs-llm/dsl/selectors/first-point.md +5 -0
  233. package/docs-llm/dsl/selectors/floor.md +7 -0
  234. package/docs-llm/dsl/selectors/frame-by-series-index-range-examples-json.md +89 -0
  235. package/docs-llm/dsl/selectors/frame-by-series-index-range-examples-react.md +88 -0
  236. package/docs-llm/dsl/selectors/frame-by-series-index-range.md +10 -0
  237. package/docs-llm/dsl/selectors/frame-by-series-indexes-examples-json.md +88 -0
  238. package/docs-llm/dsl/selectors/frame-by-series-indexes-examples-react.md +87 -0
  239. package/docs-llm/dsl/selectors/frame-by-series-indexes.md +9 -0
  240. package/docs-llm/dsl/selectors/frame-by-series-names-examples-json.md +89 -0
  241. package/docs-llm/dsl/selectors/frame-by-series-names-examples-react.md +88 -0
  242. package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes-examples-json.md +89 -0
  243. package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes-examples-react.md +88 -0
  244. package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes.md +9 -0
  245. package/docs-llm/dsl/selectors/frame-by-series-names.md +9 -0
  246. package/docs-llm/dsl/selectors/frame-by-series-types-examples-json.md +89 -0
  247. package/docs-llm/dsl/selectors/frame-by-series-types-examples-react.md +88 -0
  248. package/docs-llm/dsl/selectors/frame-by-series-types.md +9 -0
  249. package/docs-llm/dsl/selectors/frame-without-internal-fields-examples-json.md +137 -0
  250. package/docs-llm/dsl/selectors/frame-without-internal-fields-examples-react.md +135 -0
  251. package/docs-llm/dsl/selectors/frame-without-internal-fields-except-examples-json.md +157 -0
  252. package/docs-llm/dsl/selectors/frame-without-internal-fields-except-examples-react.md +155 -0
  253. package/docs-llm/dsl/selectors/frame-without-internal-fields-except.md +21 -0
  254. package/docs-llm/dsl/selectors/frame-without-internal-fields.md +17 -0
  255. package/docs-llm/dsl/selectors/frame-without-series-names.md +8 -0
  256. package/docs-llm/dsl/selectors/last-point.md +5 -0
  257. package/docs-llm/dsl/selectors/minus.md +8 -0
  258. package/docs-llm/dsl/selectors/multiply.md +8 -0
  259. package/docs-llm/dsl/selectors/plus.md +8 -0
  260. package/docs-llm/dsl/selectors/point-by-index.md +6 -0
  261. package/docs-llm/dsl/selectors/points-by-indexes.md +6 -0
  262. package/docs-llm/dsl/selectors/round.md +7 -0
  263. package/docs-llm/dsl/selectors/series-by-index-examples-json.md +49 -0
  264. package/docs-llm/dsl/selectors/series-by-index-examples-react.md +39 -0
  265. package/docs-llm/dsl/selectors/series-by-index.md +8 -0
  266. package/docs-llm/dsl/selectors/series-by-name-examples-json.md +49 -0
  267. package/docs-llm/dsl/selectors/series-by-name-examples-react.md +39 -0
  268. package/docs-llm/dsl/selectors/series-by-name.md +8 -0
  269. package/docs-llm/dsl/selectors/series-by-prioritized-types-examples-json.md +47 -0
  270. package/docs-llm/dsl/selectors/series-by-prioritized-types-examples-react.md +39 -0
  271. package/docs-llm/dsl/selectors/series-by-prioritized-types.md +10 -0
  272. package/docs-llm/dsl/selectors/series-by-type-examples-json.md +49 -0
  273. package/docs-llm/dsl/selectors/series-by-type-examples-react.md +39 -0
  274. package/docs-llm/dsl/selectors/series-by-type.md +10 -0
  275. package/docs-llm/dsl/selectors/series-by-types.md +6 -0
  276. package/docs-llm/ellipse/examples-json.md +5 -0
  277. package/docs-llm/ellipse/examples-react.md +5 -0
  278. package/docs-llm/ellipse/options.md +16 -0
  279. package/docs-llm/ellipse/overview.md +5 -0
  280. package/docs-llm/events/examples-json.md +705 -0
  281. package/docs-llm/events/examples-react.md +536 -0
  282. package/docs-llm/events/options.md +18 -0
  283. package/docs-llm/events/overview.md +5 -0
  284. package/docs-llm/filler-gauge/examples-json.md +376 -0
  285. package/docs-llm/filler-gauge/examples-react.md +274 -0
  286. package/docs-llm/filler-gauge/options.md +26 -0
  287. package/docs-llm/filler-gauge/overview.md +5 -0
  288. package/docs-llm/image/examples-json.md +39 -0
  289. package/docs-llm/image/examples-react.md +65 -0
  290. package/docs-llm/image/options.md +13 -0
  291. package/docs-llm/image/overview.md +5 -0
  292. package/docs-llm/line/examples-json.md +3724 -0
  293. package/docs-llm/line/examples-react.md +2683 -0
  294. package/docs-llm/line/options.md +95 -0
  295. package/docs-llm/line/overview.md +29 -0
  296. package/docs-llm/link-graph/examples-json.md +5 -0
  297. package/docs-llm/link-graph/examples-react.md +5 -0
  298. package/docs-llm/link-graph/options.md +26 -0
  299. package/docs-llm/link-graph/overview.md +16 -0
  300. package/docs-llm/map/examples-json.md +13973 -0
  301. package/docs-llm/map/examples-react.md +6154 -0
  302. package/docs-llm/map/options.md +22 -0
  303. package/docs-llm/map/overview.md +32 -0
  304. package/docs-llm/markdown/examples-json.md +63 -0
  305. package/docs-llm/markdown/examples-react.md +98 -0
  306. package/docs-llm/markdown/options.md +17 -0
  307. package/docs-llm/markdown/overview.md +5 -0
  308. package/docs-llm/marker-gauge/examples-json.md +436 -0
  309. package/docs-llm/marker-gauge/examples-react.md +367 -0
  310. package/docs-llm/marker-gauge/options.md +26 -0
  311. package/docs-llm/marker-gauge/overview.md +5 -0
  312. package/docs-llm/network-graph/examples-json.md +8843 -0
  313. package/docs-llm/network-graph/examples-react.md +7339 -0
  314. package/docs-llm/network-graph/options.md +50 -0
  315. package/docs-llm/network-graph/overview.md +28 -0
  316. package/docs-llm/parallel-coordinates/examples-json.md +8376 -0
  317. package/docs-llm/parallel-coordinates/examples-react.md +2771 -0
  318. package/docs-llm/parallel-coordinates/options.md +14 -0
  319. package/docs-llm/parallel-coordinates/overview.md +22 -0
  320. package/docs-llm/pie/examples-json.md +851 -0
  321. package/docs-llm/pie/examples-react.md +606 -0
  322. package/docs-llm/pie/options.md +34 -0
  323. package/docs-llm/pie/overview.md +23 -0
  324. package/docs-llm/process-tree/options.md +32 -0
  325. package/docs-llm/punchcard/examples-json.md +6134 -0
  326. package/docs-llm/punchcard/examples-react.md +4562 -0
  327. package/docs-llm/punchcard/options.md +33 -0
  328. package/docs-llm/punchcard/overview.md +5 -0
  329. package/docs-llm/pure-rich-text/options.md +28 -0
  330. package/docs-llm/rectangle/examples-json.md +5 -0
  331. package/docs-llm/rectangle/examples-react.md +5 -0
  332. package/docs-llm/rectangle/options.md +19 -0
  333. package/docs-llm/rectangle/overview.md +5 -0
  334. package/docs-llm/rich-text/examples-json.md +96 -0
  335. package/docs-llm/rich-text/examples-react.md +119 -0
  336. package/docs-llm/rich-text/options.md +28 -0
  337. package/docs-llm/rich-text/overview.md +5 -0
  338. package/docs-llm/sankey/examples-json.md +844 -0
  339. package/docs-llm/sankey/examples-react.md +546 -0
  340. package/docs-llm/sankey/options.md +19 -0
  341. package/docs-llm/sankey/overview.md +24 -0
  342. package/docs-llm/scatter/examples-json.md +4012 -0
  343. package/docs-llm/scatter/examples-react.md +3914 -0
  344. package/docs-llm/scatter/options.md +68 -0
  345. package/docs-llm/scatter/overview.md +25 -0
  346. package/docs-llm/single-value/examples-json.md +2613 -0
  347. package/docs-llm/single-value/examples-react.md +2296 -0
  348. package/docs-llm/single-value/options.md +49 -0
  349. package/docs-llm/single-value/overview.md +23 -0
  350. package/docs-llm/single-value-icon/examples-json.md +1686 -0
  351. package/docs-llm/single-value-icon/examples-react.md +1573 -0
  352. package/docs-llm/single-value-icon/options.md +43 -0
  353. package/docs-llm/single-value-icon/overview.md +5 -0
  354. package/docs-llm/single-value-radial/examples-json.md +1178 -0
  355. package/docs-llm/single-value-radial/examples-react.md +1028 -0
  356. package/docs-llm/single-value-radial/options.md +41 -0
  357. package/docs-llm/single-value-radial/overview.md +5 -0
  358. package/docs-llm/table/examples-json.md +5 -0
  359. package/docs-llm/table/examples-react.md +5 -0
  360. package/docs-llm/table/options.md +25 -0
  361. package/docs-llm/table/overview.md +24 -0
  362. package/docs-llm/timeline/examples-json.md +5 -0
  363. package/docs-llm/timeline/examples-react.md +5 -0
  364. package/docs-llm/timeline/options.md +27 -0
  365. package/docs-llm/timeline/overview.md +24 -0
  366. package/package.json +28 -24
@@ -0,0 +1,2613 @@
1
+ # Single Value Examples
2
+
3
+ **Visualization Reference:** splunk.singlevalue
4
+
5
+ ## Basic Single Value
6
+
7
+ - **Key:** Basic
8
+
9
+ ```json
10
+ {
11
+ "type": "splunk.singlevalue",
12
+ "context": {},
13
+ "options": {},
14
+ "dataSources": {
15
+ "primary": {
16
+ "data": {
17
+ "columns": [
18
+ [
19
+ "1",
20
+ "62",
21
+ "103",
22
+ "308",
23
+ "587",
24
+ "876",
25
+ "930",
26
+ "1320"
27
+ ],
28
+ [
29
+ "2018-08-19T00:00:00.000+00:00",
30
+ "2018-08-20T00:00:00.000+00:00",
31
+ "2018-08-21T00:00:00.000+00:00",
32
+ "2018-08-22T00:00:00.000+00:00",
33
+ "2018-08-23T00:00:00.000+00:00",
34
+ "2018-08-24T00:00:00.000+00:00",
35
+ "2018-08-25T00:00:00.000+00:00",
36
+ "2018-08-26T00:00:00.000+00:00"
37
+ ]
38
+ ],
39
+ "fields": [
40
+ {
41
+ "name": "foo"
42
+ },
43
+ {
44
+ "name": "_time"
45
+ }
46
+ ]
47
+ },
48
+ "meta": {}
49
+ }
50
+ }
51
+ }
52
+ ```
53
+
54
+ ## Basic - With Event Handlers
55
+
56
+ - **Key:** Event Handlers
57
+
58
+ ```json
59
+ {
60
+ "type": "splunk.singlevalue",
61
+ "context": {},
62
+ "options": {},
63
+ "dataSources": {
64
+ "primary": {
65
+ "data": {
66
+ "columns": [
67
+ [
68
+ "1",
69
+ "62",
70
+ "103",
71
+ "308",
72
+ "587",
73
+ "876",
74
+ "930",
75
+ "1320"
76
+ ],
77
+ [
78
+ "2018-08-19T00:00:00.000+00:00",
79
+ "2018-08-20T00:00:00.000+00:00",
80
+ "2018-08-21T00:00:00.000+00:00",
81
+ "2018-08-22T00:00:00.000+00:00",
82
+ "2018-08-23T00:00:00.000+00:00",
83
+ "2018-08-24T00:00:00.000+00:00",
84
+ "2018-08-25T00:00:00.000+00:00",
85
+ "2018-08-26T00:00:00.000+00:00"
86
+ ]
87
+ ],
88
+ "fields": [
89
+ {
90
+ "name": "foo"
91
+ },
92
+ {
93
+ "name": "_time"
94
+ }
95
+ ]
96
+ },
97
+ "meta": {}
98
+ }
99
+ }
100
+ }
101
+ ```
102
+
103
+ ## Background Color - Red
104
+
105
+ - **Key:** Background Color
106
+
107
+ ```json
108
+ {
109
+ "type": "splunk.singlevalue",
110
+ "context": {},
111
+ "options": {
112
+ "backgroundColor": "#FF0000"
113
+ },
114
+ "dataSources": {
115
+ "primary": {
116
+ "data": {
117
+ "columns": [
118
+ [
119
+ "1",
120
+ "62",
121
+ "103",
122
+ "308",
123
+ "587",
124
+ "876",
125
+ "930",
126
+ "1320"
127
+ ],
128
+ [
129
+ "2018-08-19T00:00:00.000+00:00",
130
+ "2018-08-20T00:00:00.000+00:00",
131
+ "2018-08-21T00:00:00.000+00:00",
132
+ "2018-08-22T00:00:00.000+00:00",
133
+ "2018-08-23T00:00:00.000+00:00",
134
+ "2018-08-24T00:00:00.000+00:00",
135
+ "2018-08-25T00:00:00.000+00:00",
136
+ "2018-08-26T00:00:00.000+00:00"
137
+ ]
138
+ ],
139
+ "fields": [
140
+ {
141
+ "name": "foo"
142
+ },
143
+ {
144
+ "name": "_time"
145
+ }
146
+ ]
147
+ },
148
+ "meta": {}
149
+ }
150
+ }
151
+ }
152
+ ```
153
+
154
+ ## Background Color - Based on Major Value
155
+
156
+ - **Key:** Background Color From Major Value
157
+
158
+ ```json
159
+ {
160
+ "type": "splunk.singlevalue",
161
+ "context": {
162
+ "backgroundColorThresholds": [
163
+ {
164
+ "from": 1321,
165
+ "value": "#00FFFF"
166
+ },
167
+ {
168
+ "to": 1321,
169
+ "value": "#FF00FF"
170
+ }
171
+ ]
172
+ },
173
+ "options": {
174
+ "majorValue": "> sparklineValues | lastPoint()",
175
+ "backgroundColor": "> majorValue | rangeValue(backgroundColorThresholds)"
176
+ },
177
+ "dataSources": {
178
+ "primary": {
179
+ "data": {
180
+ "columns": [
181
+ [
182
+ "1",
183
+ "62",
184
+ "103",
185
+ "308",
186
+ "587",
187
+ "876",
188
+ "930",
189
+ "1320"
190
+ ],
191
+ [
192
+ "2018-08-19T00:00:00.000+00:00",
193
+ "2018-08-20T00:00:00.000+00:00",
194
+ "2018-08-21T00:00:00.000+00:00",
195
+ "2018-08-22T00:00:00.000+00:00",
196
+ "2018-08-23T00:00:00.000+00:00",
197
+ "2018-08-24T00:00:00.000+00:00",
198
+ "2018-08-25T00:00:00.000+00:00",
199
+ "2018-08-26T00:00:00.000+00:00"
200
+ ]
201
+ ],
202
+ "fields": [
203
+ {
204
+ "name": "foo"
205
+ },
206
+ {
207
+ "name": "_time"
208
+ }
209
+ ]
210
+ },
211
+ "meta": {}
212
+ }
213
+ }
214
+ }
215
+ ```
216
+
217
+ ## Background Color - Based on Trend Value
218
+
219
+ - **Key:** Background Color From Trend Value
220
+
221
+ ```json
222
+ {
223
+ "type": "splunk.singlevalue",
224
+ "context": {
225
+ "backgroundColorThresholds": [
226
+ {
227
+ "from": 391,
228
+ "value": "#00FFFF"
229
+ },
230
+ {
231
+ "to": 391,
232
+ "value": "#0080FF"
233
+ }
234
+ ]
235
+ },
236
+ "options": {
237
+ "trendValue": "> sparklineValues | delta(-2)",
238
+ "backgroundColor": "> trendValue | rangeValue(backgroundColorThresholds)"
239
+ },
240
+ "dataSources": {
241
+ "primary": {
242
+ "data": {
243
+ "columns": [
244
+ [
245
+ "1",
246
+ "62",
247
+ "103",
248
+ "308",
249
+ "587",
250
+ "876",
251
+ "930",
252
+ "1320"
253
+ ],
254
+ [
255
+ "2018-08-19T00:00:00.000+00:00",
256
+ "2018-08-20T00:00:00.000+00:00",
257
+ "2018-08-21T00:00:00.000+00:00",
258
+ "2018-08-22T00:00:00.000+00:00",
259
+ "2018-08-23T00:00:00.000+00:00",
260
+ "2018-08-24T00:00:00.000+00:00",
261
+ "2018-08-25T00:00:00.000+00:00",
262
+ "2018-08-26T00:00:00.000+00:00"
263
+ ]
264
+ ],
265
+ "fields": [
266
+ {
267
+ "name": "foo"
268
+ },
269
+ {
270
+ "name": "_time"
271
+ }
272
+ ]
273
+ },
274
+ "meta": {}
275
+ }
276
+ }
277
+ }
278
+ ```
279
+
280
+ ## Background Color - Based on Data Series Color
281
+
282
+ - **Key:** Colordataseries
283
+
284
+ ```json
285
+ {
286
+ "type": "splunk.singlevalue",
287
+ "context": {},
288
+ "options": {
289
+ "backgroundColor": "> primary | seriesByName(\"bar\") | lastPoint()"
290
+ },
291
+ "dataSources": {
292
+ "primary": {
293
+ "data": {
294
+ "columns": [
295
+ [
296
+ "1",
297
+ "62",
298
+ "103",
299
+ "308",
300
+ "587",
301
+ "876",
302
+ "930",
303
+ "1320"
304
+ ],
305
+ [
306
+ "#FF0000",
307
+ "#00FFFF",
308
+ "#0000FF",
309
+ "#800080",
310
+ "#FFFF00",
311
+ "#FFA500",
312
+ "#A52A2A",
313
+ "#008000"
314
+ ]
315
+ ],
316
+ "fields": [
317
+ {
318
+ "name": "foo"
319
+ },
320
+ {
321
+ "name": "bar"
322
+ }
323
+ ]
324
+ },
325
+ "meta": {}
326
+ }
327
+ }
328
+ }
329
+ ```
330
+
331
+ ## Major Color - Green
332
+
333
+ - **Key:** Major Color
334
+
335
+ ```json
336
+ {
337
+ "type": "splunk.singlevalue",
338
+ "context": {},
339
+ "options": {
340
+ "majorColor": "#008000"
341
+ },
342
+ "dataSources": {
343
+ "primary": {
344
+ "data": {
345
+ "columns": [
346
+ [
347
+ "1",
348
+ "62",
349
+ "103",
350
+ "308",
351
+ "587",
352
+ "876",
353
+ "930",
354
+ "1320"
355
+ ],
356
+ [
357
+ "2018-08-19T00:00:00.000+00:00",
358
+ "2018-08-20T00:00:00.000+00:00",
359
+ "2018-08-21T00:00:00.000+00:00",
360
+ "2018-08-22T00:00:00.000+00:00",
361
+ "2018-08-23T00:00:00.000+00:00",
362
+ "2018-08-24T00:00:00.000+00:00",
363
+ "2018-08-25T00:00:00.000+00:00",
364
+ "2018-08-26T00:00:00.000+00:00"
365
+ ]
366
+ ],
367
+ "fields": [
368
+ {
369
+ "name": "foo"
370
+ },
371
+ {
372
+ "name": "_time"
373
+ }
374
+ ]
375
+ },
376
+ "meta": {}
377
+ }
378
+ }
379
+ }
380
+ ```
381
+
382
+ ## Major Color - Based on Last Major Value
383
+
384
+ - **Key:** Majorcolorusinglastmajorvalue
385
+
386
+ ```json
387
+ {
388
+ "type": "splunk.singlevalue",
389
+ "context": {
390
+ "majorColorThresholds": [
391
+ {
392
+ "from": 3201,
393
+ "value": "#00FFFF"
394
+ },
395
+ {
396
+ "to": 3201,
397
+ "value": "#FF00FF"
398
+ }
399
+ ]
400
+ },
401
+ "options": {
402
+ "majorValue": "> primary | seriesByIndex(0) | lastPoint()",
403
+ "trendValue": "> primary | seriesByIndex(0) | delta(-2)",
404
+ "majorColor": "> majorValue | rangeValue(majorColorThresholds)"
405
+ },
406
+ "dataSources": {
407
+ "primary": {
408
+ "data": {
409
+ "columns": [
410
+ [
411
+ "1",
412
+ "62",
413
+ "103",
414
+ "308",
415
+ "587",
416
+ "876",
417
+ "930",
418
+ "1320"
419
+ ],
420
+ [
421
+ "2018-08-19T00:00:00.000+00:00",
422
+ "2018-08-20T00:00:00.000+00:00",
423
+ "2018-08-21T00:00:00.000+00:00",
424
+ "2018-08-22T00:00:00.000+00:00",
425
+ "2018-08-23T00:00:00.000+00:00",
426
+ "2018-08-24T00:00:00.000+00:00",
427
+ "2018-08-25T00:00:00.000+00:00",
428
+ "2018-08-26T00:00:00.000+00:00"
429
+ ]
430
+ ],
431
+ "fields": [
432
+ {
433
+ "name": "foo"
434
+ },
435
+ {
436
+ "name": "_time"
437
+ }
438
+ ]
439
+ },
440
+ "meta": {}
441
+ }
442
+ }
443
+ }
444
+ ```
445
+
446
+ ## Major Color - Based on Trend Value
447
+
448
+ - **Key:** Major Color From Trend Value
449
+
450
+ ```json
451
+ {
452
+ "type": "splunk.singlevalue",
453
+ "context": {
454
+ "majorColorThresholds": [
455
+ {
456
+ "from": 389,
457
+ "value": "#00FFFF"
458
+ },
459
+ {
460
+ "to": 389,
461
+ "value": "#FF00FF"
462
+ }
463
+ ]
464
+ },
465
+ "options": {
466
+ "sparklineValues": "> primary | seriesByIndex(0)",
467
+ "majorValue": "> sparklineValues | lastPoint()",
468
+ "trendValue": "> sparklineValues | delta(-2)",
469
+ "majorColor": "> trendValue | rangeValue(majorColorThresholds)"
470
+ },
471
+ "dataSources": {
472
+ "primary": {
473
+ "data": {
474
+ "columns": [
475
+ [
476
+ "1",
477
+ "62",
478
+ "103",
479
+ "308",
480
+ "587",
481
+ "876",
482
+ "930",
483
+ "1320"
484
+ ],
485
+ [
486
+ "2018-08-19T00:00:00.000+00:00",
487
+ "2018-08-20T00:00:00.000+00:00",
488
+ "2018-08-21T00:00:00.000+00:00",
489
+ "2018-08-22T00:00:00.000+00:00",
490
+ "2018-08-23T00:00:00.000+00:00",
491
+ "2018-08-24T00:00:00.000+00:00",
492
+ "2018-08-25T00:00:00.000+00:00",
493
+ "2018-08-26T00:00:00.000+00:00"
494
+ ]
495
+ ],
496
+ "fields": [
497
+ {
498
+ "name": "foo"
499
+ },
500
+ {
501
+ "name": "_time"
502
+ }
503
+ ]
504
+ },
505
+ "meta": {}
506
+ }
507
+ }
508
+ }
509
+ ```
510
+
511
+ ## Major Font Size - 40, Trend Font Size - 30
512
+
513
+ - **Key:** Custom Font Sizes
514
+
515
+ ```json
516
+ {
517
+ "type": "splunk.singlevalue",
518
+ "context": {},
519
+ "options": {
520
+ "majorFontSize": 40,
521
+ "trendFontSize": 30
522
+ },
523
+ "dataSources": {
524
+ "primary": {
525
+ "data": {
526
+ "columns": [
527
+ [
528
+ "1",
529
+ "62",
530
+ "103",
531
+ "308",
532
+ "587",
533
+ "876",
534
+ "930",
535
+ "1320"
536
+ ],
537
+ [
538
+ "2018-08-19T00:00:00.000+00:00",
539
+ "2018-08-20T00:00:00.000+00:00",
540
+ "2018-08-21T00:00:00.000+00:00",
541
+ "2018-08-22T00:00:00.000+00:00",
542
+ "2018-08-23T00:00:00.000+00:00",
543
+ "2018-08-24T00:00:00.000+00:00",
544
+ "2018-08-25T00:00:00.000+00:00",
545
+ "2018-08-26T00:00:00.000+00:00"
546
+ ]
547
+ ],
548
+ "fields": [
549
+ {
550
+ "name": "foo"
551
+ },
552
+ {
553
+ "name": "_time"
554
+ }
555
+ ]
556
+ },
557
+ "meta": {}
558
+ }
559
+ }
560
+ }
561
+ ```
562
+
563
+ ## Major Value - Based on Foo Field
564
+
565
+ - **Key:** Majorvaluefoo
566
+
567
+ ```json
568
+ {
569
+ "type": "splunk.singlevalue",
570
+ "context": {},
571
+ "options": {
572
+ "majorValue": "> primary | seriesByName(\"foo\") | lastPoint()"
573
+ },
574
+ "dataSources": {
575
+ "primary": {
576
+ "data": {
577
+ "columns": [
578
+ [
579
+ "1",
580
+ "62",
581
+ "103",
582
+ "308",
583
+ "587",
584
+ "876",
585
+ "930",
586
+ "1320"
587
+ ],
588
+ [
589
+ "2018-08-19T00:00:00.000+00:00",
590
+ "2018-08-20T00:00:00.000+00:00",
591
+ "2018-08-21T00:00:00.000+00:00",
592
+ "2018-08-22T00:00:00.000+00:00",
593
+ "2018-08-23T00:00:00.000+00:00",
594
+ "2018-08-24T00:00:00.000+00:00",
595
+ "2018-08-25T00:00:00.000+00:00",
596
+ "2018-08-26T00:00:00.000+00:00"
597
+ ]
598
+ ],
599
+ "fields": [
600
+ {
601
+ "name": "foo"
602
+ },
603
+ {
604
+ "name": "_time"
605
+ }
606
+ ]
607
+ },
608
+ "meta": {}
609
+ }
610
+ }
611
+ }
612
+ ```
613
+
614
+ ## Major Value and Trend Value - Based on majorValueDisplay
615
+
616
+ - **Key:** Majorvaluebasedonmajorvaluedisplay
617
+
618
+ ```json
619
+ {
620
+ "type": "splunk.singlevalue",
621
+ "context": {
622
+ "byteFormatConfig": {
623
+ "number": {
624
+ "output": "byte",
625
+ "base": "decimal",
626
+ "mantissa": 2
627
+ }
628
+ }
629
+ },
630
+ "options": {
631
+ "trendValue": "> primary | seriesByName(\"ingested_bytes\") | delta(-2)",
632
+ "trendDisplay": "percent",
633
+ "majorValue": "> primary | seriesByName(\"ingested_bytes\") | lastPoint()",
634
+ "majorValueDisplay": "> majorValue | formatByType(byteFormatConfig)"
635
+ },
636
+ "dataSources": {
637
+ "primary": {
638
+ "requestParams": {
639
+ "offset": 0,
640
+ "count": 20
641
+ },
642
+ "data": {
643
+ "columns": [
644
+ [
645
+ "154305299",
646
+ "126949782"
647
+ ]
648
+ ],
649
+ "fields": [
650
+ {
651
+ "name": "ingested_bytes"
652
+ }
653
+ ]
654
+ },
655
+ "meta": {}
656
+ }
657
+ }
658
+ }
659
+ ```
660
+
661
+ ## Major Value - Using Sum of Data Series
662
+
663
+ - **Key:** Major Value Sum
664
+
665
+ ```json
666
+ {
667
+ "type": "splunk.singlevalue",
668
+ "context": {},
669
+ "options": {
670
+ "majorValue": "> primary | seriesByName(\"count\") | sum()",
671
+ "underLabel": "Total Events",
672
+ "trendDisplay": "off"
673
+ },
674
+ "dataSources": {
675
+ "primary": {
676
+ "data": {
677
+ "columns": [
678
+ [
679
+ "12",
680
+ "115",
681
+ "393",
682
+ "260",
683
+ "584"
684
+ ],
685
+ [
686
+ "2018-05-02T18:10:46.000-07:00",
687
+ "2018-05-02T18:11:47.000-07:00",
688
+ "2018-05-02T18:12:48.000-07:00",
689
+ "2018-05-02T18:13:49.000-07:00",
690
+ "2018-05-02T18:15:50.000-07:00"
691
+ ]
692
+ ],
693
+ "fields": [
694
+ {
695
+ "name": "count"
696
+ },
697
+ {
698
+ "name": "_time"
699
+ }
700
+ ]
701
+ },
702
+ "meta": {}
703
+ }
704
+ }
705
+ }
706
+ ```
707
+
708
+ ## Major Value - Based on Bar Field
709
+
710
+ - **Key:** Major Value Bar
711
+
712
+ ```json
713
+ {
714
+ "type": "splunk.singlevalue",
715
+ "context": {},
716
+ "options": {
717
+ "majorValue": "> primary | seriesByName(\"bar\") | lastPoint()"
718
+ },
719
+ "dataSources": {
720
+ "primary": {
721
+ "data": {
722
+ "columns": [
723
+ [
724
+ "1",
725
+ "62",
726
+ "103",
727
+ "308",
728
+ "587",
729
+ "876",
730
+ "930",
731
+ "1320"
732
+ ],
733
+ [
734
+ "1",
735
+ "2",
736
+ "3",
737
+ "4",
738
+ "5",
739
+ "6",
740
+ "7",
741
+ "3200"
742
+ ]
743
+ ],
744
+ "fields": [
745
+ {
746
+ "name": "foo"
747
+ },
748
+ {
749
+ "name": "bar"
750
+ }
751
+ ]
752
+ },
753
+ "meta": {}
754
+ }
755
+ }
756
+ }
757
+ ```
758
+
759
+ ## Number Precision - 2
760
+
761
+ - **Key:** Precision
762
+
763
+ ```json
764
+ {
765
+ "type": "splunk.singlevalue",
766
+ "context": {},
767
+ "options": {
768
+ "numberPrecision": 2
769
+ },
770
+ "dataSources": {
771
+ "primary": {
772
+ "data": {
773
+ "columns": [
774
+ [
775
+ "1",
776
+ "62",
777
+ "103",
778
+ "308",
779
+ "587",
780
+ "876",
781
+ "930",
782
+ "1320"
783
+ ],
784
+ [
785
+ "2018-08-19T00:00:00.000+00:00",
786
+ "2018-08-20T00:00:00.000+00:00",
787
+ "2018-08-21T00:00:00.000+00:00",
788
+ "2018-08-22T00:00:00.000+00:00",
789
+ "2018-08-23T00:00:00.000+00:00",
790
+ "2018-08-24T00:00:00.000+00:00",
791
+ "2018-08-25T00:00:00.000+00:00",
792
+ "2018-08-26T00:00:00.000+00:00"
793
+ ]
794
+ ],
795
+ "fields": [
796
+ {
797
+ "name": "foo"
798
+ },
799
+ {
800
+ "name": "_time"
801
+ }
802
+ ]
803
+ },
804
+ "meta": {}
805
+ }
806
+ }
807
+ }
808
+ ```
809
+
810
+ ## Should Abbreviate Trend Value - False, default
811
+
812
+ - **Key:** No Trend Unit
813
+
814
+ ```json
815
+ {
816
+ "type": "splunk.singlevalue",
817
+ "context": {},
818
+ "options": {},
819
+ "dataSources": {
820
+ "primary": {
821
+ "data": {
822
+ "columns": [
823
+ [
824
+ "1",
825
+ "62",
826
+ "103",
827
+ "308",
828
+ "587",
829
+ "876",
830
+ "930",
831
+ "13200"
832
+ ],
833
+ [
834
+ "2018-08-19T00:00:00.000+00:00",
835
+ "2018-08-20T00:00:00.000+00:00",
836
+ "2018-08-21T00:00:00.000+00:00",
837
+ "2018-08-22T00:00:00.000+00:00",
838
+ "2018-08-23T00:00:00.000+00:00",
839
+ "2018-08-24T00:00:00.000+00:00",
840
+ "2018-08-25T00:00:00.000+00:00",
841
+ "2018-08-26T00:00:00.000+00:00"
842
+ ]
843
+ ],
844
+ "fields": [
845
+ {
846
+ "name": "foo"
847
+ },
848
+ {
849
+ "name": "_time"
850
+ }
851
+ ]
852
+ },
853
+ "meta": {}
854
+ }
855
+ }
856
+ }
857
+ ```
858
+
859
+ ## Should Abbreviate Trend Value - True
860
+
861
+ - **Key:** Trend Unit
862
+
863
+ ```json
864
+ {
865
+ "type": "splunk.singlevalue",
866
+ "context": {},
867
+ "options": {
868
+ "shouldAbbreviateTrendValue": true
869
+ },
870
+ "dataSources": {
871
+ "primary": {
872
+ "data": {
873
+ "columns": [
874
+ [
875
+ "1",
876
+ "62",
877
+ "103",
878
+ "308",
879
+ "587",
880
+ "876",
881
+ "930",
882
+ "13200"
883
+ ],
884
+ [
885
+ "2018-08-19T00:00:00.000+00:00",
886
+ "2018-08-20T00:00:00.000+00:00",
887
+ "2018-08-21T00:00:00.000+00:00",
888
+ "2018-08-22T00:00:00.000+00:00",
889
+ "2018-08-23T00:00:00.000+00:00",
890
+ "2018-08-24T00:00:00.000+00:00",
891
+ "2018-08-25T00:00:00.000+00:00",
892
+ "2018-08-26T00:00:00.000+00:00"
893
+ ]
894
+ ],
895
+ "fields": [
896
+ {
897
+ "name": "foo"
898
+ },
899
+ {
900
+ "name": "_time"
901
+ }
902
+ ]
903
+ },
904
+ "meta": {}
905
+ }
906
+ }
907
+ }
908
+ ```
909
+
910
+ ## Should Sparkline Accept Null Data - True, default (Deprecated)
911
+
912
+ - **Key:** Sparkline Null
913
+
914
+ ```json
915
+ {
916
+ "type": "splunk.singlevalue",
917
+ "context": {},
918
+ "options": {},
919
+ "dataSources": {
920
+ "primary": {
921
+ "data": {
922
+ "columns": [
923
+ [
924
+ "1",
925
+ "2",
926
+ "3",
927
+ "4",
928
+ null,
929
+ "6",
930
+ "7",
931
+ "32"
932
+ ],
933
+ [
934
+ "2018-08-19T00:00:00.000+00:00",
935
+ "2018-08-20T00:00:00.000+00:00",
936
+ "2018-08-21T00:00:00.000+00:00",
937
+ "2018-08-22T00:00:00.000+00:00",
938
+ "2018-08-23T00:00:00.000+00:00",
939
+ "2018-08-24T00:00:00.000+00:00",
940
+ "2018-08-25T00:00:00.000+00:00",
941
+ "2018-08-26T00:00:00.000+00:00"
942
+ ]
943
+ ],
944
+ "fields": [
945
+ {
946
+ "name": "foo"
947
+ },
948
+ {
949
+ "name": "_time"
950
+ }
951
+ ]
952
+ },
953
+ "meta": {}
954
+ }
955
+ }
956
+ }
957
+ ```
958
+
959
+ ## Should Sparkline Accept Null Data - False (Deprecated)
960
+
961
+ - **Key:** Sparkline No Null
962
+
963
+ ```json
964
+ {
965
+ "type": "splunk.singlevalue",
966
+ "context": {},
967
+ "options": {
968
+ "shouldSparklineAcceptNullData": false
969
+ },
970
+ "dataSources": {
971
+ "primary": {
972
+ "data": {
973
+ "columns": [
974
+ [
975
+ "1",
976
+ "2",
977
+ "3",
978
+ "4",
979
+ null,
980
+ "6",
981
+ "7",
982
+ "32"
983
+ ],
984
+ [
985
+ "2018-08-19T00:00:00.000+00:00",
986
+ "2018-08-20T00:00:00.000+00:00",
987
+ "2018-08-21T00:00:00.000+00:00",
988
+ "2018-08-22T00:00:00.000+00:00",
989
+ "2018-08-23T00:00:00.000+00:00",
990
+ "2018-08-24T00:00:00.000+00:00",
991
+ "2018-08-25T00:00:00.000+00:00",
992
+ "2018-08-26T00:00:00.000+00:00"
993
+ ]
994
+ ],
995
+ "fields": [
996
+ {
997
+ "name": "foo"
998
+ },
999
+ {
1000
+ "name": "_time"
1001
+ }
1002
+ ]
1003
+ },
1004
+ "meta": {}
1005
+ }
1006
+ }
1007
+ }
1008
+ ```
1009
+
1010
+ ## Sparkline Null Value Display - Gaps (default)
1011
+
1012
+ - **Key:** Sparkline Null Value Display Gaps
1013
+
1014
+ ```json
1015
+ {
1016
+ "type": "splunk.singlevalue",
1017
+ "context": {},
1018
+ "options": {
1019
+ "sparklineNullValueDisplay": "gaps"
1020
+ },
1021
+ "dataSources": {
1022
+ "primary": {
1023
+ "data": {
1024
+ "columns": [
1025
+ [
1026
+ "1",
1027
+ "2",
1028
+ "3",
1029
+ null,
1030
+ null,
1031
+ "6",
1032
+ "7",
1033
+ "8"
1034
+ ],
1035
+ [
1036
+ "2018-08-19T00:00:00.000+00:00",
1037
+ "2018-08-20T00:00:00.000+00:00",
1038
+ "2018-08-21T00:00:00.000+00:00",
1039
+ "2018-08-22T00:00:00.000+00:00",
1040
+ "2018-08-23T00:00:00.000+00:00",
1041
+ "2018-08-24T00:00:00.000+00:00",
1042
+ "2018-08-25T00:00:00.000+00:00",
1043
+ "2018-08-26T00:00:00.000+00:00"
1044
+ ]
1045
+ ],
1046
+ "fields": [
1047
+ {
1048
+ "name": "foo"
1049
+ },
1050
+ {
1051
+ "name": "_time"
1052
+ }
1053
+ ]
1054
+ },
1055
+ "meta": {}
1056
+ }
1057
+ }
1058
+ }
1059
+ ```
1060
+
1061
+ ## Sparkline Null Value Display - Connect
1062
+
1063
+ - **Key:** Sparkline Null Value Display Connect
1064
+
1065
+ ```json
1066
+ {
1067
+ "type": "splunk.singlevalue",
1068
+ "context": {},
1069
+ "options": {
1070
+ "sparklineNullValueDisplay": "connect"
1071
+ },
1072
+ "dataSources": {
1073
+ "primary": {
1074
+ "data": {
1075
+ "columns": [
1076
+ [
1077
+ "1",
1078
+ "2",
1079
+ "3",
1080
+ null,
1081
+ null,
1082
+ "6",
1083
+ "7",
1084
+ "8"
1085
+ ],
1086
+ [
1087
+ "2018-08-19T00:00:00.000+00:00",
1088
+ "2018-08-20T00:00:00.000+00:00",
1089
+ "2018-08-21T00:00:00.000+00:00",
1090
+ "2018-08-22T00:00:00.000+00:00",
1091
+ "2018-08-23T00:00:00.000+00:00",
1092
+ "2018-08-24T00:00:00.000+00:00",
1093
+ "2018-08-25T00:00:00.000+00:00",
1094
+ "2018-08-26T00:00:00.000+00:00"
1095
+ ]
1096
+ ],
1097
+ "fields": [
1098
+ {
1099
+ "name": "foo"
1100
+ },
1101
+ {
1102
+ "name": "_time"
1103
+ }
1104
+ ]
1105
+ },
1106
+ "meta": {}
1107
+ }
1108
+ }
1109
+ }
1110
+ ```
1111
+
1112
+ ## Sparkline Null Value Display - Zero
1113
+
1114
+ - **Key:** Sparkline Null Value Display Zero
1115
+
1116
+ ```json
1117
+ {
1118
+ "type": "splunk.singlevalue",
1119
+ "context": {},
1120
+ "options": {
1121
+ "sparklineNullValueDisplay": "zero"
1122
+ },
1123
+ "dataSources": {
1124
+ "primary": {
1125
+ "data": {
1126
+ "columns": [
1127
+ [
1128
+ "1",
1129
+ "2",
1130
+ "3",
1131
+ null,
1132
+ null,
1133
+ "6",
1134
+ "7",
1135
+ "8"
1136
+ ],
1137
+ [
1138
+ "2018-08-19T00:00:00.000+00:00",
1139
+ "2018-08-20T00:00:00.000+00:00",
1140
+ "2018-08-21T00:00:00.000+00:00",
1141
+ "2018-08-22T00:00:00.000+00:00",
1142
+ "2018-08-23T00:00:00.000+00:00",
1143
+ "2018-08-24T00:00:00.000+00:00",
1144
+ "2018-08-25T00:00:00.000+00:00",
1145
+ "2018-08-26T00:00:00.000+00:00"
1146
+ ]
1147
+ ],
1148
+ "fields": [
1149
+ {
1150
+ "name": "foo"
1151
+ },
1152
+ {
1153
+ "name": "_time"
1154
+ }
1155
+ ]
1156
+ },
1157
+ "meta": {}
1158
+ }
1159
+ }
1160
+ }
1161
+ ```
1162
+
1163
+ ## Should Use Thousand Separators - False
1164
+
1165
+ - **Key:** No Thousand Separators
1166
+
1167
+ ```json
1168
+ {
1169
+ "type": "splunk.singlevalue",
1170
+ "context": {},
1171
+ "options": {
1172
+ "shouldUseThousandSeparators": false
1173
+ },
1174
+ "dataSources": {
1175
+ "primary": {
1176
+ "data": {
1177
+ "columns": [
1178
+ [
1179
+ "1",
1180
+ "62",
1181
+ "103",
1182
+ "308",
1183
+ "587",
1184
+ "876",
1185
+ "930",
1186
+ "1320"
1187
+ ],
1188
+ [
1189
+ "2018-08-19T00:00:00.000+00:00",
1190
+ "2018-08-20T00:00:00.000+00:00",
1191
+ "2018-08-21T00:00:00.000+00:00",
1192
+ "2018-08-22T00:00:00.000+00:00",
1193
+ "2018-08-23T00:00:00.000+00:00",
1194
+ "2018-08-24T00:00:00.000+00:00",
1195
+ "2018-08-25T00:00:00.000+00:00",
1196
+ "2018-08-26T00:00:00.000+00:00"
1197
+ ]
1198
+ ],
1199
+ "fields": [
1200
+ {
1201
+ "name": "foo"
1202
+ },
1203
+ {
1204
+ "name": "_time"
1205
+ }
1206
+ ]
1207
+ },
1208
+ "meta": {}
1209
+ }
1210
+ }
1211
+ }
1212
+ ```
1213
+
1214
+ ## Show Sparkline Area Graph - True
1215
+
1216
+ - **Key:** Sparkline Area Graph
1217
+
1218
+ ```json
1219
+ {
1220
+ "type": "splunk.singlevalue",
1221
+ "context": {},
1222
+ "options": {
1223
+ "showSparklineAreaGraph": true
1224
+ },
1225
+ "dataSources": {
1226
+ "primary": {
1227
+ "data": {
1228
+ "columns": [
1229
+ [
1230
+ "1",
1231
+ "62",
1232
+ "103",
1233
+ "308",
1234
+ "587",
1235
+ "876",
1236
+ "930",
1237
+ "1320"
1238
+ ],
1239
+ [
1240
+ "2018-08-19T00:00:00.000+00:00",
1241
+ "2018-08-20T00:00:00.000+00:00",
1242
+ "2018-08-21T00:00:00.000+00:00",
1243
+ "2018-08-22T00:00:00.000+00:00",
1244
+ "2018-08-23T00:00:00.000+00:00",
1245
+ "2018-08-24T00:00:00.000+00:00",
1246
+ "2018-08-25T00:00:00.000+00:00",
1247
+ "2018-08-26T00:00:00.000+00:00"
1248
+ ]
1249
+ ],
1250
+ "fields": [
1251
+ {
1252
+ "name": "foo"
1253
+ },
1254
+ {
1255
+ "name": "_time"
1256
+ }
1257
+ ]
1258
+ },
1259
+ "meta": {}
1260
+ }
1261
+ }
1262
+ }
1263
+ ```
1264
+
1265
+ ## Show Sparkline Area Graph - True, Sparkline Area Color - Blue
1266
+
1267
+ - **Key:** Fill Color
1268
+
1269
+ ```json
1270
+ {
1271
+ "type": "splunk.singlevalue",
1272
+ "context": {},
1273
+ "options": {
1274
+ "sparklineAreaColor": "#0000FF",
1275
+ "showSparklineAreaGraph": true
1276
+ },
1277
+ "dataSources": {
1278
+ "primary": {
1279
+ "data": {
1280
+ "columns": [
1281
+ [
1282
+ "1",
1283
+ "62",
1284
+ "103",
1285
+ "308",
1286
+ "587",
1287
+ "876",
1288
+ "930",
1289
+ "1320"
1290
+ ],
1291
+ [
1292
+ "2018-08-19T00:00:00.000+00:00",
1293
+ "2018-08-20T00:00:00.000+00:00",
1294
+ "2018-08-21T00:00:00.000+00:00",
1295
+ "2018-08-22T00:00:00.000+00:00",
1296
+ "2018-08-23T00:00:00.000+00:00",
1297
+ "2018-08-24T00:00:00.000+00:00",
1298
+ "2018-08-25T00:00:00.000+00:00",
1299
+ "2018-08-26T00:00:00.000+00:00"
1300
+ ]
1301
+ ],
1302
+ "fields": [
1303
+ {
1304
+ "name": "foo"
1305
+ },
1306
+ {
1307
+ "name": "_time"
1308
+ }
1309
+ ]
1310
+ },
1311
+ "meta": {}
1312
+ }
1313
+ }
1314
+ }
1315
+ ```
1316
+
1317
+ ## Show Sparkline Area Graph - True, Sparkline Area Color - Red
1318
+
1319
+ - **Key:** Color Data Series Area Graph
1320
+
1321
+ ```json
1322
+ {
1323
+ "type": "splunk.singlevalue",
1324
+ "context": {},
1325
+ "options": {
1326
+ "showSparklineAreaGraph": true,
1327
+ "sparklineAreaColor": "#FF0000"
1328
+ },
1329
+ "dataSources": {
1330
+ "primary": {
1331
+ "data": {
1332
+ "columns": [
1333
+ [
1334
+ "1",
1335
+ "62",
1336
+ "103",
1337
+ "308",
1338
+ "587",
1339
+ "876",
1340
+ "930",
1341
+ "1320"
1342
+ ],
1343
+ [
1344
+ "#FF0000",
1345
+ "#00FFFF",
1346
+ "#0000FF",
1347
+ "#800080",
1348
+ "#FFFF00",
1349
+ "#FFA500",
1350
+ "#A52A2A",
1351
+ "#008000"
1352
+ ]
1353
+ ],
1354
+ "fields": [
1355
+ {
1356
+ "name": "foo"
1357
+ },
1358
+ {
1359
+ "name": "bar"
1360
+ }
1361
+ ]
1362
+ },
1363
+ "meta": {}
1364
+ }
1365
+ }
1366
+ }
1367
+ ```
1368
+
1369
+ ## Show Sparkline Area Graph - True, Sparkline Area Color - Based on Major Value
1370
+
1371
+ - **Key:** Fill Color Using Major Value
1372
+
1373
+ ```json
1374
+ {
1375
+ "type": "splunk.singlevalue",
1376
+ "context": {
1377
+ "areaColors": [
1378
+ {
1379
+ "from": 1321,
1380
+ "value": "#00FF00"
1381
+ },
1382
+ {
1383
+ "to": 1321,
1384
+ "value": "#00FFFF"
1385
+ }
1386
+ ]
1387
+ },
1388
+ "options": {
1389
+ "majorValue": "> primary | seriesByIndex(0) | lastPoint()",
1390
+ "sparklineAreaColor": "> majorValue | rangeValue(areaColors)",
1391
+ "showSparklineAreaGraph": true
1392
+ },
1393
+ "dataSources": {
1394
+ "primary": {
1395
+ "data": {
1396
+ "columns": [
1397
+ [
1398
+ "1",
1399
+ "62",
1400
+ "103",
1401
+ "308",
1402
+ "587",
1403
+ "876",
1404
+ "930",
1405
+ "1320"
1406
+ ],
1407
+ [
1408
+ "2018-08-19T00:00:00.000+00:00",
1409
+ "2018-08-20T00:00:00.000+00:00",
1410
+ "2018-08-21T00:00:00.000+00:00",
1411
+ "2018-08-22T00:00:00.000+00:00",
1412
+ "2018-08-23T00:00:00.000+00:00",
1413
+ "2018-08-24T00:00:00.000+00:00",
1414
+ "2018-08-25T00:00:00.000+00:00",
1415
+ "2018-08-26T00:00:00.000+00:00"
1416
+ ]
1417
+ ],
1418
+ "fields": [
1419
+ {
1420
+ "name": "foo"
1421
+ },
1422
+ {
1423
+ "name": "_time"
1424
+ }
1425
+ ]
1426
+ },
1427
+ "meta": {}
1428
+ }
1429
+ }
1430
+ }
1431
+ ```
1432
+
1433
+ ## Show Sparkline Area Graph - True, Sparkline Area Color - Based on Trend Value
1434
+
1435
+ - **Key:** Fill Color Using Trend Value
1436
+
1437
+ ```json
1438
+ {
1439
+ "type": "splunk.singlevalue",
1440
+ "context": {
1441
+ "areaColors": [
1442
+ {
1443
+ "from": 391,
1444
+ "value": "#00FF00"
1445
+ },
1446
+ {
1447
+ "to": 391,
1448
+ "value": "#FF00FF"
1449
+ }
1450
+ ]
1451
+ },
1452
+ "options": {
1453
+ "trendValue": "> primary | seriesByIndex(0) | delta(-2)",
1454
+ "sparklineAreaColor": "> trendValue | rangeValue(areaColors)",
1455
+ "showSparklineAreaGraph": true
1456
+ },
1457
+ "dataSources": {
1458
+ "primary": {
1459
+ "data": {
1460
+ "columns": [
1461
+ [
1462
+ "1",
1463
+ "62",
1464
+ "103",
1465
+ "308",
1466
+ "587",
1467
+ "876",
1468
+ "930",
1469
+ "1320"
1470
+ ],
1471
+ [
1472
+ "2018-08-19T00:00:00.000+00:00",
1473
+ "2018-08-20T00:00:00.000+00:00",
1474
+ "2018-08-21T00:00:00.000+00:00",
1475
+ "2018-08-22T00:00:00.000+00:00",
1476
+ "2018-08-23T00:00:00.000+00:00",
1477
+ "2018-08-24T00:00:00.000+00:00",
1478
+ "2018-08-25T00:00:00.000+00:00",
1479
+ "2018-08-26T00:00:00.000+00:00"
1480
+ ]
1481
+ ],
1482
+ "fields": [
1483
+ {
1484
+ "name": "foo"
1485
+ },
1486
+ {
1487
+ "name": "_time"
1488
+ }
1489
+ ]
1490
+ },
1491
+ "meta": {}
1492
+ }
1493
+ }
1494
+ }
1495
+ ```
1496
+
1497
+ ## Show Sparkline Area Graph - True, Sparkline Highlight Dots - 4, Sparkline Highlight Segments - 3
1498
+
1499
+ - **Key:** Sparkline High Light
1500
+
1501
+ ```json
1502
+ {
1503
+ "type": "splunk.singlevalue",
1504
+ "context": {},
1505
+ "options": {
1506
+ "sparklineHighlightSegments": 3,
1507
+ "sparklineHighlightDots": 4,
1508
+ "showSparklineAreaGraph": true
1509
+ },
1510
+ "dataSources": {
1511
+ "primary": {
1512
+ "data": {
1513
+ "columns": [
1514
+ [
1515
+ "1",
1516
+ "62",
1517
+ "103",
1518
+ "308",
1519
+ "587",
1520
+ "876",
1521
+ "930",
1522
+ "1320"
1523
+ ],
1524
+ [
1525
+ "2018-08-19T00:00:00.000+00:00",
1526
+ "2018-08-20T00:00:00.000+00:00",
1527
+ "2018-08-21T00:00:00.000+00:00",
1528
+ "2018-08-22T00:00:00.000+00:00",
1529
+ "2018-08-23T00:00:00.000+00:00",
1530
+ "2018-08-24T00:00:00.000+00:00",
1531
+ "2018-08-25T00:00:00.000+00:00",
1532
+ "2018-08-26T00:00:00.000+00:00"
1533
+ ]
1534
+ ],
1535
+ "fields": [
1536
+ {
1537
+ "name": "foo"
1538
+ },
1539
+ {
1540
+ "name": "_time"
1541
+ }
1542
+ ]
1543
+ },
1544
+ "meta": {}
1545
+ }
1546
+ }
1547
+ }
1548
+ ```
1549
+
1550
+ ## Sparkline Display - Off
1551
+
1552
+ - **Key:** No Sparkline
1553
+
1554
+ ```json
1555
+ {
1556
+ "type": "splunk.singlevalue",
1557
+ "context": {},
1558
+ "options": {
1559
+ "sparklineDisplay": "off"
1560
+ },
1561
+ "dataSources": {
1562
+ "primary": {
1563
+ "data": {
1564
+ "columns": [
1565
+ [
1566
+ "1",
1567
+ "62",
1568
+ "103",
1569
+ "308",
1570
+ "587",
1571
+ "876",
1572
+ "930",
1573
+ "1320"
1574
+ ],
1575
+ [
1576
+ "2018-08-19T00:00:00.000+00:00",
1577
+ "2018-08-20T00:00:00.000+00:00",
1578
+ "2018-08-21T00:00:00.000+00:00",
1579
+ "2018-08-22T00:00:00.000+00:00",
1580
+ "2018-08-23T00:00:00.000+00:00",
1581
+ "2018-08-24T00:00:00.000+00:00",
1582
+ "2018-08-25T00:00:00.000+00:00",
1583
+ "2018-08-26T00:00:00.000+00:00"
1584
+ ]
1585
+ ],
1586
+ "fields": [
1587
+ {
1588
+ "name": "foo"
1589
+ },
1590
+ {
1591
+ "name": "_time"
1592
+ }
1593
+ ]
1594
+ },
1595
+ "meta": {}
1596
+ }
1597
+ }
1598
+ }
1599
+ ```
1600
+
1601
+ ## Sparkline Display - Before
1602
+
1603
+ - **Key:** Sparkline Before
1604
+
1605
+ ```json
1606
+ {
1607
+ "type": "splunk.singlevalue",
1608
+ "context": {},
1609
+ "options": {
1610
+ "sparklineDisplay": "before"
1611
+ },
1612
+ "dataSources": {
1613
+ "primary": {
1614
+ "data": {
1615
+ "columns": [
1616
+ [
1617
+ "1",
1618
+ "62",
1619
+ "103",
1620
+ "308",
1621
+ "587",
1622
+ "876",
1623
+ "930",
1624
+ "1320"
1625
+ ],
1626
+ [
1627
+ "2018-08-19T00:00:00.000+00:00",
1628
+ "2018-08-20T00:00:00.000+00:00",
1629
+ "2018-08-21T00:00:00.000+00:00",
1630
+ "2018-08-22T00:00:00.000+00:00",
1631
+ "2018-08-23T00:00:00.000+00:00",
1632
+ "2018-08-24T00:00:00.000+00:00",
1633
+ "2018-08-25T00:00:00.000+00:00",
1634
+ "2018-08-26T00:00:00.000+00:00"
1635
+ ]
1636
+ ],
1637
+ "fields": [
1638
+ {
1639
+ "name": "foo"
1640
+ },
1641
+ {
1642
+ "name": "_time"
1643
+ }
1644
+ ]
1645
+ },
1646
+ "meta": {}
1647
+ }
1648
+ }
1649
+ }
1650
+ ```
1651
+
1652
+ ## Sparkline Display - After, Show Sparkline Tooltip - True
1653
+
1654
+ - **Key:** Sparkline After
1655
+
1656
+ ```json
1657
+ {
1658
+ "type": "splunk.singlevalue",
1659
+ "context": {},
1660
+ "options": {
1661
+ "sparklineDisplay": "after",
1662
+ "showSparklineTooltip": true
1663
+ },
1664
+ "dataSources": {
1665
+ "primary": {
1666
+ "data": {
1667
+ "columns": [
1668
+ [
1669
+ "1",
1670
+ "62",
1671
+ "103",
1672
+ "308",
1673
+ "587",
1674
+ "876",
1675
+ "930",
1676
+ "1320"
1677
+ ],
1678
+ [
1679
+ "2018-08-19T00:00:00.000+00:00",
1680
+ "2018-08-20T00:00:00.000+00:00",
1681
+ "2018-08-21T00:00:00.000+00:00",
1682
+ "2018-08-22T00:00:00.000+00:00",
1683
+ "2018-08-23T00:00:00.000+00:00",
1684
+ "2018-08-24T00:00:00.000+00:00",
1685
+ "2018-08-25T00:00:00.000+00:00",
1686
+ "2018-08-26T00:00:00.000+00:00"
1687
+ ]
1688
+ ],
1689
+ "fields": [
1690
+ {
1691
+ "name": "foo"
1692
+ },
1693
+ {
1694
+ "name": "_time"
1695
+ }
1696
+ ]
1697
+ },
1698
+ "meta": {}
1699
+ }
1700
+ }
1701
+ }
1702
+ ```
1703
+
1704
+ ## Sparkline Stroke Color - Red
1705
+
1706
+ - **Key:** Stroke Color
1707
+
1708
+ ```json
1709
+ {
1710
+ "type": "splunk.singlevalue",
1711
+ "context": {},
1712
+ "options": {
1713
+ "sparklineStrokeColor": "#FF0000"
1714
+ },
1715
+ "dataSources": {
1716
+ "primary": {
1717
+ "data": {
1718
+ "columns": [
1719
+ [
1720
+ "1",
1721
+ "62",
1722
+ "103",
1723
+ "308",
1724
+ "587",
1725
+ "876",
1726
+ "930",
1727
+ "1320"
1728
+ ],
1729
+ [
1730
+ "2018-08-19T00:00:00.000+00:00",
1731
+ "2018-08-20T00:00:00.000+00:00",
1732
+ "2018-08-21T00:00:00.000+00:00",
1733
+ "2018-08-22T00:00:00.000+00:00",
1734
+ "2018-08-23T00:00:00.000+00:00",
1735
+ "2018-08-24T00:00:00.000+00:00",
1736
+ "2018-08-25T00:00:00.000+00:00",
1737
+ "2018-08-26T00:00:00.000+00:00"
1738
+ ]
1739
+ ],
1740
+ "fields": [
1741
+ {
1742
+ "name": "foo"
1743
+ },
1744
+ {
1745
+ "name": "_time"
1746
+ }
1747
+ ]
1748
+ },
1749
+ "meta": {}
1750
+ }
1751
+ }
1752
+ }
1753
+ ```
1754
+
1755
+ ## Sparkline Stroke Color - Based on Major Value
1756
+
1757
+ - **Key:** Stroke Color Using Major Value
1758
+
1759
+ ```json
1760
+ {
1761
+ "type": "splunk.singlevalue",
1762
+ "context": {
1763
+ "strokeColorThresholds": [
1764
+ {
1765
+ "from": 1321,
1766
+ "value": "#00FF00"
1767
+ },
1768
+ {
1769
+ "to": 1321,
1770
+ "value": "#00FFFF"
1771
+ }
1772
+ ]
1773
+ },
1774
+ "options": {
1775
+ "majorValue": "> primary | seriesByIndex(0) | lastPoint()",
1776
+ "sparklineStrokeColor": "> majorValue | rangeValue(strokeColorThresholds)"
1777
+ },
1778
+ "dataSources": {
1779
+ "primary": {
1780
+ "data": {
1781
+ "columns": [
1782
+ [
1783
+ "1",
1784
+ "62",
1785
+ "103",
1786
+ "308",
1787
+ "587",
1788
+ "876",
1789
+ "930",
1790
+ "1320"
1791
+ ],
1792
+ [
1793
+ "2018-08-19T00:00:00.000+00:00",
1794
+ "2018-08-20T00:00:00.000+00:00",
1795
+ "2018-08-21T00:00:00.000+00:00",
1796
+ "2018-08-22T00:00:00.000+00:00",
1797
+ "2018-08-23T00:00:00.000+00:00",
1798
+ "2018-08-24T00:00:00.000+00:00",
1799
+ "2018-08-25T00:00:00.000+00:00",
1800
+ "2018-08-26T00:00:00.000+00:00"
1801
+ ]
1802
+ ],
1803
+ "fields": [
1804
+ {
1805
+ "name": "foo"
1806
+ },
1807
+ {
1808
+ "name": "_time"
1809
+ }
1810
+ ]
1811
+ },
1812
+ "meta": {}
1813
+ }
1814
+ }
1815
+ }
1816
+ ```
1817
+
1818
+ ## Sparkline Stroke Color - Based on Trend Value
1819
+
1820
+ - **Key:** Stroke Color Using Trend Value
1821
+
1822
+ ```json
1823
+ {
1824
+ "type": "splunk.singlevalue",
1825
+ "context": {
1826
+ "strokeColorThresholds": [
1827
+ {
1828
+ "from": 391,
1829
+ "value": "#00FF00"
1830
+ },
1831
+ {
1832
+ "to": 391,
1833
+ "value": "#FF00FF"
1834
+ }
1835
+ ]
1836
+ },
1837
+ "options": {
1838
+ "trendValue": "> primary | seriesByIndex(0) | delta(-2)",
1839
+ "sparklineStrokeColor": "> trendValue | rangeValue(strokeColorThresholds)"
1840
+ },
1841
+ "dataSources": {
1842
+ "primary": {
1843
+ "data": {
1844
+ "columns": [
1845
+ [
1846
+ "1",
1847
+ "62",
1848
+ "103",
1849
+ "308",
1850
+ "587",
1851
+ "876",
1852
+ "930",
1853
+ "1320"
1854
+ ],
1855
+ [
1856
+ "2018-08-19T00:00:00.000+00:00",
1857
+ "2018-08-20T00:00:00.000+00:00",
1858
+ "2018-08-21T00:00:00.000+00:00",
1859
+ "2018-08-22T00:00:00.000+00:00",
1860
+ "2018-08-23T00:00:00.000+00:00",
1861
+ "2018-08-24T00:00:00.000+00:00",
1862
+ "2018-08-25T00:00:00.000+00:00",
1863
+ "2018-08-26T00:00:00.000+00:00"
1864
+ ]
1865
+ ],
1866
+ "fields": [
1867
+ {
1868
+ "name": "foo"
1869
+ },
1870
+ {
1871
+ "name": "_time"
1872
+ }
1873
+ ]
1874
+ },
1875
+ "meta": {}
1876
+ }
1877
+ }
1878
+ }
1879
+ ```
1880
+
1881
+ ## Sparkline Values - Based on Foo Field
1882
+
1883
+ - **Key:** Field Foo
1884
+
1885
+ ```json
1886
+ {
1887
+ "type": "splunk.singlevalue",
1888
+ "context": {},
1889
+ "options": {
1890
+ "sparklineValues": "> primary | seriesByName(\"foo\")"
1891
+ },
1892
+ "dataSources": {
1893
+ "primary": {
1894
+ "data": {
1895
+ "columns": [
1896
+ [
1897
+ "1",
1898
+ "62",
1899
+ "103",
1900
+ "308",
1901
+ "587",
1902
+ "876",
1903
+ "930",
1904
+ "1320"
1905
+ ],
1906
+ [
1907
+ "1",
1908
+ "2",
1909
+ "3",
1910
+ "4",
1911
+ "5",
1912
+ "6",
1913
+ "7",
1914
+ "3200"
1915
+ ]
1916
+ ],
1917
+ "fields": [
1918
+ {
1919
+ "name": "foo"
1920
+ },
1921
+ {
1922
+ "name": "bar"
1923
+ }
1924
+ ]
1925
+ },
1926
+ "meta": {}
1927
+ }
1928
+ }
1929
+ }
1930
+ ```
1931
+
1932
+ ## Sparkline Values - Based on Bar Field
1933
+
1934
+ - **Key:** Field Bar
1935
+
1936
+ ```json
1937
+ {
1938
+ "type": "splunk.singlevalue",
1939
+ "context": {},
1940
+ "options": {
1941
+ "sparklineValues": "> primary | seriesByName(\"bar\")"
1942
+ },
1943
+ "dataSources": {
1944
+ "primary": {
1945
+ "data": {
1946
+ "columns": [
1947
+ [
1948
+ "1",
1949
+ "62",
1950
+ "103",
1951
+ "308",
1952
+ "587",
1953
+ "876",
1954
+ "930",
1955
+ "1320"
1956
+ ],
1957
+ [
1958
+ "1",
1959
+ "2",
1960
+ "3",
1961
+ "4",
1962
+ "5",
1963
+ "6",
1964
+ "7",
1965
+ "3200"
1966
+ ]
1967
+ ],
1968
+ "fields": [
1969
+ {
1970
+ "name": "foo"
1971
+ },
1972
+ {
1973
+ "name": "bar"
1974
+ }
1975
+ ]
1976
+ },
1977
+ "meta": {}
1978
+ }
1979
+ }
1980
+ }
1981
+ ```
1982
+
1983
+ ## Trend Color - Red
1984
+
1985
+ - **Key:** Trend Color
1986
+
1987
+ ```json
1988
+ {
1989
+ "type": "splunk.singlevalue",
1990
+ "context": {},
1991
+ "options": {
1992
+ "trendColor": "#FF0000"
1993
+ },
1994
+ "dataSources": {
1995
+ "primary": {
1996
+ "data": {
1997
+ "columns": [
1998
+ [
1999
+ "1",
2000
+ "62",
2001
+ "103",
2002
+ "308",
2003
+ "587",
2004
+ "876",
2005
+ "930",
2006
+ "1320"
2007
+ ],
2008
+ [
2009
+ "2018-08-19T00:00:00.000+00:00",
2010
+ "2018-08-20T00:00:00.000+00:00",
2011
+ "2018-08-21T00:00:00.000+00:00",
2012
+ "2018-08-22T00:00:00.000+00:00",
2013
+ "2018-08-23T00:00:00.000+00:00",
2014
+ "2018-08-24T00:00:00.000+00:00",
2015
+ "2018-08-25T00:00:00.000+00:00",
2016
+ "2018-08-26T00:00:00.000+00:00"
2017
+ ]
2018
+ ],
2019
+ "fields": [
2020
+ {
2021
+ "name": "foo"
2022
+ },
2023
+ {
2024
+ "name": "_time"
2025
+ }
2026
+ ]
2027
+ },
2028
+ "meta": {}
2029
+ }
2030
+ }
2031
+ }
2032
+ ```
2033
+
2034
+ ## Trend Color - Based on Custom Thresholds
2035
+
2036
+ - **Key:** Custom Trend Color Range
2037
+
2038
+ ```json
2039
+ {
2040
+ "type": "splunk.singlevalue",
2041
+ "context": {
2042
+ "trendColorThresholds": [
2043
+ {
2044
+ "from": 1321,
2045
+ "value": "#00FFFF"
2046
+ },
2047
+ {
2048
+ "to": 1321,
2049
+ "value": "#FF00FF"
2050
+ }
2051
+ ]
2052
+ },
2053
+ "options": {
2054
+ "trendValue": "> sparklineValues | delta(-2)",
2055
+ "trendColor": "> trendValue | rangeValue(trendColorThresholds)"
2056
+ },
2057
+ "dataSources": {
2058
+ "primary": {
2059
+ "data": {
2060
+ "columns": [
2061
+ [
2062
+ "1",
2063
+ "62",
2064
+ "103",
2065
+ "308",
2066
+ "587",
2067
+ "876",
2068
+ "930",
2069
+ "1320"
2070
+ ],
2071
+ [
2072
+ "2018-08-19T00:00:00.000+00:00",
2073
+ "2018-08-20T00:00:00.000+00:00",
2074
+ "2018-08-21T00:00:00.000+00:00",
2075
+ "2018-08-22T00:00:00.000+00:00",
2076
+ "2018-08-23T00:00:00.000+00:00",
2077
+ "2018-08-24T00:00:00.000+00:00",
2078
+ "2018-08-25T00:00:00.000+00:00",
2079
+ "2018-08-26T00:00:00.000+00:00"
2080
+ ]
2081
+ ],
2082
+ "fields": [
2083
+ {
2084
+ "name": "foo"
2085
+ },
2086
+ {
2087
+ "name": "_time"
2088
+ }
2089
+ ]
2090
+ },
2091
+ "meta": {}
2092
+ }
2093
+ }
2094
+ }
2095
+ ```
2096
+
2097
+ ## Trend Display - Off
2098
+
2099
+ - **Key:** No Trend Indicator
2100
+
2101
+ ```json
2102
+ {
2103
+ "type": "splunk.singlevalue",
2104
+ "context": {},
2105
+ "options": {
2106
+ "trendDisplay": "off"
2107
+ },
2108
+ "dataSources": {
2109
+ "primary": {
2110
+ "data": {
2111
+ "columns": [
2112
+ [
2113
+ "1",
2114
+ "62",
2115
+ "103",
2116
+ "308",
2117
+ "587",
2118
+ "876",
2119
+ "930",
2120
+ "1320"
2121
+ ],
2122
+ [
2123
+ "2018-08-19T00:00:00.000+00:00",
2124
+ "2018-08-20T00:00:00.000+00:00",
2125
+ "2018-08-21T00:00:00.000+00:00",
2126
+ "2018-08-22T00:00:00.000+00:00",
2127
+ "2018-08-23T00:00:00.000+00:00",
2128
+ "2018-08-24T00:00:00.000+00:00",
2129
+ "2018-08-25T00:00:00.000+00:00",
2130
+ "2018-08-26T00:00:00.000+00:00"
2131
+ ]
2132
+ ],
2133
+ "fields": [
2134
+ {
2135
+ "name": "foo"
2136
+ },
2137
+ {
2138
+ "name": "_time"
2139
+ }
2140
+ ]
2141
+ },
2142
+ "meta": {}
2143
+ }
2144
+ }
2145
+ }
2146
+ ```
2147
+
2148
+ ## Trend Display - Percent
2149
+
2150
+ - **Key:** Trend Mode Percent
2151
+
2152
+ ```json
2153
+ {
2154
+ "type": "splunk.singlevalue",
2155
+ "context": {},
2156
+ "options": {
2157
+ "trendDisplay": "percent"
2158
+ },
2159
+ "dataSources": {
2160
+ "primary": {
2161
+ "data": {
2162
+ "columns": [
2163
+ [
2164
+ "1",
2165
+ "62",
2166
+ "103",
2167
+ "308",
2168
+ "587",
2169
+ "876",
2170
+ "930",
2171
+ "1320"
2172
+ ],
2173
+ [
2174
+ "2018-08-19T00:00:00.000+00:00",
2175
+ "2018-08-20T00:00:00.000+00:00",
2176
+ "2018-08-21T00:00:00.000+00:00",
2177
+ "2018-08-22T00:00:00.000+00:00",
2178
+ "2018-08-23T00:00:00.000+00:00",
2179
+ "2018-08-24T00:00:00.000+00:00",
2180
+ "2018-08-25T00:00:00.000+00:00",
2181
+ "2018-08-26T00:00:00.000+00:00"
2182
+ ]
2183
+ ],
2184
+ "fields": [
2185
+ {
2186
+ "name": "foo"
2187
+ },
2188
+ {
2189
+ "name": "_time"
2190
+ }
2191
+ ]
2192
+ },
2193
+ "meta": {}
2194
+ }
2195
+ }
2196
+ }
2197
+ ```
2198
+
2199
+ ## Trend Value - Based on Foo Field
2200
+
2201
+ - **Key:** Trendvaluefoo
2202
+
2203
+ ```json
2204
+ {
2205
+ "type": "splunk.singlevalue",
2206
+ "context": {},
2207
+ "options": {
2208
+ "trendValue": "> primary | seriesByName(\"foo\") | delta(-2)"
2209
+ },
2210
+ "dataSources": {
2211
+ "primary": {
2212
+ "data": {
2213
+ "columns": [
2214
+ [
2215
+ "1",
2216
+ "62",
2217
+ "103",
2218
+ "308",
2219
+ "587",
2220
+ "876",
2221
+ "930",
2222
+ "1320"
2223
+ ],
2224
+ [
2225
+ "2018-08-19T00:00:00.000+00:00",
2226
+ "2018-08-20T00:00:00.000+00:00",
2227
+ "2018-08-21T00:00:00.000+00:00",
2228
+ "2018-08-22T00:00:00.000+00:00",
2229
+ "2018-08-23T00:00:00.000+00:00",
2230
+ "2018-08-24T00:00:00.000+00:00",
2231
+ "2018-08-25T00:00:00.000+00:00",
2232
+ "2018-08-26T00:00:00.000+00:00"
2233
+ ]
2234
+ ],
2235
+ "fields": [
2236
+ {
2237
+ "name": "foo"
2238
+ },
2239
+ {
2240
+ "name": "_time"
2241
+ }
2242
+ ]
2243
+ },
2244
+ "meta": {}
2245
+ }
2246
+ }
2247
+ }
2248
+ ```
2249
+
2250
+ ## Trend Value - Based on Bar Field
2251
+
2252
+ - **Key:** Trend Value Bar
2253
+
2254
+ ```json
2255
+ {
2256
+ "type": "splunk.singlevalue",
2257
+ "context": {},
2258
+ "options": {
2259
+ "sparklineValues": "> primary | seriesByName(\"bar\")",
2260
+ "majorValue": "> sparklineValues | lastPoint()",
2261
+ "trendValue": "> sparklineValues | delta(-2)"
2262
+ },
2263
+ "dataSources": {
2264
+ "primary": {
2265
+ "data": {
2266
+ "columns": [
2267
+ [
2268
+ "1",
2269
+ "62",
2270
+ "103",
2271
+ "308",
2272
+ "587",
2273
+ "876",
2274
+ "930",
2275
+ "1320"
2276
+ ],
2277
+ [
2278
+ "1",
2279
+ "2",
2280
+ "3",
2281
+ "4",
2282
+ "5",
2283
+ "6",
2284
+ "7",
2285
+ "3200"
2286
+ ]
2287
+ ],
2288
+ "fields": [
2289
+ {
2290
+ "name": "foo"
2291
+ },
2292
+ {
2293
+ "name": "bar"
2294
+ }
2295
+ ]
2296
+ },
2297
+ "meta": {}
2298
+ }
2299
+ }
2300
+ }
2301
+ ```
2302
+
2303
+ ## Trend Value - Based on difference between the first and last data points
2304
+
2305
+ - **Key:** Trendvaluecustomcomparator
2306
+
2307
+ ```json
2308
+ {
2309
+ "type": "splunk.singlevalue",
2310
+ "context": {},
2311
+ "options": {
2312
+ "sparklineValues": "> primary | seriesByName(\"foo\")",
2313
+ "majorValue": "> sparklineValues | lastPoint()",
2314
+ "trendValue": "> sparklineValues | delta(0)"
2315
+ },
2316
+ "dataSources": {
2317
+ "primary": {
2318
+ "data": {
2319
+ "columns": [
2320
+ [
2321
+ "1",
2322
+ "62",
2323
+ "103",
2324
+ "308",
2325
+ "587",
2326
+ "876",
2327
+ "930",
2328
+ "1320"
2329
+ ],
2330
+ [
2331
+ "2018-08-19T00:00:00.000+00:00",
2332
+ "2018-08-20T00:00:00.000+00:00",
2333
+ "2018-08-21T00:00:00.000+00:00",
2334
+ "2018-08-22T00:00:00.000+00:00",
2335
+ "2018-08-23T00:00:00.000+00:00",
2336
+ "2018-08-24T00:00:00.000+00:00",
2337
+ "2018-08-25T00:00:00.000+00:00",
2338
+ "2018-08-26T00:00:00.000+00:00"
2339
+ ]
2340
+ ],
2341
+ "fields": [
2342
+ {
2343
+ "name": "foo"
2344
+ },
2345
+ {
2346
+ "name": "_time"
2347
+ }
2348
+ ]
2349
+ },
2350
+ "meta": {}
2351
+ }
2352
+ }
2353
+ }
2354
+ ```
2355
+
2356
+ ## Under Label - Specified
2357
+
2358
+ - **Key:** Under Label
2359
+
2360
+ ```json
2361
+ {
2362
+ "type": "splunk.singlevalue",
2363
+ "context": {},
2364
+ "options": {
2365
+ "underLabel": "Under Label Test"
2366
+ },
2367
+ "dataSources": {
2368
+ "primary": {
2369
+ "data": {
2370
+ "columns": [
2371
+ [
2372
+ "1",
2373
+ "62",
2374
+ "103",
2375
+ "308",
2376
+ "587",
2377
+ "876",
2378
+ "930",
2379
+ "1320"
2380
+ ],
2381
+ [
2382
+ "2018-08-19T00:00:00.000+00:00",
2383
+ "2018-08-20T00:00:00.000+00:00",
2384
+ "2018-08-21T00:00:00.000+00:00",
2385
+ "2018-08-22T00:00:00.000+00:00",
2386
+ "2018-08-23T00:00:00.000+00:00",
2387
+ "2018-08-24T00:00:00.000+00:00",
2388
+ "2018-08-25T00:00:00.000+00:00",
2389
+ "2018-08-26T00:00:00.000+00:00"
2390
+ ]
2391
+ ],
2392
+ "fields": [
2393
+ {
2394
+ "name": "foo"
2395
+ },
2396
+ {
2397
+ "name": "_time"
2398
+ }
2399
+ ]
2400
+ },
2401
+ "meta": {}
2402
+ }
2403
+ }
2404
+ }
2405
+ ```
2406
+
2407
+ ## Under Label - Specified, Under Label Font Size - 30
2408
+
2409
+ - **Key:** Underlabelcustomfontsize
2410
+
2411
+ ```json
2412
+ {
2413
+ "type": "splunk.singlevalue",
2414
+ "context": {},
2415
+ "options": {
2416
+ "underLabel": "Under Label Test",
2417
+ "underLabelFontSize": 30
2418
+ },
2419
+ "dataSources": {
2420
+ "primary": {
2421
+ "data": {
2422
+ "columns": [
2423
+ [
2424
+ "1",
2425
+ "62",
2426
+ "103",
2427
+ "308",
2428
+ "587",
2429
+ "876",
2430
+ "930",
2431
+ "1320"
2432
+ ],
2433
+ [
2434
+ "2018-08-19T00:00:00.000+00:00",
2435
+ "2018-08-20T00:00:00.000+00:00",
2436
+ "2018-08-21T00:00:00.000+00:00",
2437
+ "2018-08-22T00:00:00.000+00:00",
2438
+ "2018-08-23T00:00:00.000+00:00",
2439
+ "2018-08-24T00:00:00.000+00:00",
2440
+ "2018-08-25T00:00:00.000+00:00",
2441
+ "2018-08-26T00:00:00.000+00:00"
2442
+ ]
2443
+ ],
2444
+ "fields": [
2445
+ {
2446
+ "name": "foo"
2447
+ },
2448
+ {
2449
+ "name": "_time"
2450
+ }
2451
+ ]
2452
+ },
2453
+ "meta": {}
2454
+ }
2455
+ }
2456
+ }
2457
+ ```
2458
+
2459
+ ## Unit - Specified
2460
+
2461
+ - **Key:** Unit After
2462
+
2463
+ ```json
2464
+ {
2465
+ "type": "splunk.singlevalue",
2466
+ "context": {},
2467
+ "options": {
2468
+ "unit": " Total"
2469
+ },
2470
+ "dataSources": {
2471
+ "primary": {
2472
+ "data": {
2473
+ "columns": [
2474
+ [
2475
+ "1",
2476
+ "62",
2477
+ "103",
2478
+ "308",
2479
+ "587",
2480
+ "876",
2481
+ "930",
2482
+ "1320"
2483
+ ],
2484
+ [
2485
+ "2018-08-19T00:00:00.000+00:00",
2486
+ "2018-08-20T00:00:00.000+00:00",
2487
+ "2018-08-21T00:00:00.000+00:00",
2488
+ "2018-08-22T00:00:00.000+00:00",
2489
+ "2018-08-23T00:00:00.000+00:00",
2490
+ "2018-08-24T00:00:00.000+00:00",
2491
+ "2018-08-25T00:00:00.000+00:00",
2492
+ "2018-08-26T00:00:00.000+00:00"
2493
+ ]
2494
+ ],
2495
+ "fields": [
2496
+ {
2497
+ "name": "foo"
2498
+ },
2499
+ {
2500
+ "name": "_time"
2501
+ }
2502
+ ]
2503
+ },
2504
+ "meta": {}
2505
+ }
2506
+ }
2507
+ }
2508
+ ```
2509
+
2510
+ ## Unit - Specified, Unit Position - Before
2511
+
2512
+ - **Key:** Unit Before
2513
+
2514
+ ```json
2515
+ {
2516
+ "type": "splunk.singlevalue",
2517
+ "context": {},
2518
+ "options": {
2519
+ "unit": "$",
2520
+ "unitPosition": "before"
2521
+ },
2522
+ "dataSources": {
2523
+ "primary": {
2524
+ "data": {
2525
+ "columns": [
2526
+ [
2527
+ "1",
2528
+ "62",
2529
+ "103",
2530
+ "308",
2531
+ "587",
2532
+ "876",
2533
+ "930",
2534
+ "1320"
2535
+ ],
2536
+ [
2537
+ "2018-08-19T00:00:00.000+00:00",
2538
+ "2018-08-20T00:00:00.000+00:00",
2539
+ "2018-08-21T00:00:00.000+00:00",
2540
+ "2018-08-22T00:00:00.000+00:00",
2541
+ "2018-08-23T00:00:00.000+00:00",
2542
+ "2018-08-24T00:00:00.000+00:00",
2543
+ "2018-08-25T00:00:00.000+00:00",
2544
+ "2018-08-26T00:00:00.000+00:00"
2545
+ ]
2546
+ ],
2547
+ "fields": [
2548
+ {
2549
+ "name": "foo"
2550
+ },
2551
+ {
2552
+ "name": "_time"
2553
+ }
2554
+ ]
2555
+ },
2556
+ "meta": {}
2557
+ }
2558
+ }
2559
+ }
2560
+ ```
2561
+
2562
+ ## Trellis
2563
+
2564
+ - **Key:** Trellis
2565
+
2566
+ ```json
2567
+ {
2568
+ "type": "splunk.singlevalue",
2569
+ "context": {},
2570
+ "options": {
2571
+ "splitByLayout": "trellis",
2572
+ "trellisSplitBy": "component",
2573
+ "trellisColumns": 3,
2574
+ "trellis": {
2575
+ "minColumnWidth": 400
2576
+ }
2577
+ },
2578
+ "dataSources": {
2579
+ "primary": {
2580
+ "data": {
2581
+ "fields": [
2582
+ {
2583
+ "name": "component",
2584
+ "groupby_rank": "0"
2585
+ },
2586
+ {
2587
+ "name": "foo"
2588
+ }
2589
+ ],
2590
+ "columns": [
2591
+ [
2592
+ "Database",
2593
+ "API",
2594
+ "Cache",
2595
+ "Queue",
2596
+ "Frontend",
2597
+ "Backend"
2598
+ ],
2599
+ [
2600
+ "1523",
2601
+ "2847",
2602
+ "1956",
2603
+ "3124",
2604
+ "2135",
2605
+ "2689"
2606
+ ]
2607
+ ]
2608
+ },
2609
+ "meta": {}
2610
+ }
2611
+ }
2612
+ }
2613
+ ```