mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
231 lines
4.9 KiB
Django/Jinja
231 lines
4.9 KiB
Django/Jinja
{
|
|
"id": 69000,
|
|
"gridPos": {
|
|
"x": {{ PANELS.logstash_estimated_eps_out_graph.gridPos.x }},
|
|
"y": {{ PANELS.logstash_estimated_eps_out_graph.gridPos.y }},
|
|
"w": {{ PANELS.logstash_estimated_eps_out_graph.gridPos.w }},
|
|
"h": {{ PANELS.logstash_estimated_eps_out_graph.gridPos.h }}
|
|
},
|
|
"type": "timeseries",
|
|
"title": "Estimated EPS Out",
|
|
"transformations": [],
|
|
"datasource": "InfluxDB",
|
|
"pluginVersion": "8.2.1",
|
|
"interval": "30s",
|
|
"fieldConfig": {
|
|
"defaults": {
|
|
"custom": {
|
|
"drawStyle": "line",
|
|
"lineInterpolation": "linear",
|
|
"barAlignment": 0,
|
|
"lineWidth": 1,
|
|
"fillOpacity": 10,
|
|
"gradientMode": "none",
|
|
"spanNulls": false,
|
|
"showPoints": "never",
|
|
"pointSize": 5,
|
|
"stacking": {
|
|
"mode": "none",
|
|
"group": "A"
|
|
},
|
|
"axisPlacement": "auto",
|
|
"axisLabel": "EPS",
|
|
"scaleDistribution": {
|
|
"type": "linear"
|
|
},
|
|
"hideFrom": {
|
|
"tooltip": false,
|
|
"viz": false,
|
|
"legend": false
|
|
},
|
|
"thresholdsStyle": {
|
|
"mode": "off"
|
|
}
|
|
},
|
|
"color": {
|
|
"mode": "palette-classic"
|
|
},
|
|
"thresholds": {
|
|
"mode": "absolute",
|
|
"steps": [
|
|
{
|
|
"value": null,
|
|
"color": "green"
|
|
},
|
|
{
|
|
"value": 80,
|
|
"color": "red"
|
|
}
|
|
]
|
|
},
|
|
"mappings": [],
|
|
"unit": "short",
|
|
"decimals": 1
|
|
},
|
|
"overrides": [
|
|
{
|
|
"matcher": {
|
|
"id": "byRegexp",
|
|
"options": "/trend/"
|
|
},
|
|
"properties": [
|
|
{
|
|
"id": "custom.fillOpacity",
|
|
"value": 0
|
|
},
|
|
{
|
|
"id": "custom.lineWidth",
|
|
"value": 4
|
|
},
|
|
{
|
|
"id": "custom.lineStyle",
|
|
"value": {
|
|
"fill": "dash",
|
|
"dash": [
|
|
4,
|
|
10
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"tooltip": {
|
|
"mode": "single"
|
|
},
|
|
"legend": {
|
|
"displayMode": "table",
|
|
"placement": "right",
|
|
"calcs": [
|
|
"max",
|
|
"mean",
|
|
"lastNotNull"
|
|
]
|
|
}
|
|
},
|
|
"targets": [
|
|
{
|
|
"refId": "A",
|
|
"hide": false,
|
|
"policy": "default",
|
|
"resultFormat": "time_series",
|
|
"orderByTime": "ASC",
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"value": "/^$servername$/",
|
|
"operator": "=~"
|
|
}
|
|
],
|
|
"groupBy": [
|
|
{
|
|
"type": "time",
|
|
"params": [
|
|
"$__interval"
|
|
]
|
|
},
|
|
{
|
|
"type": "tag",
|
|
"params": [
|
|
"host"
|
|
]
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"params": [
|
|
"null"
|
|
]
|
|
}
|
|
],
|
|
"select": [
|
|
[
|
|
{
|
|
"type": "field",
|
|
"params": [
|
|
"in"
|
|
]
|
|
},
|
|
{
|
|
"type": "mean",
|
|
"params": []
|
|
},
|
|
{
|
|
"type": "non_negative_derivative",
|
|
"params": [
|
|
"1s"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"measurement": "logstash_events",
|
|
"alias": "$tag_host: $col",
|
|
"query": "SELECT non_negative_derivative(mean(\"out\"), 1s) as \"current_out\" FROM \"logstash_events\" WHERE (\"host\" =~ /^$servername$/) AND $timeFilter GROUP BY time($__interval), \"host\" fill(null)",
|
|
"rawQuery": true
|
|
},
|
|
{
|
|
"refId": "B",
|
|
"hide": false,
|
|
"policy": "so_long_term",
|
|
"resultFormat": "time_series",
|
|
"orderByTime": "ASC",
|
|
"tags": [
|
|
{
|
|
"key": "host",
|
|
"value": "/^$servername$/",
|
|
"operator": "=~"
|
|
}
|
|
],
|
|
"groupBy": [
|
|
{
|
|
"type": "time",
|
|
"params": [
|
|
"$__interval"
|
|
]
|
|
},
|
|
{
|
|
"type": "tag",
|
|
"params": [
|
|
"host"
|
|
]
|
|
},
|
|
{
|
|
"type": "fill",
|
|
"params": [
|
|
"null"
|
|
]
|
|
}
|
|
],
|
|
"select": [
|
|
[
|
|
{
|
|
"type": "field",
|
|
"params": [
|
|
"mean_in"
|
|
]
|
|
},
|
|
{
|
|
"type": "mean",
|
|
"params": []
|
|
},
|
|
{
|
|
"type": "non_negative_derivative",
|
|
"params": [
|
|
"1s"
|
|
]
|
|
}
|
|
]
|
|
],
|
|
"measurement": "logstash_events",
|
|
"alias": "$tag_host: $col",
|
|
"query": "SELECT non_negative_derivative(mean(\"mean_out\"), 1s) as \"trend_out\" FROM \"so_long_term\".\"logstash_events\" WHERE (\"host\" =~ /^$servername$/) AND $timeFilter GROUP BY time($__interval), \"host\" fill(null)",
|
|
"rawQuery": true
|
|
}
|
|
],
|
|
"maxDataPoints": null,
|
|
"description": "",
|
|
"timeFrom": null,
|
|
"timeShift": null
|
|
}
|