mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
65 lines
1.3 KiB
Django/Jinja
65 lines
1.3 KiB
Django/Jinja
{
|
|
"annotations": {
|
|
"list": [
|
|
{
|
|
"builtIn": 1,
|
|
"datasource": "-- Grafana --",
|
|
"enable": true,
|
|
"hide": true,
|
|
"iconColor": "rgba(0, 211, 255, 1)",
|
|
"name": "Annotations & Alerts",
|
|
"type": "dashboard"
|
|
}
|
|
]
|
|
},
|
|
"description": "{{TITLE}}",
|
|
"editable": true,
|
|
"gnetId": null,
|
|
"graphTooltip": 0,
|
|
"id": {{ ID }},
|
|
"iteration": 1625757047565,
|
|
"links": [],
|
|
"panels": [
|
|
{% for panel in PANELS -%}
|
|
{%- import_json "grafana/panels/" ~ panel ~ ".json.jinja" as panel %}
|
|
{{ panel | json }} {% if not loop.last %},{% endif %}
|
|
{% endfor -%}
|
|
],
|
|
"refresh": "5m",
|
|
"schemaVersion": 27,
|
|
"style": "dark",
|
|
"tags": [],
|
|
"templating": {
|
|
"list": [
|
|
{% for template in TEMPLATES.keys() -%}
|
|
{%- import_json "grafana/templates/" ~ template ~ ".json" as template %}
|
|
{{ template | json }} {% if not loop.last %},{% endif %}
|
|
{% endfor -%}
|
|
]
|
|
},
|
|
"time": {
|
|
"from": "now-3h",
|
|
"to": "now"
|
|
},
|
|
"timepicker": {
|
|
"refresh_intervals": [
|
|
"30s",
|
|
"1m",
|
|
"5m",
|
|
"15m",
|
|
"30m",
|
|
"1h",
|
|
"2h",
|
|
"1d"
|
|
]
|
|
},
|
|
"timezone": "browser",
|
|
"title": "{{ TITLE }}",
|
|
{% if TITLE | lower == 'security onion grid overview' %}
|
|
"uid": "so_overview",
|
|
{% else %}
|
|
"uid": "{{ UID }}",
|
|
{% endif %}
|
|
"version": 1
|
|
}
|