diff --git a/src/Util/Filebeat/template.json b/src/Util/Filebeat/template.json index 3f6f701..0508074 100644 --- a/src/Util/Filebeat/template.json +++ b/src/Util/Filebeat/template.json @@ -4,45 +4,11 @@ "@timestamp": { "type": "date" }, - "beat": { - "properties": { - "hostname": { - "type": "keyword" - }, - "name": { - "type": "keyword" - }, - "version": { - "type": "keyword" - } - } - }, "channel": { "type": "keyword" }, "context": { "properties": { - "class": { - "type": "text", - "fields": { - "keyword": { - "type": "keyword", - "ignore_above": 256 - } - } - }, - "code": { - "type": "integer" - }, - "command": { - "type": "text", - "fields": { - "keyword": { - "type": "keyword", - "ignore_above": 256 - } - } - }, "exception": { "properties": { "class": { @@ -86,9 +52,6 @@ "message": { "type": "text" }, - "method": { - "type": "keyword" - }, "name": { "type": "text", "fields": { @@ -98,42 +61,62 @@ } } }, - "request_uri": { - "type": "text", - "fields": { - "keyword": { - "type": "keyword", - "ignore_above": 256 - } - } - }, - "route": { - "type": "text", - "fields": { - "keyword": { - "type": "keyword", - "ignore_above": 256 - } - } - }, - "route_parameters": { - "properties": { - "_controller": { - "type": "text", - "fields": { - "keyword": { - "type": "keyword", - "ignore_above": 256 + "http": { + "client" : { + "properties" : { + "agent" : { + "type" : "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 1024 + } } + }, + "address" : { + "type" : "ip" } - }, - "_route": { - "type": "text", - "fields": { - "keyword": { - "type": "keyword", - "ignore_above": 256 + } + }, + "request" : { + "properties" : { + "scheme" : { + "type" : "keyword", + "ignore_above" : 10 + }, + "protocol" : { + "type" : "keyword", + "ignore_above" : 1024 + }, + "method" : { + "type" : "keyword", + "ignore_above" : 10 + }, + "host" : { + "type" : "keyword", + "ignore_above" : 1024 + }, + "uri" : { + "type": "text", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 1024 + } } + }, + "payload" : { + "type" : "text" + } + } + }, + "response" : { + "properties" : { + "code" : { + "type" : "integer" + }, + "payload" : { + "type" : "text" } } } @@ -153,16 +136,6 @@ } } }, - "error": { - "properties": { - "message": { - "type": "text" - }, - "type": { - "type": "text" - } - } - }, "extra": { "properties": { "aggregate_id": { @@ -225,20 +198,6 @@ } } }, - "host": { - "properties": { - "name": { - "type": "keyword" - } - } - }, - "input": { - "properties": { - "type": { - "type": "keyword" - } - } - }, "level": { "type": "short" }, @@ -259,4 +218,4 @@ } } } -} \ No newline at end of file +}