Commit 4b68ce2d authored by Jürgen Haas's avatar Jürgen Haas

Update to version 6.x

parent b14de292
{ {
"mappings": { "mapping": {
"ansible": { "ansible": {
"_all": {
"enabled": true
},
"properties": { "properties": {
"@log_name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"@timestamp": {
"type": "date"
},
"ansible_company": { "ansible_company": {
"type": "string" "type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"ansible_host": { "ansible_host": {
"type": "string" "type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"ansible_playbook": { "ansible_playbook": {
"type": "string" "type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"ansible_result": { "ansible_result": {
"type": "string" "type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"ansible_task": { "ansible_task": {
"type": "string" "type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"ansible_type": { "ansible_type": {
"type": "string" "type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"fluent_added_timestamp": {
"type": "date"
}, },
"host": { "host": {
"type": "string" "type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"hostname": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"index": { "index": {
"type": "integer" "type": "long"
}, },
"msg": { "msg": {
"type": "string" "type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"session": { "session": {
"type": "string" "type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"status": { "status": {
"type": "string" "type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"@timestamp": { "sys_host": {
"type": "date" "type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"sys_module": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"sys_name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
} }
} }
} }
......
{ {
"mappings": { "mapping": {
"haproxy": { "haproxy": {
"_all": {
"enabled": true
},
"properties": { "properties": {
"actconn": { "actconn": {
"type": "string" "type": "text"
}, },
"b_end": { "b_end": {
"type": "string" "type": "text"
}, },
"b_server": { "b_server": {
"type": "string" "type": "text"
}, },
"backend_queue": { "backend_queue": {
"type": "string" "type": "text"
}, },
"beconn": { "beconn": {
"type": "string" "type": "text"
}, },
"bytes_read": { "bytes_read": {
"type": "string" "type": "text"
}, },
"c_ip": { "c_ip": {
"type": "string" "type": "text"
}, },
"c_port": { "c_port": {
"type": "string" "type": "text"
}, },
"captured_request_cookie": { "captured_request_cookie": {
"type": "string" "type": "text"
}, },
"captured_response_cookie": { "captured_response_cookie": {
"type": "string" "type": "text"
}, },
"f_end": { "f_end": {
"type": "string" "type": "text"
}, },
"feconn": { "feconn": {
"type": "string" "type": "text"
}, },
"http_request": { "http_request": {
"type": "string" "type": "text"
}, },
"pid": { "pid": {
"type": "string" "type": "text"
}, },
"prefix": { "prefix": {
"type": "string" "type": "text"
}, },
"ps": { "ps": {
"type": "string" "type": "text"
}, },
"retries": { "retries": {
"type": "string" "type": "text"
}, },
"srv_conn": { "srv_conn": {
"type": "string" "type": "text"
}, },
"srv_queue": { "srv_queue": {
"type": "string" "type": "text"
}, },
"status_code": { "status_code": {
"type": "string" "type": "text"
}, },
"syslog_time": { "syslog_time": {
"type": "date", "type": "date",
"format": "dd/MMM/yyyy:HH:mm:ss Z" "format": "dd/MMM/yyyy:HH:mm:ss Z"
}, },
"tc": { "tc": {
"type": "string" "type": "text"
}, },
"termination_state": { "termination_state": {
"type": "string" "type": "text"
}, },
"tq": { "tq": {
"type": "string" "type": "text"
}, },
"tr": { "tr": {
"type": "string" "type": "text"
}, },
"tt": { "tt": {
"type": "string" "type": "text"
}, },
"tw": { "tw": {
"type": "string" "type": "text"
} }
} }
} }
......
{ {
"mappings": { "mapping": {
"ping": { "ping": {
"_all": {
"enabled": true
},
"properties": { "properties": {
"@log_name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
},
"@timestamp": {
"type": "date"
},
"downtime": { "downtime": {
"type": "integer" "type": "integer"
}, },
"error": { "error": {
"type": "string" "type": "text"
},
"fluent_added_timestamp": {
"type": "date"
},
"hostname": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"isResponsive": { "isResponsive": {
"type": "boolean" "type": "boolean"
...@@ -15,22 +42,28 @@ ...@@ -15,22 +42,28 @@
"type": "boolean" "type": "boolean"
}, },
"monitorName": { "monitorName": {
"type": "string" "type": "text"
}, },
"name": { "name": {
"type": "string" "type": "text"
}, },
"responseTime": { "responseTime": {
"type": "integer" "type": "integer"
}, },
"tags": { "tag": {
"type": "string" "type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}, },
"@timestamp": { "tags": {
"type": "date" "type": "text"
}, },
"url": { "url": {
"type": "string" "type": "text"
} }
} }
} }
......
...@@ -16,3 +16,4 @@ ...@@ -16,3 +16,4 @@
status_code: 200 status_code: 200
body_format: 'json' body_format: 'json'
when: es_index.status != 200 when: es_index.status != 200
failed_when: false
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
- name: "Apt Repository" - name: "Apt Repository"
apt_repository: apt_repository:
repo: 'deb https://artifacts.elastic.co/packages/5.x/apt stable main' repo: 'deb https://artifacts.elastic.co/packages/6.x/apt stable main'
state: 'present' state: 'present'
mode: '644' mode: '644'
notify: notify:
......
[ [
{ {
"_id": "Ansible", "_id": "cbdb4ec0-9669-11e8-9f37-b1928f70a11e",
"_type": "search", "_type": "search",
"_source": { "_source": {
"title": "Ansible", "title": "Ansible",
"description": "", "description": "",
"hits": 0, "hits": 0,
"columns": [ "columns": [
"index",
"status", "status",
"ansible_company", "ansible_company",
"ansible_host",
"ansible_playbook", "ansible_playbook",
"ansible_task", "ansible_task"
"ansible_host"
], ],
"sort": [ "sort": [
"@timestamp", "@timestamp",
...@@ -20,7 +19,7 @@ ...@@ -20,7 +19,7 @@
], ],
"version": 1, "version": 1,
"kibanaSavedObjectMeta": { "kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"index\":\"ansible\",\"filter\":[],\"highlight\":{\"pre_tags\":[\"@kibana-highlighted-field@\"],\"post_tags\":[\"@/kibana-highlighted-field@\"],\"fields\":{\"*\":{}},\"require_field_match\":false,\"fragment_size\":2147483647},\"query\":{\"query_string\":{\"query\":\"*\",\"analyze_wildcard\":true}}}" "searchSourceJSON": "{\n \"index\": \"24b6eaa0-9669-11e8-9f37-b1928f70a11e\",\n \"highlightAll\": true,\n \"version\": true,\n \"query\": {\n \"language\": \"lucene\",\n \"query\": \"\"\n },\n \"filter\": []\n}"
} }
} }
} }
......
[ [
{ {
"_id": "Default", "_id": "811e76f0-9669-11e8-9f37-b1928f70a11e",
"_type": "search", "_type": "search",
"_source": { "_source": {
"title": "Default", "title": "Default",
"description": "", "description": "",
"hits": 0, "hits": 0,
"columns": [ "columns": [
"hostname",
"host",
"code", "code",
"host",
"hostname",
"message", "message",
"agent" "path"
], ],
"sort": [ "sort": [
"@timestamp", "@timestamp",
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
], ],
"version": 1, "version": 1,
"kibanaSavedObjectMeta": { "kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"index\":\"logstash-*\",\"query\":{\"query_string\":{\"query\":\"*\",\"analyze_wildcard\":true}},\"filter\":[],\"highlight\":{\"pre_tags\":[\"@kibana-highlighted-field@\"],\"post_tags\":[\"@/kibana-highlighted-field@\"],\"fields\":{\"*\":{}},\"require_field_match\":false,\"fragment_size\":2147483647}}" "searchSourceJSON": "{\"index\":\"d91446b0-9668-11e8-9f37-b1928f70a11e\",\"highlightAll\":true,\"version\":true,\"query\":{\"language\":\"lucene\",\"query\":\"\"},\"filter\":[]}"
} }
} }
} }
......
[ [
{ {
"_id": "HaProxy", {
"_id": "cbdb4ec0-9669-11e8-9f37-b1928f70a11e",
"_type": "search", "_type": "search",
"_source": { "_source": {
"title": "HaProxy", "title": "HaProxy",
...@@ -23,4 +24,4 @@ ...@@ -23,4 +24,4 @@
} }
} }
} }
] ]
\ No newline at end of file
[
{
"_id": "894fd390-966a-11e8-9f37-b1928f70a11e",
"_type": "search",
"_source": {
"title": "Matterbridge",
"description": "",
"hits": 0,
"columns": [
"level",
"msg"
],
"sort": [
"@timestamp",
"desc"
],
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"index\":\"d91446b0-9668-11e8-9f37-b1928f70a11e\",\"highlightAll\":true,\"version\":true,\"query\":{\"language\":\"lucene\",\"query\":\"*\"},\"filter\":[{\"meta\":{\"negate\":false,\"index\":\"d91446b0-9668-11e8-9f37-b1928f70a11e\",\"type\":\"phrase\",\"key\":\"@log_name\",\"value\":\"app.matterbridge\",\"params\":{\"query\":\"app.matterbridge\",\"type\":\"phrase\"},\"disabled\":false,\"alias\":null},\"query\":{\"match\":{\"@log_name\":{\"query\":\"app.matterbridge\",\"type\":\"phrase\"}}},\"$state\":{\"store\":\"appState\"}}]}"
}
}
}
]
[
{
"_id": "1016ce70-966a-11e8-9f37-b1928f70a11e",
"_type": "search",
"_source": {
"title": "Uptime",
"description": "",
"hits": 0,
"columns": [
"hostname",
"name",
"isUp",
"isResponsive",
"responseTime"
],
"sort": [
"@timestamp",
"desc"
],
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"index\":\"14d18cd0-9669-11e8-9f37-b1928f70a11e\",\"highlightAll\":true,\"version\":true,\"query\":{\"language\":\"lucene\",\"query\":\"\"},\"filter\":[]}"
}
}
}
]
...@@ -4,13 +4,13 @@ ...@@ -4,13 +4,13 @@
"_type": "visualization", "_type": "visualization",
"_source": { "_source": {
"title": "Ansible",