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=7ea2124ea3e1570a5308c9d3def0baa431a066b0;hp=1c3e7fb1a7ca3bef026f5bedd7f0eed61b021c44;hb=d6eba5f8fa979e29e434225e98bc046d42dfb526;hpb=049328f81f4a579c780beb2687fb98a67968e32f diff --git a/elasticsearch/files/es_template_log.json b/elasticsearch/files/es_template_log.json index 1c3e7fb..7ea2124 100644 --- a/elasticsearch/files/es_template_log.json +++ b/elasticsearch/files/es_template_log.json @@ -38,22 +38,10 @@ "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": { - "index": "not_analyzed", - "type": "string" - }, "request_id": { "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-*" }