{
    "objects": [
        {
            "attributes": {
                "description": "",
                "kibanaSavedObjectMeta": {
                    "searchSourceJSON": "{\"query\": {\"query\": \"\", \"language\": \"kuery\"}, \"filter\": []}"
                },
                "savedSearchId": "PostgreSQL Query Durations-ecs",
                "title": "Query count and cumulated duration [Filebeat PostgreSQL] ECS",
                "uiStateJSON": "{\"vis\": {\"legendOpen\": true, \"colors\": {\"Sum of query duration\": \"#6ED0E0\", \"Number of queries\": \"#0A437C\"}}}",
                "version": 1,
                "visState": "{\"aggs\": [{\"type\": \"date_histogram\", \"id\": \"3\", \"schema\": \"segment\", \"params\": {\"customInterval\": \"2h\", \"interval\": \"auto\", \"min_doc_count\": 1, \"field\": \"@timestamp\", \"extended_bounds\": {}}, \"enabled\": true}, {\"type\": \"count\", \"id\": \"4\", \"schema\": \"metric\", \"params\": {\"customLabel\": \"Number of queries\"}, \"enabled\": true}, {\"type\": \"sum\", \"id\": \"2\", \"schema\": \"metric\", \"params\": {\"customLabel\": \"Sum of query duration\", \"field\": \"event.duration\"}, \"enabled\": true}], \"type\": \"histogram\", \"params\": {\"grid\": {\"style\": {\"color\": \"#eee\"}, \"categoryLines\": false}, \"valueAxes\": [{\"scale\": {\"mode\": \"normal\", \"type\": \"linear\"}, \"id\": \"ValueAxis-1\", \"position\": \"left\", \"style\": {}, \"show\": true, \"name\": \"LeftAxis-1\", \"labels\": {\"show\": true, \"truncate\": 100, \"rotate\": 0, \"filter\": false}, \"type\": \"value\", \"title\": {\"text\": \"\"}}], \"seriesParams\": [{\"valueAxis\": \"ValueAxis-1\", \"drawLinesBetweenPoints\": true, \"mode\": \"normal\", \"interpolate\": \"linear\", \"show\": true, \"lineWidth\": 2, \"data\": {\"id\": \"4\", \"label\": \"Number of queries\"}, \"type\": \"histogram\", \"showCircles\": true}, {\"valueAxis\": \"ValueAxis-1\", \"drawLinesBetweenPoints\": true, \"mode\": \"normal\", \"interpolate\": \"linear\", \"show\": true, \"lineWidth\": 2, \"data\": {\"id\": \"2\", \"label\": \"Sum of query duration\"}, \"type\": \"histogram\", \"showCircles\": true}], \"categoryAxes\": [{\"scale\": {\"type\": \"linear\"}, \"id\": \"CategoryAxis-1\", \"position\": \"bottom\", \"style\": {}, \"show\": true, \"labels\": {\"show\": true, \"truncate\": 100}, \"type\": \"category\", \"title\": {\"text\": \"@timestamp per 3 hours\"}}], \"addTooltip\": true, \"times\": [], \"addTimeMarker\": false, \"addLegend\": true, \"legendPosition\": \"right\", \"type\": \"histogram\"}, \"title\": \"Query count and cumulated duration [Filebeat PostgreSQL] ECS\"}"
            },
            "id": "PostgreSQL Query Count and Duration-ecs",
            "type": "visualization",
            "version": 1
        },
        {
            "attributes": {
                "columns": [
                    "user.name",
                    "postgresql.log.database",
                    "event.duration",
                    "postgresql.log.query"
                ],
                "description": "",
                "hits": 0,
                "kibanaSavedObjectMeta": {
                    "searchSourceJSON": "{\"query\": {\"query\": \"event.duration>30000000\", \"language\": \"kuery\"}, \"index\": \"filebeat-*\", \"filter\": [], \"highlightAll\": true, \"version\": true}"
                },
                "sort": [
                    "@timestamp",
                    "desc"
                ],
                "title": "Slow Queries [Filebeat PostgreSQL] ECS",
                "version": 1
            },
            "id": "Slow PostgreSQL Queries-ecs",
            "type": "search",
            "version": 1
        },
        {
            "attributes": {
                "columns": [
                    "user.name",
                    "postgresql.log.database",
                    "event.duration",
                    "postgresql.log.query"
                ],
                "description": "",
                "hits": 0,
                "kibanaSavedObjectMeta": {
                    "searchSourceJSON": "{\"query\": {\"query\": \"event.duration:*\", \"language\": \"kuery\"}, \"index\": \"filebeat-*\", \"filter\": [], \"highlightAll\": true, \"version\": true}"
                },
                "sort": [
                    "@timestamp",
                    "desc"
                ],
                "title": "Query Durations [Filebeat PostgreSQL] ECS",
                "version": 1
            },
            "id": "PostgreSQL Query Durations-ecs",
            "type": "search",
            "version": 1
        },
        {
            "attributes": {
                "description": "Dashboard for analyzing the query durations of the Filebeat PostgreSQL module",
                "hits": 0,
                "kibanaSavedObjectMeta": {
                    "searchSourceJSON": "{\"query\": {\"query\": \"postgresql.log.query:*\", \"language\": \"kuery\"}, \"filter\": [], \"highlightAll\": true, \"version\": true}"
                },
                "optionsJSON": "{\"darkTheme\": false}",
                "panelsJSON": "[{\"size_x\": 6, \"id\": \"PostgreSQL Query Count and Duration-ecs\", \"col\": 1, \"row\": 1, \"size_y\": 3, \"panelIndex\": 1, \"type\": \"visualization\"}, {\"sort\": [\"@timestamp\", \"desc\"], \"size_x\": 6, \"id\": \"Slow PostgreSQL Queries-ecs\", \"col\": 7, \"row\": 1, \"columns\": [\"user.name\", \"postgresql.log.database\", \"event.duration\", \"postgresql.log.query\"], \"size_y\": 3, \"panelIndex\": 2, \"type\": \"search\"}, {\"sort\": [\"@timestamp\", \"desc\"], \"size_x\": 12, \"id\": \"PostgreSQL Query Durations-ecs\", \"col\": 1, \"row\": 4, \"columns\": [\"user.name\", \"postgresql.log.database\", \"event.duration\", \"postgresql.log.query\"], \"size_y\": 5, \"panelIndex\": 3, \"type\": \"search\"}]",
                "timeRestore": false,
                "title": "[Filebeat PostgreSQL] Query Duration Overview ECS",
                "uiStateJSON": "{}",
                "version": 1
            },
            "id": "e4c5f230-87f3-11e7-ad9c-db80de0bf8d3-ecs",
            "type": "dashboard",
            "version": 1
        }
    ],
    "version": "6.0.0-beta1-SNAPSHOT"
}