Skip to content

Instantly share code, notes, and snippets.

@matoro
Created December 26, 2018 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matoro/cfc01d6e8f8fc8024ea7769be6384c08 to your computer and use it in GitHub Desktop.
Save matoro/cfc01d6e8f8fc8024ea7769be6384c08 to your computer and use it in GitHub Desktop.
{
"objects": [
{
"attributes": {
"description": "",
"kibanaSavedObjectMeta": {
"searchSourceJSON": {
"filter": []
}
},
"savedSearchId": "Kafka stacktraces",
"title": "Number of stracktraces by class [Filebeat Kafka]",
"uiStateJSON": {},
"version": 1,
"visState": {
"aggs": [
{
"enabled": true,
"id": "1",
"params": {},
"schema": "metric",
"type": "count"
},
{
"enabled": true,
"id": "2",
"params": {
"customInterval": "2h",
"extended_bounds": {},
"field": "@timestamp",
"interval": "auto",
"min_doc_count": 1
},
"schema": "segment",
"type": "date_histogram"
},
{
"enabled": true,
"id": "3",
"params": {
"field": "kafka.log.trace.class",
"order": "desc",
"orderBy": "1",
"size": 10
},
"schema": "group",
"type": "terms"
}
],
"params": {
"addLegend": true,
"addTimeMarker": false,
"addTooltip": true,
"categoryAxes": [
{
"id": "CategoryAxis-1",
"labels": {
"show": true,
"truncate": 100
},
"position": "bottom",
"scale": {
"type": "linear"
},
"show": true,
"style": {},
"title": {
"text": "@timestamp per 30 minutes"
},
"type": "category"
}
],
"grid": {
"categoryLines": false,
"style": {
"color": "#eee"
}
},
"legendPosition": "right",
"seriesParams": [
{
"data": {
"id": "1",
"label": "Count"
},
"drawLinesBetweenPoints": true,
"mode": "stacked",
"show": "true",
"showCircles": true,
"type": "histogram",
"valueAxis": "ValueAxis-1"
}
],
"times": [],
"type": "histogram",
"valueAxes": [
{
"id": "ValueAxis-1",
"labels": {
"filter": false,
"rotate": 0,
"show": true,
"truncate": 100
},
"name": "LeftAxis-1",
"position": "left",
"scale": {
"mode": "normal",
"type": "linear"
},
"show": true,
"style": {},
"title": {
"text": "Count"
},
"type": "value"
}
]
},
"title": "Number of Kafka stracktraces by class",
"type": "histogram"
}
},
"id": "Number of Kafka stracktraces by class",
"type": "visualization",
"version": 2
},
{
"attributes": {
"columns": [
"kafka.log.class",
"kafka.log.trace.class",
"kafka.log.trace.full"
],
"description": "",
"hits": 0,
"kibanaSavedObjectMeta": {
"searchSourceJSON": {
"filter": [],
"highlightAll": true,
"index": "filebeat-*",
"query": {
"language": "lucene",
"query": "_exists_:kafka.log.trace.class"
},
"version": true
}
},
"sort": [
"@timestamp",
"desc"
],
"title": "Stacktraces [Filebeat Kafka]",
"version": 1
},
"id": "Kafka stacktraces",
"type": "search",
"version": 1
},
{
"attributes": {
"columns": [
"kafka.log.level",
"kafka.log.component",
"kafka.log.message"
],
"description": "",
"hits": 0,
"kibanaSavedObjectMeta": {
"searchSourceJSON": {
"filter": [
{
"$state": {
"store": "appState"
},
"meta": {
"alias": null,
"disabled": false,
"index": "filebeat-*",
"key": "fileset.module",
"negate": false,
"params": {
"query": "kafka",
"type": "phrase"
},
"type": "phrase",
"value": "kafka"
},
"query": {
"match": {
"fileset.module": {
"query": "kafka",
"type": "phrase"
}
}
}
},
{
"$state": {
"store": "appState"
},
"meta": {
"alias": null,
"disabled": false,
"index": "filebeat-*",
"key": "fileset.name",
"negate": false,
"params": {
"query": "log",
"type": "phrase"
},
"type": "phrase",
"value": "log"
},
"query": {
"match": {
"fileset.name": {
"query": "log",
"type": "phrase"
}
}
}
}
],
"highlightAll": true,
"index": "filebeat-*",
"query": {
"language": "lucene",
"query": "*"
},
"version": true
}
},
"sort": [
"@timestamp",
"desc"
],
"title": "All logs [Filebeat Kafka]",
"version": 1
},
"id": "All Kafka logs",
"type": "search",
"version": 1
},
{
"attributes": {
"description": "",
"kibanaSavedObjectMeta": {
"searchSourceJSON": {
"filter": []
}
},
"savedSearchId": "All Kafka logs",
"title": "Log levels over time [Filebeat Kafka]",
"uiStateJSON": {},
"version": 1,
"visState": {
"aggs": [
{
"enabled": true,
"id": "1",
"params": {},
"schema": "metric",
"type": "count"
},
{
"enabled": true,
"id": "2",
"params": {
"customInterval": "2h",
"extended_bounds": {},
"field": "@timestamp",
"interval": "auto",
"min_doc_count": 1
},
"schema": "segment",
"type": "date_histogram"
},
{
"enabled": true,
"id": "3",
"params": {
"customLabel": "Log Level",
"field": "kafka.log.level",
"order": "desc",
"orderBy": "1",
"size": 5
},
"schema": "group",
"type": "terms"
}
],
"params": {
"addLegend": true,
"addTimeMarker": false,
"addTooltip": true,
"categoryAxes": [
{
"id": "CategoryAxis-1",
"labels": {
"show": true,
"truncate": 100
},
"position": "bottom",
"scale": {
"type": "linear"
},
"show": true,
"style": {},
"title": {
"text": "@timestamp per day"
},
"type": "category"
}
],
"grid": {
"categoryLines": false,
"style": {
"color": "#eee"
}
},
"legendPosition": "right",
"seriesParams": [
{
"data": {
"id": "1",
"label": "Count"
},
"drawLinesBetweenPoints": true,
"mode": "stacked",
"show": "true",
"showCircles": true,
"type": "histogram",
"valueAxis": "ValueAxis-1"
}
],
"times": [],
"type": "histogram",
"valueAxes": [
{
"id": "ValueAxis-1",
"labels": {
"filter": false,
"rotate": 0,
"show": true,
"truncate": 100
},
"name": "LeftAxis-1",
"position": "left",
"scale": {
"mode": "normal",
"type": "linear"
},
"show": true,
"style": {},
"title": {
"text": "Count"
},
"type": "value"
}
]
},
"title": "Log levels over time [Filebeat Kafka]",
"type": "histogram"
}
},
"id": "3f7c33c0-87ee-11e7-ad9c-db80de0bf8d3",
"type": "visualization",
"version": 1
},
{
"attributes": {
"description": "Filebeat Kafka module dashboard",
"hits": 0,
"kibanaSavedObjectMeta": {
"searchSourceJSON": {
"filter": [],
"highlightAll": true,
"query": {
"language": "lucene",
"query": ""
},
"version": true
}
},
"optionsJSON": {
"darkTheme": false
},
"panelsJSON": [
{
"col": 1,
"id": "Number of Kafka stracktraces by class",
"panelIndex": 1,
"row": 1,
"size_x": 6,
"size_y": 3,
"type": "visualization"
},
{
"col": 7,
"columns": [
"kafka.log.class",
"kafka.log.trace.class",
"kafka.log.trace.full"
],
"id": "Kafka stacktraces",
"panelIndex": 2,
"row": 1,
"size_x": 6,
"size_y": 3,
"sort": [
"@timestamp",
"desc"
],
"type": "search"
},
{
"col": 1,
"columns": [
"kafka.log.level",
"kafka.log.component",
"kafka.log.message"
],
"id": "All Kafka logs",
"panelIndex": 3,
"row": 6,
"size_x": 12,
"size_y": 5,
"sort": [
"@timestamp",
"desc"
],
"type": "search"
},
{
"col": 1,
"id": "3f7c33c0-87ee-11e7-ad9c-db80de0bf8d3",
"panelIndex": 4,
"row": 4,
"size_x": 12,
"size_y": 2,
"type": "visualization"
}
],
"timeRestore": false,
"title": "[Filebeat Kafka] Overview",
"uiStateJSON": {},
"version": 1
},
"id": "943caca0-87ee-11e7-ad9c-db80de0bf8d3",
"type": "dashboard",
"version": 1
}
],
"version": "6.0.0-beta1-SNAPSHOT"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment