From 9c581786686a33105ba2c5ee71c44302aa002333 Mon Sep 17 00:00:00 2001 From: David Laing Date: Thu, 27 Mar 2014 06:32:42 +0000 Subject: [PATCH 1/2] Update guided and blank citindex dashboards --- src/app/dashboards/cityindex_blank.json | 160 ++++++++++++++++++++++- src/app/dashboards/cityindex_guided.json | 4 +- 2 files changed, 159 insertions(+), 5 deletions(-) diff --git a/src/app/dashboards/cityindex_blank.json b/src/app/dashboards/cityindex_blank.json index 7d226fe022912..47bd3c33e1ace 100644 --- a/src/app/dashboards/cityindex_blank.json +++ b/src/app/dashboards/cityindex_blank.json @@ -35,14 +35,168 @@ ] } }, - "rows": [], + "rows": [ + { + "title": "", + "height": "150px", + "editable": true, + "collapse": false, + "collapsable": true, + "panels": [ + { + "span": 8, + "editable": true, + "type": "histogram", + "loadingEditor": false, + "mode": "count", + "time_field": "@timestamp", + "value_field": null, + "x-axis": true, + "y-axis": true, + "scale": 1, + "y_format": "none", + "grid": { + "max": null, + "min": 0 + }, + "queries": { + "mode": "all", + "ids": [ + 0 + ] + }, + "annotate": { + "enable": false, + "query": "*", + "size": 20, + "field": "_type", + "sort": [ + "_score", + "desc" + ] + }, + "auto_int": true, + "resolution": 100, + "interval": "30s", + "intervals": [ + "auto", + "1s", + "1m", + "5m", + "10m", + "30m", + "1h", + "3h", + "12h", + "1d", + "1w", + "1y" + ], + "lines": false, + "fill": 0, + "linewidth": 3, + "points": false, + "pointradius": 5, + "bars": true, + "stack": true, + "spyable": true, + "zoomlinks": true, + "options": true, + "legend": true, + "show_query": true, + "interactive": true, + "legend_counts": true, + "timezone": "browser", + "percentage": false, + "zerofill": true, + "derivative": false, + "tooltip": { + "value_type": "cumulative", + "query_as_alias": true + } + }, + { + "error": false, + "span": 4, + "editable": true, + "type": "text", + "loadingEditor": false, + "mode": "markdown", + "content": "This is blankish dashboard, add queries, filters and then rows and panels to create your dashboard... and delete this panel first ;-)", + "style": {}, + "title": "New dashboard" + } + ], + "notice": false + }, + { + "title": "Empty Row", + "height": "150px", + "editable": true, + "collapse": false, + "collapsable": true, + "panels": [], + "notice": false + }, + { + "title": "Table", + "height": "150px", + "editable": true, + "collapse": false, + "collapsable": true, + "panels": [ + { + "error": false, + "span": 12, + "editable": true, + "type": "table", + "loadingEditor": false, + "size": 100, + "pages": 5, + "offset": 0, + "sort": [ + "_score", + "desc" + ], + "overflow": "min-height", + "fields": [ + "@timestamp", + "@source_host", + "@message" + ], + "highlight": [], + "sortable": true, + "header": true, + "paging": true, + "field_list": true, + "all_fields": false, + "trimFactor": 300, + "localTime": false, + "timeField": "@timestamp", + "spyable": true, + "queries": { + "mode": "all", + "ids": [ + 0 + ] + }, + "style": { + "font-size": "9pt" + }, + "normTimes": true, + "title": "Log Table" + } + ], + "notice": false + } + ], "editable": true, "failover": false, "index": { - "interval": "none", + "interval": "hour", "pattern": "[logstash-]YYYY.MM.DD", "default": "_all", - "warm_fields": false + "warm_fields": true }, "style": "dark", "panel_hints": true, diff --git a/src/app/dashboards/cityindex_guided.json b/src/app/dashboards/cityindex_guided.json index 031114d7c9091..7f3c5f17d2f77 100644 --- a/src/app/dashboards/cityindex_guided.json +++ b/src/app/dashboards/cityindex_guided.json @@ -87,7 +87,7 @@ "type": "text", "status": "Stable", "mode": "markdown", - "content": "See the *Filtering* bar above? Filters let you restrict the results of all the queries.\n\nTo add a new filter; click on an a bar or segment link in one of the panels below.", + "content": "See the *Filtering* bar above? Filters let you restrict the results of all the queries.\n\nTo add a new filter; click on an a bar or segment link in one of the panels below.\n * [Overview of searching (video)](http://www.elasticsearch.org/videos/kibana-logstash/)", "style": {}, "title": "About filters" }, @@ -101,7 +101,7 @@ "type": "text", "status": "Stable", "mode": "markdown", - "content": "See the *Rows and Panels* below? Panels let you visualise the query results in different ways\n\n* [Kibana help - rows and panels](http://www.elasticsearch.org/guide/en/kibana/current/rows-and-panels.html)\n* [The Histogram & Table panels (video)](http://www.elasticsearch.org/blog/kibana-3-0-0-ga-now-available/) - _scroll down to the bottom_", + "content": "See the *Rows and Panels* below? Panels let you visualise the query results in different ways\n\n* [Kibana help - rows and panels](http://www.elasticsearch.org/guide/en/kibana/current/rows-and-panels.html)\n* [The Histogram & Table panels (video)](http://www.elasticsearch.org/videos/timeseries-histogram-kibana/)", "style": {}, "title": "About panels" } From c532247f179d1d7248c6a2577889262727ed120e Mon Sep 17 00:00:00 2001 From: David Laing Date: Thu, 27 Mar 2014 07:03:53 +0000 Subject: [PATCH 2/2] Fix layout --- src/app/dashboards/cityindex_guided.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/dashboards/cityindex_guided.json b/src/app/dashboards/cityindex_guided.json index 7f3c5f17d2f77..c3a982bedefd4 100644 --- a/src/app/dashboards/cityindex_guided.json +++ b/src/app/dashboards/cityindex_guided.json @@ -87,7 +87,7 @@ "type": "text", "status": "Stable", "mode": "markdown", - "content": "See the *Filtering* bar above? Filters let you restrict the results of all the queries.\n\nTo add a new filter; click on an a bar or segment link in one of the panels below.\n * [Overview of searching (video)](http://www.elasticsearch.org/videos/kibana-logstash/)", + "content": "See the *Filtering* bar above? Filters let you restrict the results of all the queries.\n\nTo add a new filter; click on an a bar or segment link in one of the panels below.\n\n* [Overview of searching (video)](http://www.elasticsearch.org/videos/kibana-logstash/)", "style": {}, "title": "About filters" },