@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.
- package/Area.js +2 -2
- package/Bar.js +2 -2
- package/Bubble.js +2 -2
- package/CHANGELOG.external.md +19 -50
- package/ChoroplethSvg.js +2 -2
- package/Column.js +2 -2
- package/Ellipse.js +2 -2
- package/Events/PureEvents/FieldSummaryTooltip.d.ts +8 -31
- package/Events/PureEvents/FieldSummaryTooltip.d.ts.map +1 -1
- package/Events/PureEvents/PureEvents.d.ts.map +1 -1
- package/Events/PureEvents/TimeControlsPopover.d.ts +6 -25
- package/Events/PureEvents/TimeControlsPopover.d.ts.map +1 -1
- package/Events.js +27 -101
- package/Events.js.map +2 -2
- package/FillerGauge.js +2 -2
- package/Image.js +2 -2
- package/Line.js +2 -2
- package/LinkGraph.js +2 -2
- package/Map/Map.d.ts +1 -0
- package/Map/Map.d.ts.map +1 -1
- package/Map/PureMap/BubbleLayer.d.ts +22 -4
- package/Map/PureMap/BubbleLayer.d.ts.map +1 -1
- package/Map/PureMap/ChoroplethLayer.d.ts +9 -1
- package/Map/PureMap/ChoroplethLayer.d.ts.map +1 -1
- package/Map/PureMap/ClusterLayer.d.ts +3 -1
- package/Map/PureMap/ClusterLayer.d.ts.map +1 -1
- package/Map/PureMap/LocalChoroplethLayer.d.ts +1 -0
- package/Map/PureMap/LocalChoroplethLayer.d.ts.map +1 -1
- package/Map/PureMap/MapContext.d.ts +13 -0
- package/Map/PureMap/MapContext.d.ts.map +1 -0
- package/Map/PureMap/MarkerLayer.d.ts +19 -2
- package/Map/PureMap/MarkerLayer.d.ts.map +1 -1
- package/Map/PureMap/MarkerWrapper.d.ts +3 -2
- package/Map/PureMap/MarkerWrapper.d.ts.map +1 -1
- package/Map/PureMap/PureMap.d.ts +1 -0
- package/Map/PureMap/PureMap.d.ts.map +1 -1
- package/Map/PureMap/PureMapContainer.d.ts.map +1 -1
- package/Map/PureMap/Tooltip.d.ts +6 -1
- package/Map/PureMap/Tooltip.d.ts.map +1 -1
- package/Map/PureMap/keyboardConstants.d.ts +11 -0
- package/Map/PureMap/keyboardConstants.d.ts.map +1 -0
- package/Map/PureMap/useRovingTabindex.d.ts +18 -0
- package/Map/PureMap/useRovingTabindex.d.ts.map +1 -0
- package/Map.js +1317 -478
- package/Map.js.map +4 -4
- package/Markdown/Markdown.d.ts.map +1 -1
- package/Markdown.js +23 -6
- package/Markdown.js.map +2 -2
- package/MarkerGauge.js +2 -2
- package/NetworkGraph/NetworkGraph.d.ts +2 -5
- package/NetworkGraph/NetworkGraph.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/PureNetworkGraph.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts +1 -0
- package/NetworkGraph/PureNetworkGraph/components/NetworkGraphSvg.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/components/Node.d.ts +1 -0
- package/NetworkGraph/PureNetworkGraph/components/Node.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts +1 -1
- package/NetworkGraph/PureNetworkGraph/components/Tooltip.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts +1 -0
- package/NetworkGraph/PureNetworkGraph/components/ZoomControls.d.ts.map +1 -1
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts +23 -0
- package/NetworkGraph/PureNetworkGraph/utils/networkGraphUtils.d.ts.map +1 -1
- package/NetworkGraph.config.js +2 -0
- package/NetworkGraph.config.js.map +2 -2
- package/NetworkGraph.js +353 -40
- package/NetworkGraph.js.map +4 -4
- package/ParallelCoordinates.js +2 -2
- package/Pie.js +2 -2
- package/ProcessTree/ProcessTree.d.ts +3 -1
- package/ProcessTree/ProcessTree.d.ts.map +1 -1
- package/ProcessTree/PureProcessTree/PureProcessTree.d.ts +1 -0
- package/ProcessTree/PureProcessTree/PureProcessTree.d.ts.map +1 -1
- package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts +2 -0
- package/ProcessTree/PureProcessTree/components/ProcessTreeLeftPanel.d.ts.map +1 -1
- package/ProcessTree/PureProcessTree/components/ProcessTreeRightPanel.d.ts.map +1 -1
- package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts +3 -1
- package/ProcessTree/PureProcessTree/hooks/useProcessTreeGraphData.d.ts.map +1 -1
- package/ProcessTree/PureProcessTree/mockdata/data.d.ts.map +1 -1
- package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts +3 -1
- package/ProcessTree/PureProcessTree/utils/processTreeUtils.d.ts.map +1 -1
- package/ProcessTree.js +101 -31
- package/ProcessTree.js.map +3 -3
- package/Punchcard.js +2 -2
- package/README.md +2 -0
- package/Rectangle.js +2 -2
- package/RichText.js +2 -2
- package/Sankey.js +2 -2
- package/Scatter.js +2 -2
- package/SingleValue.js +368 -471
- package/SingleValue.js.map +4 -4
- package/SingleValueIcon.js +2 -2
- package/SingleValueRadial.js +2 -2
- package/SparkLine/SparkLine.d.ts +57 -0
- package/SparkLine/SparkLine.d.ts.map +1 -0
- package/SparkLine/index.d.ts +1 -1
- package/SparkLine/index.d.ts.map +1 -1
- package/SparkLine.js +384 -485
- package/SparkLine.js.map +4 -4
- package/Table/PureTable.d.ts.map +1 -1
- package/Table/hooks.d.ts +1 -1
- package/Table/hooks.d.ts.map +1 -1
- package/Table.js +391 -493
- package/Table.js.map +4 -4
- package/Timeline.js +2 -2
- package/common/OptionsDoc.js.map +1 -1
- package/common/utils/mapUtils.js +512 -179
- package/common/utils/mapUtils.js.map +4 -4
- package/common/utils/shadowDomUtils.d.ts +2 -0
- package/common/utils/shadowDomUtils.d.ts.map +1 -0
- package/common/utils/shadowDomUtils.js +39 -0
- package/common/utils/shadowDomUtils.js.map +7 -0
- package/common/withDashboardViz.js +2 -2
- package/docs-llm/INDEX.md +118 -0
- package/docs-llm/area/examples-json.md +3854 -0
- package/docs-llm/area/examples-react.md +2816 -0
- package/docs-llm/area/options.md +97 -0
- package/docs-llm/area/overview.md +27 -0
- package/docs-llm/bar/examples-json.md +3380 -0
- package/docs-llm/bar/examples-react.md +2352 -0
- package/docs-llm/bar/options.md +89 -0
- package/docs-llm/bar/overview.md +25 -0
- package/docs-llm/bubble/examples-json.md +4082 -0
- package/docs-llm/bubble/examples-react.md +3977 -0
- package/docs-llm/bubble/options.md +62 -0
- package/docs-llm/bubble/overview.md +26 -0
- package/docs-llm/choropleth-svg/examples-json.md +397 -0
- package/docs-llm/choropleth-svg/examples-react.md +389 -0
- package/docs-llm/choropleth-svg/options.md +15 -0
- package/docs-llm/choropleth-svg/overview.md +23 -0
- package/docs-llm/column/examples-json.md +3898 -0
- package/docs-llm/column/examples-react.md +2653 -0
- package/docs-llm/column/options.md +94 -0
- package/docs-llm/column/overview.md +31 -0
- package/docs-llm/dsl/examples-json.md +43 -0
- package/docs-llm/dsl/examples-react.md +78 -0
- package/docs-llm/dsl/formatters/format-by-type-examples-json.md +58 -0
- package/docs-llm/dsl/formatters/format-by-type-examples-react.md +43 -0
- package/docs-llm/dsl/formatters/format-by-type.md +38 -0
- package/docs-llm/dsl/formatters/frame-examples-json.md +42 -0
- package/docs-llm/dsl/formatters/frame-examples-react.md +24 -0
- package/docs-llm/dsl/formatters/frame.md +6 -0
- package/docs-llm/dsl/formatters/gradient-examples-json.md +98 -0
- package/docs-llm/dsl/formatters/gradient-examples-react.md +44 -0
- package/docs-llm/dsl/formatters/gradient.md +23 -0
- package/docs-llm/dsl/formatters/lerp-examples-json.md +40 -0
- package/docs-llm/dsl/formatters/lerp-examples-react.md +28 -0
- package/docs-llm/dsl/formatters/lerp.md +19 -0
- package/docs-llm/dsl/formatters/match-value-examples-json.md +65 -0
- package/docs-llm/dsl/formatters/match-value-examples-react.md +37 -0
- package/docs-llm/dsl/formatters/match-value.md +13 -0
- package/docs-llm/dsl/formatters/max-contrast-examples-json.md +39 -0
- package/docs-llm/dsl/formatters/max-contrast-examples-react.md +27 -0
- package/docs-llm/dsl/formatters/max-contrast.md +9 -0
- package/docs-llm/dsl/formatters/multi-format-examples-json.md +67 -0
- package/docs-llm/dsl/formatters/multi-format-examples-react.md +49 -0
- package/docs-llm/dsl/formatters/multi-format.md +12 -0
- package/docs-llm/dsl/formatters/objects-examples-json.md +49 -0
- package/docs-llm/dsl/formatters/objects-examples-react.md +37 -0
- package/docs-llm/dsl/formatters/objects.md +3 -0
- package/docs-llm/dsl/formatters/pick-examples-json.md +59 -0
- package/docs-llm/dsl/formatters/pick-examples-react.md +30 -0
- package/docs-llm/dsl/formatters/pick.md +9 -0
- package/docs-llm/dsl/formatters/prefix-examples-json.md +29 -0
- package/docs-llm/dsl/formatters/prefix-examples-react.md +19 -0
- package/docs-llm/dsl/formatters/prefix.md +3 -0
- package/docs-llm/dsl/formatters/prepend-examples-json.md +51 -0
- package/docs-llm/dsl/formatters/prepend-examples-react.md +33 -0
- package/docs-llm/dsl/formatters/prepend.md +9 -0
- package/docs-llm/dsl/formatters/range-value-examples-json.md +48 -0
- package/docs-llm/dsl/formatters/range-value-examples-react.md +34 -0
- package/docs-llm/dsl/formatters/range-value.md +15 -0
- package/docs-llm/dsl/formatters/set-color-channel-examples-json.md +40 -0
- package/docs-llm/dsl/formatters/set-color-channel-examples-react.md +31 -0
- package/docs-llm/dsl/formatters/set-color-channel.md +9 -0
- package/docs-llm/dsl/formatters/suffix-examples-json.md +29 -0
- package/docs-llm/dsl/formatters/suffix-examples-react.md +19 -0
- package/docs-llm/dsl/formatters/suffix.md +3 -0
- package/docs-llm/dsl/formatters/type-examples-json.md +37 -0
- package/docs-llm/dsl/formatters/type-examples-react.md +20 -0
- package/docs-llm/dsl/formatters/type.md +3 -0
- package/docs-llm/dsl/overview.md +41 -0
- package/docs-llm/dsl/selectors/abs.md +7 -0
- package/docs-llm/dsl/selectors/ceil.md +7 -0
- package/docs-llm/dsl/selectors/data-frame-average-examples-json.md +41 -0
- package/docs-llm/dsl/selectors/data-frame-average-examples-react.md +36 -0
- package/docs-llm/dsl/selectors/data-frame-average.md +7 -0
- package/docs-llm/dsl/selectors/data-frame-count-examples-json.md +41 -0
- package/docs-llm/dsl/selectors/data-frame-count-examples-react.md +36 -0
- package/docs-llm/dsl/selectors/data-frame-count.md +7 -0
- package/docs-llm/dsl/selectors/data-frame-examples-json.md +830 -0
- package/docs-llm/dsl/selectors/data-frame-examples-react.md +929 -0
- package/docs-llm/dsl/selectors/data-frame-get-field-examples-json.md +89 -0
- package/docs-llm/dsl/selectors/data-frame-get-field-examples-react.md +124 -0
- package/docs-llm/dsl/selectors/data-frame-get-field.md +5 -0
- package/docs-llm/dsl/selectors/data-frame-get-raw-value.md +5 -0
- package/docs-llm/dsl/selectors/data-frame-get-type.md +5 -0
- package/docs-llm/dsl/selectors/data-frame-get-value.md +5 -0
- package/docs-llm/dsl/selectors/data-frame-max-examples-json.md +51 -0
- package/docs-llm/dsl/selectors/data-frame-max-examples-react.md +41 -0
- package/docs-llm/dsl/selectors/data-frame-max.md +7 -0
- package/docs-llm/dsl/selectors/data-frame-min-examples-json.md +51 -0
- package/docs-llm/dsl/selectors/data-frame-min-examples-react.md +41 -0
- package/docs-llm/dsl/selectors/data-frame-min.md +7 -0
- package/docs-llm/dsl/selectors/data-frame-percentile-examples-json.md +41 -0
- package/docs-llm/dsl/selectors/data-frame-percentile-examples-react.md +36 -0
- package/docs-llm/dsl/selectors/data-frame-percentile.md +8 -0
- package/docs-llm/dsl/selectors/data-frame-set-value.md +5 -0
- package/docs-llm/dsl/selectors/data-frame-sum-examples-json.md +51 -0
- package/docs-llm/dsl/selectors/data-frame-sum-examples-react.md +41 -0
- package/docs-llm/dsl/selectors/data-frame-sum.md +7 -0
- package/docs-llm/dsl/selectors/data-frame.md +4 -0
- package/docs-llm/dsl/selectors/data-point-get-field.md +5 -0
- package/docs-llm/dsl/selectors/data-point-get-raw-value.md +4 -0
- package/docs-llm/dsl/selectors/data-point-get-type.md +5 -0
- package/docs-llm/dsl/selectors/data-point-get-value.md +5 -0
- package/docs-llm/dsl/selectors/data-point-set-value.md +4 -0
- package/docs-llm/dsl/selectors/data-point.md +5 -0
- package/docs-llm/dsl/selectors/data-series-average.md +22 -0
- package/docs-llm/dsl/selectors/data-series-count.md +14 -0
- package/docs-llm/dsl/selectors/data-series-get-field.md +5 -0
- package/docs-llm/dsl/selectors/data-series-get-raw-value.md +4 -0
- package/docs-llm/dsl/selectors/data-series-get-type.md +5 -0
- package/docs-llm/dsl/selectors/data-series-get-value.md +4 -0
- package/docs-llm/dsl/selectors/data-series-max.md +5 -0
- package/docs-llm/dsl/selectors/data-series-min.md +5 -0
- package/docs-llm/dsl/selectors/data-series-percentile.md +17 -0
- package/docs-llm/dsl/selectors/data-series-set-value.md +4 -0
- package/docs-llm/dsl/selectors/data-series-sum.md +24 -0
- package/docs-llm/dsl/selectors/data-series.md +4 -0
- package/docs-llm/dsl/selectors/delta.md +7 -0
- package/docs-llm/dsl/selectors/divide.md +8 -0
- package/docs-llm/dsl/selectors/first-point.md +5 -0
- package/docs-llm/dsl/selectors/floor.md +7 -0
- package/docs-llm/dsl/selectors/frame-by-series-index-range-examples-json.md +89 -0
- package/docs-llm/dsl/selectors/frame-by-series-index-range-examples-react.md +88 -0
- package/docs-llm/dsl/selectors/frame-by-series-index-range.md +10 -0
- package/docs-llm/dsl/selectors/frame-by-series-indexes-examples-json.md +88 -0
- package/docs-llm/dsl/selectors/frame-by-series-indexes-examples-react.md +87 -0
- package/docs-llm/dsl/selectors/frame-by-series-indexes.md +9 -0
- package/docs-llm/dsl/selectors/frame-by-series-names-examples-json.md +89 -0
- package/docs-llm/dsl/selectors/frame-by-series-names-examples-react.md +88 -0
- package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes-examples-json.md +89 -0
- package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes-examples-react.md +88 -0
- package/docs-llm/dsl/selectors/frame-by-series-names-or-indexes.md +9 -0
- package/docs-llm/dsl/selectors/frame-by-series-names.md +9 -0
- package/docs-llm/dsl/selectors/frame-by-series-types-examples-json.md +89 -0
- package/docs-llm/dsl/selectors/frame-by-series-types-examples-react.md +88 -0
- package/docs-llm/dsl/selectors/frame-by-series-types.md +9 -0
- package/docs-llm/dsl/selectors/frame-without-internal-fields-examples-json.md +137 -0
- package/docs-llm/dsl/selectors/frame-without-internal-fields-examples-react.md +135 -0
- package/docs-llm/dsl/selectors/frame-without-internal-fields-except-examples-json.md +157 -0
- package/docs-llm/dsl/selectors/frame-without-internal-fields-except-examples-react.md +155 -0
- package/docs-llm/dsl/selectors/frame-without-internal-fields-except.md +21 -0
- package/docs-llm/dsl/selectors/frame-without-internal-fields.md +17 -0
- package/docs-llm/dsl/selectors/frame-without-series-names.md +8 -0
- package/docs-llm/dsl/selectors/last-point.md +5 -0
- package/docs-llm/dsl/selectors/minus.md +8 -0
- package/docs-llm/dsl/selectors/multiply.md +8 -0
- package/docs-llm/dsl/selectors/plus.md +8 -0
- package/docs-llm/dsl/selectors/point-by-index.md +6 -0
- package/docs-llm/dsl/selectors/points-by-indexes.md +6 -0
- package/docs-llm/dsl/selectors/round.md +7 -0
- package/docs-llm/dsl/selectors/series-by-index-examples-json.md +49 -0
- package/docs-llm/dsl/selectors/series-by-index-examples-react.md +39 -0
- package/docs-llm/dsl/selectors/series-by-index.md +8 -0
- package/docs-llm/dsl/selectors/series-by-name-examples-json.md +49 -0
- package/docs-llm/dsl/selectors/series-by-name-examples-react.md +39 -0
- package/docs-llm/dsl/selectors/series-by-name.md +8 -0
- package/docs-llm/dsl/selectors/series-by-prioritized-types-examples-json.md +47 -0
- package/docs-llm/dsl/selectors/series-by-prioritized-types-examples-react.md +39 -0
- package/docs-llm/dsl/selectors/series-by-prioritized-types.md +10 -0
- package/docs-llm/dsl/selectors/series-by-type-examples-json.md +49 -0
- package/docs-llm/dsl/selectors/series-by-type-examples-react.md +39 -0
- package/docs-llm/dsl/selectors/series-by-type.md +10 -0
- package/docs-llm/dsl/selectors/series-by-types.md +6 -0
- package/docs-llm/ellipse/examples-json.md +5 -0
- package/docs-llm/ellipse/examples-react.md +5 -0
- package/docs-llm/ellipse/options.md +16 -0
- package/docs-llm/ellipse/overview.md +5 -0
- package/docs-llm/events/examples-json.md +705 -0
- package/docs-llm/events/examples-react.md +536 -0
- package/docs-llm/events/options.md +18 -0
- package/docs-llm/events/overview.md +5 -0
- package/docs-llm/filler-gauge/examples-json.md +376 -0
- package/docs-llm/filler-gauge/examples-react.md +274 -0
- package/docs-llm/filler-gauge/options.md +26 -0
- package/docs-llm/filler-gauge/overview.md +5 -0
- package/docs-llm/image/examples-json.md +39 -0
- package/docs-llm/image/examples-react.md +65 -0
- package/docs-llm/image/options.md +13 -0
- package/docs-llm/image/overview.md +5 -0
- package/docs-llm/line/examples-json.md +3724 -0
- package/docs-llm/line/examples-react.md +2683 -0
- package/docs-llm/line/options.md +95 -0
- package/docs-llm/line/overview.md +29 -0
- package/docs-llm/link-graph/examples-json.md +5 -0
- package/docs-llm/link-graph/examples-react.md +5 -0
- package/docs-llm/link-graph/options.md +26 -0
- package/docs-llm/link-graph/overview.md +16 -0
- package/docs-llm/map/examples-json.md +13973 -0
- package/docs-llm/map/examples-react.md +6154 -0
- package/docs-llm/map/options.md +22 -0
- package/docs-llm/map/overview.md +32 -0
- package/docs-llm/markdown/examples-json.md +63 -0
- package/docs-llm/markdown/examples-react.md +98 -0
- package/docs-llm/markdown/options.md +17 -0
- package/docs-llm/markdown/overview.md +5 -0
- package/docs-llm/marker-gauge/examples-json.md +436 -0
- package/docs-llm/marker-gauge/examples-react.md +367 -0
- package/docs-llm/marker-gauge/options.md +26 -0
- package/docs-llm/marker-gauge/overview.md +5 -0
- package/docs-llm/network-graph/examples-json.md +8843 -0
- package/docs-llm/network-graph/examples-react.md +7339 -0
- package/docs-llm/network-graph/options.md +50 -0
- package/docs-llm/network-graph/overview.md +28 -0
- package/docs-llm/parallel-coordinates/examples-json.md +8376 -0
- package/docs-llm/parallel-coordinates/examples-react.md +2771 -0
- package/docs-llm/parallel-coordinates/options.md +14 -0
- package/docs-llm/parallel-coordinates/overview.md +22 -0
- package/docs-llm/pie/examples-json.md +851 -0
- package/docs-llm/pie/examples-react.md +606 -0
- package/docs-llm/pie/options.md +34 -0
- package/docs-llm/pie/overview.md +23 -0
- package/docs-llm/process-tree/options.md +32 -0
- package/docs-llm/punchcard/examples-json.md +6134 -0
- package/docs-llm/punchcard/examples-react.md +4562 -0
- package/docs-llm/punchcard/options.md +33 -0
- package/docs-llm/punchcard/overview.md +5 -0
- package/docs-llm/pure-rich-text/options.md +28 -0
- package/docs-llm/rectangle/examples-json.md +5 -0
- package/docs-llm/rectangle/examples-react.md +5 -0
- package/docs-llm/rectangle/options.md +19 -0
- package/docs-llm/rectangle/overview.md +5 -0
- package/docs-llm/rich-text/examples-json.md +96 -0
- package/docs-llm/rich-text/examples-react.md +119 -0
- package/docs-llm/rich-text/options.md +28 -0
- package/docs-llm/rich-text/overview.md +5 -0
- package/docs-llm/sankey/examples-json.md +844 -0
- package/docs-llm/sankey/examples-react.md +546 -0
- package/docs-llm/sankey/options.md +19 -0
- package/docs-llm/sankey/overview.md +24 -0
- package/docs-llm/scatter/examples-json.md +4012 -0
- package/docs-llm/scatter/examples-react.md +3914 -0
- package/docs-llm/scatter/options.md +68 -0
- package/docs-llm/scatter/overview.md +25 -0
- package/docs-llm/single-value/examples-json.md +2613 -0
- package/docs-llm/single-value/examples-react.md +2296 -0
- package/docs-llm/single-value/options.md +49 -0
- package/docs-llm/single-value/overview.md +23 -0
- package/docs-llm/single-value-icon/examples-json.md +1686 -0
- package/docs-llm/single-value-icon/examples-react.md +1573 -0
- package/docs-llm/single-value-icon/options.md +43 -0
- package/docs-llm/single-value-icon/overview.md +5 -0
- package/docs-llm/single-value-radial/examples-json.md +1178 -0
- package/docs-llm/single-value-radial/examples-react.md +1028 -0
- package/docs-llm/single-value-radial/options.md +41 -0
- package/docs-llm/single-value-radial/overview.md +5 -0
- package/docs-llm/table/examples-json.md +5 -0
- package/docs-llm/table/examples-react.md +5 -0
- package/docs-llm/table/options.md +25 -0
- package/docs-llm/table/overview.md +24 -0
- package/docs-llm/timeline/examples-json.md +5 -0
- package/docs-llm/timeline/examples-react.md +5 -0
- package/docs-llm/timeline/options.md +27 -0
- package/docs-llm/timeline/overview.md +24 -0
- package/package.json +28 -24
|
@@ -0,0 +1,536 @@
|
|
|
1
|
+
# Events Examples
|
|
2
|
+
|
|
3
|
+
**Component Reference:** Events or @splunk/visualizations/Events
|
|
4
|
+
|
|
5
|
+
## Basic Events
|
|
6
|
+
|
|
7
|
+
- **Key:** Basic
|
|
8
|
+
|
|
9
|
+
```jsx
|
|
10
|
+
import React from 'react';
|
|
11
|
+
import Events from '@splunk/visualizations/Events';
|
|
12
|
+
|
|
13
|
+
export default () => (
|
|
14
|
+
<Events
|
|
15
|
+
dataSources={{
|
|
16
|
+
primary: {
|
|
17
|
+
requestParams: { offset: 0, count: 5 },
|
|
18
|
+
data: {
|
|
19
|
+
fields: [
|
|
20
|
+
{ name: 'host' },
|
|
21
|
+
{ name: 'source' },
|
|
22
|
+
{ name: 'sourcetype' },
|
|
23
|
+
{ name: 'index' },
|
|
24
|
+
{ name: 'linecount' },
|
|
25
|
+
{ name: '_raw' },
|
|
26
|
+
{ name: '_time' },
|
|
27
|
+
],
|
|
28
|
+
columns: [
|
|
29
|
+
[
|
|
30
|
+
'jbreeden-mbpr15',
|
|
31
|
+
'jbreeden-mbpr15',
|
|
32
|
+
'jbreeden-mbpr15',
|
|
33
|
+
'jbreeden-mbpr15',
|
|
34
|
+
'jbreeden-mbpr15',
|
|
35
|
+
],
|
|
36
|
+
[
|
|
37
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
38
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
39
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
40
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
41
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
42
|
+
],
|
|
43
|
+
['splunkd', 'splunkd', 'splunkd', 'splunkd', 'splunkd'],
|
|
44
|
+
['_internal', '_internal', '_internal', '_internal', '_internal'],
|
|
45
|
+
['1', '1', '1', '1', '1'],
|
|
46
|
+
[
|
|
47
|
+
'{"datetime":"07-16-2018 16:38:11.545 -0700","log_level":"INFO","component":"KVStoreServerStats","data":{"host":"ssingamneni-mbp13:8191","pid":21585,"uptime":20886}}',
|
|
48
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
49
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
50
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
51
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
52
|
+
],
|
|
53
|
+
[
|
|
54
|
+
'2018-07-16T16:38:11.545-0700',
|
|
55
|
+
'2018-04-02T16:33:49.691-0700',
|
|
56
|
+
'2018-04-02T16:33:49.691-0700',
|
|
57
|
+
'2018-04-02T16:33:49.691-0700',
|
|
58
|
+
'2018-04-02T16:33:49.691-0700',
|
|
59
|
+
],
|
|
60
|
+
],
|
|
61
|
+
},
|
|
62
|
+
meta: { totalCount: 5 },
|
|
63
|
+
},
|
|
64
|
+
}}
|
|
65
|
+
options={{
|
|
66
|
+
height: 600,
|
|
67
|
+
}}
|
|
68
|
+
/>
|
|
69
|
+
);
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Event Actions
|
|
73
|
+
|
|
74
|
+
- **Key:** Event Actions
|
|
75
|
+
|
|
76
|
+
```jsx
|
|
77
|
+
import React from 'react';
|
|
78
|
+
import Events from '@splunk/visualizations/Events';
|
|
79
|
+
|
|
80
|
+
export default () => (
|
|
81
|
+
<Events
|
|
82
|
+
dataSources={{
|
|
83
|
+
primary: {
|
|
84
|
+
requestParams: { offset: 0, count: 5 },
|
|
85
|
+
data: {
|
|
86
|
+
fields: [
|
|
87
|
+
{ name: 'host' },
|
|
88
|
+
{ name: 'source' },
|
|
89
|
+
{ name: 'sourcetype' },
|
|
90
|
+
{ name: 'index' },
|
|
91
|
+
{ name: 'linecount' },
|
|
92
|
+
{ name: '_raw' },
|
|
93
|
+
{ name: '_time' },
|
|
94
|
+
],
|
|
95
|
+
columns: [
|
|
96
|
+
[
|
|
97
|
+
'jbreeden-mbpr15',
|
|
98
|
+
'jbreeden-mbpr15',
|
|
99
|
+
'jbreeden-mbpr15',
|
|
100
|
+
'jbreeden-mbpr15',
|
|
101
|
+
'jbreeden-mbpr15',
|
|
102
|
+
],
|
|
103
|
+
[
|
|
104
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
105
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
106
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
107
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
108
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
109
|
+
],
|
|
110
|
+
['splunkd', 'splunkd', 'splunkd', 'splunkd', 'splunkd'],
|
|
111
|
+
['_internal', '_internal', '_internal', '_internal', '_internal'],
|
|
112
|
+
['1', '1', '1', '1', '1'],
|
|
113
|
+
[
|
|
114
|
+
'{"datetime":"07-16-2018 16:38:11.545 -0700","log_level":"INFO","component":"KVStoreServerStats","data":{"host":"ssingamneni-mbp13:8191","pid":21585,"uptime":20886}}',
|
|
115
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
116
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
117
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
118
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
119
|
+
],
|
|
120
|
+
[
|
|
121
|
+
'2018-07-16T16:38:11.545-0700',
|
|
122
|
+
'2018-04-02T16:33:49.691-0700',
|
|
123
|
+
'2018-04-02T16:33:49.691-0700',
|
|
124
|
+
'2018-04-02T16:33:49.691-0700',
|
|
125
|
+
'2018-04-02T16:33:49.691-0700',
|
|
126
|
+
],
|
|
127
|
+
],
|
|
128
|
+
},
|
|
129
|
+
meta: { totalCount: 5 },
|
|
130
|
+
},
|
|
131
|
+
}}
|
|
132
|
+
options={{
|
|
133
|
+
height: 600,
|
|
134
|
+
eventActions: [
|
|
135
|
+
// This event action appears in the dropdown as there are no eventtypeValues or fieldFilters restrictions by default.
|
|
136
|
+
{
|
|
137
|
+
eventType: 'eventAction.showSource.click',
|
|
138
|
+
label: 'Show Source',
|
|
139
|
+
},
|
|
140
|
+
// This event action appears in the dropdown as there are no eventtypeValues or fieldFilters restrictions.
|
|
141
|
+
{
|
|
142
|
+
eventType: 'eventAction.buildEventType.click',
|
|
143
|
+
label: 'Build Event Type',
|
|
144
|
+
eventtypeValues: [],
|
|
145
|
+
fieldFilters: [],
|
|
146
|
+
},
|
|
147
|
+
// This event action appears in the dropdown as there are no eventtypeValues or fieldFilters restrictions.
|
|
148
|
+
{
|
|
149
|
+
eventType: 'eventAction.extractFields.click',
|
|
150
|
+
label: 'Extract Fields',
|
|
151
|
+
eventtypeValues: ['*'],
|
|
152
|
+
fieldFilters: ['*'],
|
|
153
|
+
},
|
|
154
|
+
// This event action appears in the dropdown as the `host` field, which matches the `h*` filter, exists on the event.
|
|
155
|
+
{
|
|
156
|
+
eventType: 'eventAction.eventTypeValueExists.click',
|
|
157
|
+
label: 'Show If h* Field Exists on Event',
|
|
158
|
+
eventtypeValues: [],
|
|
159
|
+
fieldFilters: ['h*'],
|
|
160
|
+
},
|
|
161
|
+
// This event action does not appear since `eventtype` does not exist on this event.
|
|
162
|
+
{
|
|
163
|
+
eventType: 'eventAction.eventTypeValueExists.click',
|
|
164
|
+
label: 'Show If Eventtype Value Exists',
|
|
165
|
+
eventtypeValues: ['valueA'],
|
|
166
|
+
fieldFilters: [],
|
|
167
|
+
},
|
|
168
|
+
],
|
|
169
|
+
}}
|
|
170
|
+
/>
|
|
171
|
+
);
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
## Field Actions
|
|
175
|
+
|
|
176
|
+
- **Key:** Field Actions
|
|
177
|
+
|
|
178
|
+
```jsx
|
|
179
|
+
import React from 'react';
|
|
180
|
+
import Events from '@splunk/visualizations/Events';
|
|
181
|
+
|
|
182
|
+
export default () => (
|
|
183
|
+
<Events
|
|
184
|
+
dataSources={{
|
|
185
|
+
primary: {
|
|
186
|
+
requestParams: { offset: 0, count: 5 },
|
|
187
|
+
data: {
|
|
188
|
+
fields: [
|
|
189
|
+
{ name: 'host' },
|
|
190
|
+
{ name: 'source' },
|
|
191
|
+
{ name: 'sourcetype' },
|
|
192
|
+
{ name: 'index' },
|
|
193
|
+
{ name: 'linecount' },
|
|
194
|
+
{ name: '_raw' },
|
|
195
|
+
{ name: '_time' },
|
|
196
|
+
],
|
|
197
|
+
columns: [
|
|
198
|
+
[
|
|
199
|
+
'jbreeden-mbpr15',
|
|
200
|
+
'jbreeden-mbpr15',
|
|
201
|
+
'jbreeden-mbpr15',
|
|
202
|
+
'jbreeden-mbpr15',
|
|
203
|
+
'jbreeden-mbpr15',
|
|
204
|
+
],
|
|
205
|
+
[
|
|
206
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
207
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
208
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
209
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
210
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
211
|
+
],
|
|
212
|
+
['splunkd', 'splunkd', 'splunkd', 'splunkd', 'splunkd'],
|
|
213
|
+
['_internal', '_internal', '_internal', '_internal', '_internal'],
|
|
214
|
+
['1', '1', '1', '1', '1'],
|
|
215
|
+
[
|
|
216
|
+
'{"datetime":"07-16-2018 16:38:11.545 -0700","log_level":"INFO","component":"KVStoreServerStats","data":{"host":"ssingamneni-mbp13:8191","pid":21585,"uptime":20886}}',
|
|
217
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
218
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
219
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
220
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
221
|
+
],
|
|
222
|
+
[
|
|
223
|
+
'2018-07-16T16:38:11.545-0700',
|
|
224
|
+
'2018-04-02T16:33:49.691-0700',
|
|
225
|
+
'2018-04-02T16:33:49.691-0700',
|
|
226
|
+
'2018-04-02T16:33:49.691-0700',
|
|
227
|
+
'2018-04-02T16:33:49.691-0700',
|
|
228
|
+
],
|
|
229
|
+
],
|
|
230
|
+
},
|
|
231
|
+
meta: { totalCount: 5 },
|
|
232
|
+
},
|
|
233
|
+
}}
|
|
234
|
+
options={{
|
|
235
|
+
height: 600,
|
|
236
|
+
fieldActions: {
|
|
237
|
+
// Two of these field actions appear in the dropdown for all fields, per the '*' field name. The third field action does not appear in the dropdown since `eventtype` does not exist on this event.
|
|
238
|
+
'*': [
|
|
239
|
+
{
|
|
240
|
+
eventType: 'fieldAction.commonAction1.click',
|
|
241
|
+
label: 'Common Action 1',
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
eventType: 'fieldAction.commonAction2.click',
|
|
245
|
+
label: 'Common Action 2',
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
eventType: 'fieldAction.specificSourceAction1.click',
|
|
249
|
+
label: 'Specific Source Action 1',
|
|
250
|
+
eventtypeValues: ['valueA'],
|
|
251
|
+
},
|
|
252
|
+
],
|
|
253
|
+
// This field action appears in the dropdown for only the 'host' field.
|
|
254
|
+
host: [
|
|
255
|
+
{
|
|
256
|
+
eventType: 'fieldAction.specificHostAction1.click',
|
|
257
|
+
label: 'Specific Host Action 1',
|
|
258
|
+
},
|
|
259
|
+
],
|
|
260
|
+
// This field action appears in the dropdown for only the 'source' field.
|
|
261
|
+
source: [
|
|
262
|
+
{
|
|
263
|
+
eventType: 'fieldAction.specificSourceAction1.click',
|
|
264
|
+
label: 'Specific Source Action 1',
|
|
265
|
+
},
|
|
266
|
+
],
|
|
267
|
+
// This field action appears in the dropdown for all fields that start with 'source', such as the 'source' and 'sourcetype' fields. Special parameter syntax here is used to show the field name in the field action label.
|
|
268
|
+
// For more information on special parameters: https://dev.splunk.com/enterprise/docs/devtools/customworkflowactions/#Special-parameters
|
|
269
|
+
'source*': [
|
|
270
|
+
{
|
|
271
|
+
eventType: 'fieldAction.startsWithSource.click',
|
|
272
|
+
label: 'Action for source* Fields: matches $@field_name$',
|
|
273
|
+
},
|
|
274
|
+
],
|
|
275
|
+
},
|
|
276
|
+
}}
|
|
277
|
+
/>
|
|
278
|
+
);
|
|
279
|
+
```
|
|
280
|
+
|
|
281
|
+
## Field Summary with fieldsummary Datasource
|
|
282
|
+
|
|
283
|
+
- **Key:** Field Summary
|
|
284
|
+
|
|
285
|
+
```jsx
|
|
286
|
+
import React from 'react';
|
|
287
|
+
import Events from '@splunk/visualizations/Events';
|
|
288
|
+
|
|
289
|
+
export default () => (
|
|
290
|
+
<Events
|
|
291
|
+
dataSources={{
|
|
292
|
+
primary: {
|
|
293
|
+
requestParams: { offset: 0, count: 5 },
|
|
294
|
+
data: {
|
|
295
|
+
fields: [
|
|
296
|
+
{ name: 'host' },
|
|
297
|
+
{ name: 'source' },
|
|
298
|
+
{ name: 'sourcetype' },
|
|
299
|
+
{ name: 'index' },
|
|
300
|
+
{ name: 'linecount' },
|
|
301
|
+
{ name: '_raw' },
|
|
302
|
+
{ name: '_time' },
|
|
303
|
+
],
|
|
304
|
+
columns: [
|
|
305
|
+
[
|
|
306
|
+
'jbreeden-mbpr15',
|
|
307
|
+
'jbreeden-mbpr15',
|
|
308
|
+
'jbreeden-mbpr15',
|
|
309
|
+
'jbreeden-mbpr15',
|
|
310
|
+
'jbreeden-mbpr15',
|
|
311
|
+
],
|
|
312
|
+
[
|
|
313
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
314
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
315
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
316
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
317
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
318
|
+
],
|
|
319
|
+
['splunkd', 'splunkd', 'splunkd', 'splunkd', 'splunkd'],
|
|
320
|
+
['_internal', '_internal', '_internal', '_internal', '_internal'],
|
|
321
|
+
['1', '1', '1', '1', '1'],
|
|
322
|
+
[
|
|
323
|
+
'{"datetime":"07-16-2018 16:38:11.545 -0700","log_level":"INFO","component":"KVStoreServerStats","data":{"host":"ssingamneni-mbp13:8191","pid":21585,"uptime":20886}}',
|
|
324
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
325
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
326
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
327
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
328
|
+
],
|
|
329
|
+
[
|
|
330
|
+
'2018-07-16T16:38:11.545-0700',
|
|
331
|
+
'2018-04-02T16:33:49.691-0700',
|
|
332
|
+
'2018-04-02T16:33:49.691-0700',
|
|
333
|
+
'2018-04-02T16:33:49.691-0700',
|
|
334
|
+
'2018-04-02T16:33:49.691-0700',
|
|
335
|
+
],
|
|
336
|
+
],
|
|
337
|
+
},
|
|
338
|
+
meta: { totalCount: 5 },
|
|
339
|
+
},
|
|
340
|
+
fieldsummary: {
|
|
341
|
+
requestParams: {},
|
|
342
|
+
data: {
|
|
343
|
+
fields: [
|
|
344
|
+
{ name: 'field' },
|
|
345
|
+
{ name: 'count' },
|
|
346
|
+
{ name: 'distinct_count' },
|
|
347
|
+
{ name: 'is_exact' },
|
|
348
|
+
{ name: 'max' },
|
|
349
|
+
{ name: 'mean' },
|
|
350
|
+
{ name: 'min' },
|
|
351
|
+
{ name: 'numeric_count' },
|
|
352
|
+
{ name: 'stdev' },
|
|
353
|
+
{ name: 'values' },
|
|
354
|
+
],
|
|
355
|
+
columns: [
|
|
356
|
+
['host', 'index', 'linecount', 'source', 'sourcetype', 'splunk_server'],
|
|
357
|
+
['5', '5', '5', '5', '5', '5'],
|
|
358
|
+
['1', '1', '1', '1', '1', '1'],
|
|
359
|
+
['1', '1', '1', '1', '1', '1'],
|
|
360
|
+
[null, null, '1', null, null, null],
|
|
361
|
+
[null, null, '1', null, null, null],
|
|
362
|
+
[null, null, '1', null, null, null],
|
|
363
|
+
['0', '0', '5', '0', '0', '0'],
|
|
364
|
+
[null, null, '0', null, null, null],
|
|
365
|
+
[
|
|
366
|
+
'[{"value":"jbreeden-mbpr15","count":5}]',
|
|
367
|
+
'[{"value":"_internal","count":5}]',
|
|
368
|
+
'[{"value":"1","count":5}]',
|
|
369
|
+
'[{"value":"/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log","count":5}]',
|
|
370
|
+
'[{"value":"splunkd","count":5}]',
|
|
371
|
+
'[{"value":"jbreeden-mbpr15","count":5}]',
|
|
372
|
+
],
|
|
373
|
+
],
|
|
374
|
+
},
|
|
375
|
+
meta: { totalCount: 6 },
|
|
376
|
+
},
|
|
377
|
+
}}
|
|
378
|
+
options={{
|
|
379
|
+
height: 600,
|
|
380
|
+
}}
|
|
381
|
+
/>
|
|
382
|
+
);
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
## Footer Fields and Field Value Highlighting
|
|
386
|
+
|
|
387
|
+
- **Key:** Footer And Highlighting
|
|
388
|
+
|
|
389
|
+
```jsx
|
|
390
|
+
import React from 'react';
|
|
391
|
+
import Events from '@splunk/visualizations/Events';
|
|
392
|
+
|
|
393
|
+
export default () => (
|
|
394
|
+
<Events
|
|
395
|
+
dataSources={{
|
|
396
|
+
primary: {
|
|
397
|
+
requestParams: { offset: 0, count: 5 },
|
|
398
|
+
data: {
|
|
399
|
+
fields: [
|
|
400
|
+
{ name: 'host' },
|
|
401
|
+
{ name: 'source' },
|
|
402
|
+
{ name: 'sourcetype' },
|
|
403
|
+
{ name: 'index' },
|
|
404
|
+
{ name: 'linecount' },
|
|
405
|
+
{ name: '_raw' },
|
|
406
|
+
{ name: '_time' },
|
|
407
|
+
],
|
|
408
|
+
columns: [
|
|
409
|
+
[
|
|
410
|
+
'jbreeden-mbpr15',
|
|
411
|
+
'jbreeden-mbpr15',
|
|
412
|
+
'jbreeden-mbpr15',
|
|
413
|
+
'jbreeden-mbpr15',
|
|
414
|
+
'jbreeden-mbpr15',
|
|
415
|
+
],
|
|
416
|
+
[
|
|
417
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
418
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
419
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
420
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
421
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
422
|
+
],
|
|
423
|
+
['splunkd', 'splunkd', 'splunkd', 'splunkd', 'splunkd'],
|
|
424
|
+
['_internal', '_internal', '_internal', '_internal', '_internal'],
|
|
425
|
+
['1', '1', '1', '1', '1'],
|
|
426
|
+
[
|
|
427
|
+
'{"datetime":"07-16-2018 16:38:11.545 -0700","log_level":"INFO","component":"KVStoreServerStats","data":{"host":"ssingamneni-mbp13:8191","pid":21585,"uptime":20886}}',
|
|
428
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
429
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
430
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
431
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
432
|
+
],
|
|
433
|
+
[
|
|
434
|
+
'2018-07-16T16:38:11.545-0700',
|
|
435
|
+
'2018-04-02T16:33:49.691-0700',
|
|
436
|
+
'2018-04-02T16:33:49.691-0700',
|
|
437
|
+
'2018-04-02T16:33:49.691-0700',
|
|
438
|
+
'2018-04-02T16:33:49.691-0700',
|
|
439
|
+
],
|
|
440
|
+
],
|
|
441
|
+
},
|
|
442
|
+
meta: { totalCount: 5 },
|
|
443
|
+
},
|
|
444
|
+
}}
|
|
445
|
+
options={{
|
|
446
|
+
height: 600,
|
|
447
|
+
footerFields: ['host', 'source', 'sourcetype'],
|
|
448
|
+
highlightValuesByField: {
|
|
449
|
+
host: 'jbreeden-mbpr15',
|
|
450
|
+
sourcetype: 'splunkd',
|
|
451
|
+
},
|
|
452
|
+
}}
|
|
453
|
+
/>
|
|
454
|
+
);
|
|
455
|
+
```
|
|
456
|
+
|
|
457
|
+
## Tags
|
|
458
|
+
|
|
459
|
+
- **Key:** Tags
|
|
460
|
+
|
|
461
|
+
```jsx
|
|
462
|
+
import React from 'react';
|
|
463
|
+
import Events from '@splunk/visualizations/Events';
|
|
464
|
+
import { FeatureFlagContextProvider } from '@splunk/visualization-context/FeatureFlagContext';
|
|
465
|
+
|
|
466
|
+
export default () => (
|
|
467
|
+
<FeatureFlagContextProvider value={{ visualizations_enableEventsViewerTags: true }}>
|
|
468
|
+
<Events
|
|
469
|
+
dataSources={{
|
|
470
|
+
primary: {
|
|
471
|
+
requestParams: { offset: 0, count: 5 },
|
|
472
|
+
data: {
|
|
473
|
+
fields: [
|
|
474
|
+
{ name: 'host' },
|
|
475
|
+
{ name: 'source' },
|
|
476
|
+
{ name: 'sourcetype' },
|
|
477
|
+
{ name: 'index' },
|
|
478
|
+
{ name: 'linecount' },
|
|
479
|
+
{ name: '_raw' },
|
|
480
|
+
{ name: '_time' },
|
|
481
|
+
],
|
|
482
|
+
columns: [
|
|
483
|
+
[
|
|
484
|
+
'jbreeden-mbpr15',
|
|
485
|
+
'jbreeden-mbpr15',
|
|
486
|
+
'jbreeden-mbpr15',
|
|
487
|
+
'jbreeden-mbpr15',
|
|
488
|
+
'jbreeden-mbpr15',
|
|
489
|
+
],
|
|
490
|
+
[
|
|
491
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
492
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
493
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
494
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
495
|
+
'/Users/jbreeden/splunk/releases-builds/splunk-nightlight/splunk/var/log/splunk/metrics.log',
|
|
496
|
+
],
|
|
497
|
+
['splunkd', 'splunkd', 'splunkd', 'splunkd', 'splunkd'],
|
|
498
|
+
['_internal', '_internal', '_internal', '_internal', '_internal'],
|
|
499
|
+
['1', '1', '1', '1', '1'],
|
|
500
|
+
[
|
|
501
|
+
'{"datetime":"07-16-2018 16:38:11.545 -0700","log_level":"INFO","component":"KVStoreServerStats","data":{"host":"ssingamneni-mbp13:8191","pid":21585,"uptime":20886}}',
|
|
502
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
503
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
504
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
505
|
+
'04-02-2018 16:33:49.691 -0700 INFO Metrics - group=thruput, name=thruput, instantaneous_kbps=0.8775482519547254, instantaneous_eps=3.5802456751680514, average_kbps=0.7280928568987709, total_k_processed=4794, kb=27.20703125, ev=111, load_average=2.87744140625',
|
|
506
|
+
],
|
|
507
|
+
[
|
|
508
|
+
'2018-07-16T16:38:11.545-0700',
|
|
509
|
+
'2018-04-02T16:33:49.691-0700',
|
|
510
|
+
'2018-04-02T16:33:49.691-0700',
|
|
511
|
+
'2018-04-02T16:33:49.691-0700',
|
|
512
|
+
'2018-04-02T16:33:49.691-0700',
|
|
513
|
+
],
|
|
514
|
+
],
|
|
515
|
+
},
|
|
516
|
+
meta: {
|
|
517
|
+
totalCount: 5,
|
|
518
|
+
tags: {
|
|
519
|
+
sourcetype: {
|
|
520
|
+
splunkd: ['tag1', 'tag2'],
|
|
521
|
+
},
|
|
522
|
+
index: {
|
|
523
|
+
_internal: ['0_=.Aa'],
|
|
524
|
+
},
|
|
525
|
+
},
|
|
526
|
+
},
|
|
527
|
+
},
|
|
528
|
+
}}
|
|
529
|
+
options={{
|
|
530
|
+
height: 600,
|
|
531
|
+
footerFields: ['host', 'source', 'sourcetype'],
|
|
532
|
+
}}
|
|
533
|
+
/>
|
|
534
|
+
</FeatureFlagContextProvider>
|
|
535
|
+
);
|
|
536
|
+
```
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Events Visualization Options
|
|
2
|
+
|
|
3
|
+
**Component Reference:** Events or @splunk/visualizations/events
|
|
4
|
+
|
|
5
|
+
Source: `@splunk/visualization-schemas/eventsOptionsSchema`
|
|
6
|
+
|
|
7
|
+
| Option | Type | Default | Description |
|
|
8
|
+
| --- | --- | --- | --- |
|
|
9
|
+
| `backgroundColor` | string \| string | `> themes.defaultBackgroundColor` | Specify the color used for the background by using a hexadecimal code. For example, #0000FF. |
|
|
10
|
+
| `eventActions` | array<object> \| string | `[]` | Specify the available actions to take for an event. For example, `[{ "eventType": "eventAction.buildEventType.click", "label": "Build Event Type" }]`. Event types should end in `.click` if utilizing event handlers. Note that both `eventtypeValues` and `fieldFilters` keys support wildcard values. |
|
|
11
|
+
| `fieldActions` | object | — | Specify the available actions for this field. For example, `{ *: [{ "eventType": "fieldAction.sharedAction1.click", "label": "Shared Action 1", "eventtypeValues": ["*"], "fieldFilters": ["*"] }] }`. Event types should end in `.click` if utilizing event handlers. Actions under the `*` key are shared across all field dropdowns. Note that both `eventtypeValues` and `fieldFilters` keys, as well as the field names, support wildcard values. |
|
|
12
|
+
| `footerFields` | array<string> \| string | `[]` | Specify field(s) that should be displayed in the footer component. Specify one or more fields to display in the footer component. For example, specify ["source", "dest"] to display the source and destination fields. |
|
|
13
|
+
| `highlightFromSource` | string \| string | `none` | Specify a segmentation mode to use for search based highlighting. Specifying "none" will turn search based highlighting off. For more about segmentation, search for "event segmentation" in the Getting Data In manual in the Splunk Docs. |
|
|
14
|
+
| `highlightValuesByField` | object | — | Specify the field and value pairs for manual highlighting. For example, `{"source": "$srcToken$", "dest": "12.21.1.11", "tag": ["tag1", "tag2"]}`. |
|
|
15
|
+
| `pageCount` | number \| string | `10` | Specify the maximum number of rows to display per page. |
|
|
16
|
+
| `showFieldSummary` | boolean \| string | `true` | Specify that a field summary popup appears when a field is selected. To show field summaries for a search, configure an additional datasource called `fieldsummary` using the original search followed by the `... \| fieldsummary maxvals=10` SPL command. |
|
|
17
|
+
|
|
18
|
+
_Auto-generated; do not edit by hand._
|