Create a gist now

Instantly share code, notes, and snippets.

kibana.conf.json
[
{
"_id": "Server-Logs",
"_type": "dashboard",
"_source": {
"title": "Server Logs",
"hits": 0,
"description": "",
"panelsJSON": "[\n {\n \"col\": 1,\n \"id\": \"Server-Logs-Visualization\",\n \"row\": 1,\n \"size_x\": 9,\n \"size_y\": 2,\n \"type\": \"visualization\"\n },\n {\n \"col\": 10,\n \"id\": \"Log-Levels\",\n \"row\": 1,\n \"size_x\": 3,\n \"size_y\": 2,\n \"type\": \"visualization\"\n },\n {\n \"col\": 1,\n \"columns\": [\n \"TagName\",\n \"LogLevel\",\n \"Message\",\n \"Source\",\n \"AgentID\",\n \"FileSize\"\n ],\n \"id\": \"All-Logs\",\n \"row\": 3,\n \"size_x\": 12,\n \"size_y\": 3,\n \"sort\": [\n \"Time\",\n \"desc\"\n ],\n \"type\": \"search\"\n }\n]",
"version": 1,
"timeRestore": false,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\n \"filter\": [\n {\n \"query\": {\n \"query_string\": {\n \"analyze_wildcard\": true,\n \"query\": \"*\"\n }\n }\n }\n ]\n}"
}
}
},
{
"_id": "JS-Logs",
"_type": "dashboard",
"_source": {
"title": "JS Logs",
"hits": 0,
"description": "",
"panelsJSON": "[{\"id\":\"JS-Logs-Visualization\",\"type\":\"visualization\",\"size_x\":12,\"size_y\":2,\"col\":1,\"row\":1},{\"id\":\"JS-Logs\",\"type\":\"search\",\"size_x\":12,\"size_y\":3,\"col\":1,\"row\":3,\"columns\":[\"TagName\",\"LogLevel\",\"Message\",\"Source\",\"AgentID\",\"FileSize\"],\"sort\":[\"Time\",\"desc\"]}]",
"version": 1,
"timeRestore": false,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"filter\":[{\"query\":{\"query_string\":{\"query\":\"TagName=js\",\"analyze_wildcard\":true}}}]}"
}
}
},
{
"_id": "Mobile-Logs",
"_type": "dashboard",
"_source": {
"title": "Mobile Logs",
"hits": 0,
"description": "",
"panelsJSON": "[{\"id\":\"Mobile-Logs-Visualization\",\"type\":\"visualization\",\"size_x\":12,\"size_y\":2,\"col\":1,\"row\":1},{\"id\":\"Mobile-Logs\",\"type\":\"search\",\"size_x\":12,\"size_y\":3,\"col\":1,\"row\":3,\"columns\":[\"TagName\",\"LogLevel\",\"Message\",\"Source\",\"AgentID\",\"FileSize\"],\"sort\":[\"Time\",\"desc\"]}]",
"version": 1,
"timeRestore": false,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"filter\":[{\"query\":{\"query_string\":{\"query\":\"TagName=mobile\",\"analyze_wildcard\":true}}}]}"
}
}
},
{
"_id": "All-Logs",
"_type": "search",
"_source": {
"title": "All Logs",
"description": "",
"hits": 0,
"columns": [
"TagName",
"LogLevel",
"Message",
"Source",
"AgentID",
"FileSize"
],
"sort": [
"Time",
"desc"
],
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\n \"index\": \"logpacker\",\n \"query\": {\n \"query_string\": {\n \"analyze_wildcard\": true,\n \"query\": \"*\"\n }\n },\n \"highlight\": {\n \"pre_tags\": [\n \"@kibana-highlighted-field@\"\n ],\n \"post_tags\": [\n \"@/kibana-highlighted-field@\"\n ],\n \"fields\": {\n \"*\": {}\n },\n \"fragment_size\": 2147483647\n },\n \"filter\": []\n}"
}
}
},
{
"_id": "JS-Logs",
"_type": "search",
"_source": {
"title": "JS Logs",
"description": "",
"hits": 0,
"columns": [
"TagName",
"LogLevel",
"Message",
"Source",
"AgentID",
"FileSize"
],
"sort": [
"Time",
"desc"
],
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\n \"index\": \"logpacker\",\n \"query\": {\n \"query_string\": {\n \"analyze_wildcard\": true,\n \"query\": \"TagName=js\"\n }\n },\n \"highlight\": {\n \"pre_tags\": [\n \"@kibana-highlighted-field@\"\n ],\n \"post_tags\": [\n \"@/kibana-highlighted-field@\"\n ],\n \"fields\": {\n \"*\": {}\n },\n \"fragment_size\": 2147483647\n },\n \"filter\": []\n}"
}
}
},
{
"_id": "Mobile-Logs",
"_type": "search",
"_source": {
"title": "Mobile Logs",
"description": "",
"hits": 0,
"columns": [
"TagName",
"LogLevel",
"Message",
"Source",
"AgentID",
"FileSize"
],
"sort": [
"Time",
"desc"
],
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\n \"index\": \"logpacker\",\n \"query\": {\n \"query_string\": {\n \"analyze_wildcard\": true,\n \"query\": \"TagName=mobile\"\n }\n },\n \"highlight\": {\n \"pre_tags\": [\n \"@kibana-highlighted-field@\"\n ],\n \"post_tags\": [\n \"@/kibana-highlighted-field@\"\n ],\n \"fields\": {\n \"*\": {}\n },\n \"fragment_size\": 2147483647\n },\n \"filter\": []\n}"
}
}
},{
"_id": "Log-Levels",
"_type": "visualization",
"_source": {
"title": "Log Levels",
"visState": "{\"type\":\"pie\",\"params\":{\"shareYAxis\":true,\"addTooltip\":true,\"addLegend\":true,\"isDonut\":false},\"aggs\":[{\"id\":\"1\",\"type\":\"count\",\"schema\":\"metric\",\"params\":{}},{\"id\":\"2\",\"type\":\"terms\",\"schema\":\"segment\",\"params\":{\"field\":\"LogLevel\",\"size\":10,\"order\":\"asc\",\"orderBy\":\"1\"}}],\"listeners\":{}}",
"description": "",
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"index\":\"logpacker\",\"query\":{\"query_string\":{\"query\":\"*\",\"analyze_wildcard\":true}},\"filter\":[]}"
}
}
},
{
"_id": "Server-Logs-Visualization",
"_type": "visualization",
"_source": {
"title": "Server Logs Visualization",
"visState": "{\n \"type\": \"histogram\",\n \"params\": {\n \"shareYAxis\": true,\n \"addTooltip\": true,\n \"addLegend\": true,\n \"scale\": \"linear\",\n \"mode\": \"stacked\",\n \"times\": [],\n \"addTimeMarker\": false,\n \"defaultYExtents\": false,\n \"setYExtents\": false,\n \"yAxis\": {}\n },\n \"aggs\": [\n {\n \"id\": \"1\",\n \"type\": \"count\",\n \"schema\": \"metric\",\n \"params\": {}\n },\n {\n \"id\": \"2\",\n \"type\": \"date_histogram\",\n \"schema\": \"segment\",\n \"params\": {\n \"field\": \"Time\",\n \"interval\": \"auto\",\n \"customInterval\": \"2h\",\n \"min_doc_count\": 1,\n \"extended_bounds\": {}\n }\n }\n ],\n \"listeners\": {}\n}",
"description": "",
"savedSearchId": "All-Logs",
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\n \"filter\": []\n}"
}
}
},
{
"_id": "JS-Logs-Visualization",
"_type": "visualization",
"_source": {
"title": "JS Logs Visualization",
"visState": "{\n \"type\": \"histogram\",\n \"params\": {\n \"shareYAxis\": true,\n \"addTooltip\": true,\n \"addLegend\": true,\n \"scale\": \"linear\",\n \"mode\": \"stacked\",\n \"times\": [],\n \"addTimeMarker\": false,\n \"defaultYExtents\": false,\n \"setYExtents\": false,\n \"yAxis\": {}\n },\n \"aggs\": [\n {\n \"id\": \"1\",\n \"type\": \"count\",\n \"schema\": \"metric\",\n \"params\": {}\n },\n {\n \"id\": \"2\",\n \"type\": \"date_histogram\",\n \"schema\": \"segment\",\n \"params\": {\n \"field\": \"Time\",\n \"interval\": \"auto\",\n \"customInterval\": \"2h\",\n \"min_doc_count\": 1,\n \"extended_bounds\": {}\n }\n }\n ],\n \"listeners\": {}\n}",
"description": "",
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\n \"index\": \"logpacker\",\n \"query\": {\n \"query_string\": {\n \"query\": \"TagName=js\",\n \"analyze_wildcard\": true\n }\n },\n \"filter\": []\n}"
}
}
},
{
"_id": "Mobile-Logs-Visualization",
"_type": "visualization",
"_source": {
"title": "Mobile Logs Visualization",
"visState": "{\n \"type\": \"histogram\",\n \"params\": {\n \"shareYAxis\": true,\n \"addTooltip\": true,\n \"addLegend\": true,\n \"scale\": \"linear\",\n \"mode\": \"stacked\",\n \"times\": [],\n \"addTimeMarker\": false,\n \"defaultYExtents\": false,\n \"setYExtents\": false,\n \"yAxis\": {}\n },\n \"aggs\": [\n {\n \"id\": \"1\",\n \"type\": \"count\",\n \"schema\": \"metric\",\n \"params\": {}\n },\n {\n \"id\": \"2\",\n \"type\": \"date_histogram\",\n \"schema\": \"segment\",\n \"params\": {\n \"field\": \"Time\",\n \"interval\": \"auto\",\n \"customInterval\": \"2h\",\n \"min_doc_count\": 1,\n \"extended_bounds\": {}\n }\n }\n ],\n \"listeners\": {}\n}",
"description": "",
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\n \"index\": \"logpacker\",\n \"query\": {\n \"query_string\": {\n \"query\": \"TagName=mobile\",\n \"analyze_wildcard\": true\n }\n },\n \"filter\": []\n}"
}
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment