Skip to content

Instantly share code, notes, and snippets.

@aman-gautam
Created September 30, 2014 10:33
Show Gist options
  • Save aman-gautam/d764444fdf23b88af104 to your computer and use it in GitHub Desktop.
Save aman-gautam/d764444fdf23b88af104 to your computer and use it in GitHub Desktop.
Kibana configuration for a sample Analytics over tender's data
{
"title": "Analytics",
"services": {
"query": {
"list": {
"0": {
"query": "*",
"alias": "",
"color": "#7EB26D",
"id": 0,
"pin": false,
"type": "lucene",
"enable": true
}
},
"ids": [
0
]
},
"filter": {
"list": {},
"ids": []
}
},
"rows": [
{
"title": "Header",
"height": "200px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"error": false,
"span": 3,
"editable": true,
"type": "goal",
"loadingEditor": false,
"donut": true,
"tilt": false,
"legend": "above",
"labels": true,
"spyable": true,
"query": {
"goal": 200000
},
"queries": {
"mode": "all",
"ids": [
0
]
},
"title": "2014 Target"
},
{
"span": 4,
"editable": true,
"type": "histogram",
"loadingEditor": false,
"mode": "count",
"time_field": "posted_date",
"value_field": "1",
"x-axis": true,
"y-axis": true,
"scale": 1,
"y_format": "short",
"grid": {
"max": null,
"min": null
},
"queries": {
"mode": "all",
"ids": [
0
]
},
"annotate": {
"enable": false,
"query": "*",
"size": 20,
"field": "_type",
"sort": [
"_score",
"desc"
]
},
"auto_int": false,
"resolution": 100,
"interval": "1d",
"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": false,
"legend_counts": true,
"timezone": "browser",
"percentage": false,
"zerofill": false,
"derivative": true,
"tooltip": {
"value_type": "individual",
"query_as_alias": true
},
"title": "Histogram",
"scaleSeconds": false
},
{
"error": false,
"span": 5,
"editable": true,
"type": "text",
"loadingEditor": false,
"mode": "markdown",
"content": "Welcome\n------------\n\nThank you for using this dashboard for evaluating our analytics and dashboard capabilities. This is a generic dashboard with analytics powered by **elasticsearch** which is a search engine. A more specialized analytics engine can use Hadoop with MapReduce.",
"style": {},
"title": "Welcome"
}
],
"notice": false
},
{
"title": "Options",
"height": "400px",
"editable": true,
"collapse": false,
"collapsable": false,
"panels": [
{
"error": false,
"span": 12,
"editable": true,
"type": "map",
"loadingEditor": false,
"map": "world",
"colors": [
"#A0E2E2",
"#265656"
],
"size": 100,
"exclude": [],
"spyable": true,
"queries": {
"mode": "all",
"ids": [
0
]
},
"field": "country",
"title": "Opportunities Map"
}
],
"notice": false
},
{
"title": "Graph",
"height": "300px",
"editable": true,
"collapse": false,
"collapsable": false,
"panels": [
{
"error": false,
"span": 6,
"editable": true,
"group": [
"default"
],
"type": "terms",
"queries": {
"mode": "all",
"ids": [
0
]
},
"field": "category",
"exclude": [],
"missing": false,
"other": false,
"size": 1000,
"order": "count",
"style": {
"font-size": "10pt"
},
"donut": true,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"chart": "pie",
"legend": true,
"counter_pos": "none",
"title": "Category Share",
"spyable": true,
"tmode": "terms",
"tstat": "total",
"valuefield": ""
},
{
"error": false,
"span": 6,
"editable": true,
"type": "terms",
"loadingEditor": false,
"field": "procurement",
"exclude": [],
"missing": true,
"other": true,
"size": 1000,
"order": "count",
"style": {
"font-size": "10pt"
},
"donut": false,
"tilt": false,
"labels": true,
"arrangement": "horizontal",
"chart": "bar",
"counter_pos": "none",
"spyable": true,
"queries": {
"mode": "all",
"ids": [
0
]
},
"tmode": "terms",
"tstat": "total",
"valuefield": "procurement",
"title": "Procurement Share"
}
],
"notice": false
},
{
"title": "Events",
"height": "400px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"error": false,
"span": 12,
"editable": true,
"group": [
"default"
],
"type": "table",
"size": 15,
"pages": 5,
"offset": 0,
"sort": [
"_score",
"desc"
],
"style": {
"font-size": "9pt"
},
"overflow": "min-height",
"fields": [
"title",
"category",
"country",
"procurement"
],
"highlight": [],
"sortable": true,
"header": true,
"paging": true,
"spyable": true,
"queries": {
"mode": "all",
"ids": [
0
]
},
"field_list": false,
"status": "Stable",
"trimFactor": 300,
"normTimes": true,
"title": "Documents",
"all_fields": false,
"localTime": false,
"timeField": "@timestamp"
}
],
"notice": false
},
{
"title": "Opportunities",
"height": "300px",
"editable": true,
"collapse": false,
"collapsable": true,
"panels": [
{
"error": false,
"span": 4,
"editable": true,
"type": "table",
"loadingEditor": false,
"size": 15,
"pages": 5,
"offset": 0,
"sort": [
"posted_date",
"desc"
],
"overflow": "min-height",
"fields": [
"title",
"category",
"procurement",
"country"
],
"highlight": [],
"sortable": true,
"header": true,
"paging": true,
"field_list": false,
"all_fields": false,
"trimFactor": 300,
"localTime": false,
"timeField": "@timestamp",
"spyable": true,
"queries": {
"mode": "all",
"ids": [
0
]
},
"style": {
"font-size": "9pt"
},
"normTimes": true,
"title": "Recently Posted"
},
{
"error": false,
"span": 4,
"editable": true,
"type": "table",
"loadingEditor": false,
"size": 15,
"pages": 5,
"offset": 0,
"sort": [
"modified_date",
"desc"
],
"overflow": "min-height",
"fields": [
"title",
"procurement",
"category",
"country"
],
"highlight": [
"title"
],
"sortable": true,
"header": true,
"paging": true,
"field_list": false,
"all_fields": false,
"trimFactor": 300,
"localTime": false,
"timeField": "@timestamp",
"spyable": true,
"queries": {
"mode": "all",
"ids": [
0
]
},
"style": {
"font-size": "9pt"
},
"normTimes": true,
"title": "Recently Modified"
},
{
"error": false,
"span": 4,
"editable": true,
"type": "table",
"loadingEditor": false,
"size": 15,
"pages": 5,
"offset": 0,
"sort": [
"archive_date",
"desc"
],
"overflow": "min-height",
"fields": [
"title",
"procurement",
"category",
"country"
],
"highlight": [],
"sortable": true,
"header": true,
"paging": true,
"field_list": false,
"all_fields": false,
"trimFactor": 300,
"localTime": false,
"timeField": "@timestamp",
"spyable": true,
"queries": {
"mode": "all",
"ids": [
0
]
},
"style": {
"font-size": "9pt"
},
"normTimes": true,
"title": "Recently Archived"
}
],
"notice": false
}
],
"editable": true,
"index": {
"interval": "none",
"pattern": "[logstash-]YYYY.MM.DD",
"default": "opportunity2",
"warm_fields": false
},
"style": "dark",
"failover": false,
"panel_hints": true,
"loader": {
"save_gist": false,
"save_elasticsearch": true,
"save_local": true,
"save_default": true,
"save_temp": true,
"save_temp_ttl_enable": true,
"save_temp_ttl": "30d",
"load_gist": true,
"load_elasticsearch": true,
"load_elasticsearch_size": 20,
"load_local": true,
"hide": false
},
"pulldowns": [
{
"type": "query",
"collapse": true,
"notice": false,
"query": "*",
"pinned": true,
"history": [],
"remember": 10,
"enable": true
},
{
"type": "filtering",
"collapse": true,
"notice": false,
"enable": true
}
],
"nav": [
{
"type": "timepicker",
"collapse": false,
"notice": false,
"status": "Stable",
"time_options": [
"5m",
"15m",
"1h",
"6h",
"12h",
"24h",
"2d",
"7d",
"30d"
],
"refresh_intervals": [
"5s",
"10s",
"30s",
"1m",
"5m",
"15m",
"30m",
"1h",
"2h",
"1d"
],
"timefield": "posted_date",
"enable": true,
"now": true,
"filter_id": 0
}
],
"refresh": false
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment