X-Git-Url: https://gerrit.mcp.mirantis.com/gitweb?p=salt-formulas%2Felasticsearch.git;a=blobdiff_plain;f=elasticsearch%2Ffiles%2Fes_template_log.json;h=9ca0fcf2e8d1f3a01b084edfca41ddf1fd2cc414;hp=1c3e7fb1a7ca3bef026f5bedd7f0eed61b021c44;hb=7f3da1af7c7f448703d1862f4513493f5ae39624;hpb=74aa2d886e63e2ebd097bf183d20fe3aa4918dc2;ds=sidebyside diff --git a/elasticsearch/files/es_template_log.json b/elasticsearch/files/es_template_log.json index 1c3e7fb..9ca0fcf 100644 --- a/elasticsearch/files/es_template_log.json +++ b/elasticsearch/files/es_template_log.json @@ -38,19 +38,7 @@ "index": "not_analyzed", "type": "string" }, - "openstack_roles": { - "type": "string", - "analyzer": "ost_roles" - }, - "openstack_region": { - "index": "not_analyzed", - "type": "string" - }, - "openstack_release": { - "index": "not_analyzed", - "type": "string" - }, - "deployment_id": { + "region": { "index": "not_analyzed", "type": "string" }, @@ -84,6 +72,26 @@ "index": "not_analyzed", "type": "string" }, + "http_client_ip_address": { + "index": "not_analyzed", + "type": "string" + }, + "remote_addr": { + "index": "not_analyzed", + "type": "string" + }, + "user_agent_browser": { + "index": "not_analyzed", + "type": "string" + }, + "http_referer": { + "index": "not_analyzed", + "type": "string" + }, + "user_agent_os": { + "index": "not_analyzed", + "type": "string" + }, "http_version": { "index": "not_analyzed", "type": "string" @@ -91,22 +99,5 @@ } } }, - "settings": { - "analysis": { - "tokenizer": { - "comma" : { - "type": "pattern", - "pattern": "," - } - }, - "analyzer": { - "ost_roles": { - "type": "custom", - "tokenizer": "comma", - "filter": ["lowercase"] - } - } - } - }, "template": "log-*" }