|
7 | 7 | },
|
8 | 8 | "properties": {
|
9 | 9 | "@timestamp": { "type": "date" },
|
10 |
| - "message": { "type": "text", "index": false }, |
11 |
| - "agent": { "type": "keyword", "ignore_above": 256 }, |
| 10 | + "message": { "type": "string", "index": "no" }, |
| 11 | + "agent": { "type": "string", "index": "not_analyzed", "ignore_above": 256 }, |
12 | 12 | "bytes": { "type": "integer" },
|
13 | 13 | "clientip": { "type": "ip" },
|
14 |
| - "httpversion": { "type": "keyword", "ignore_above": 256 }, |
| 14 | + "httpversion": { "type": "string", "index": "not_analyzed", "ignore_above": 256 }, |
15 | 15 | "response": { "type": "short" },
|
16 |
| - "verb": { "type": "keyword", "ignore_above": 256 }, |
17 |
| - "tags": { "type": "keyword", "ignore_above": 256 }, |
| 16 | + "verb": { "type": "string", "index": "not_analyzed", "ignore_above": 256 }, |
| 17 | + "tags": { "type": "string", "index": "not_analyzed", "ignore_above": 256 }, |
18 | 18 | "geoip" : {
|
19 | 19 | "properties" : {
|
20 |
| - "country_name" : { "type": "keyword" }, |
| 20 | + "country_name" : { "type": "string", "index": "not_analyzed" }, |
21 | 21 | "location" : { "type": "geo_point" }
|
22 | 22 | }
|
23 | 23 | },
|
24 | 24 | "useragent": {
|
25 | 25 | "properties": {
|
26 |
| - "name": { "type": "keyword", "ignore_above": 256 }, |
27 |
| - "os": { "type": "keyword", "ignore_above": 256 }, |
28 |
| - "os_name": { "type": "keyword", "ignore_above": 256 } |
| 26 | + "name": { "type": "string", "index": "not_analyzed", "ignore_above": 256 }, |
| 27 | + "os": { "type": "string", "index": "not_analyzed", "ignore_above": 256 }, |
| 28 | + "os_name": { "type": "string", "index": "not_analyzed", "ignore_above": 256 } |
29 | 29 | }
|
30 | 30 | },
|
31 | 31 | "request": {
|
32 |
| - "norms": false, |
33 |
| - "type": "text", |
| 32 | + "norms": {"enabled": false}, |
| 33 | + "type": "string", |
34 | 34 | "fields": {
|
35 |
| - "keyword": { "ignore_above": 256, "type": "keyword" } |
| 35 | + "keyword": { "ignore_above": 256, "type": "string", "index": "not_analyzed" } |
36 | 36 | }
|
37 | 37 | },
|
38 | 38 | "referrer": {
|
39 |
| - "norms": false, |
40 |
| - "type": "text", |
| 39 | + "norms": {"enabled": false}, |
| 40 | + "type": "string", |
41 | 41 | "fields": {
|
42 |
| - "keyword": { "ignore_above": 256, "type": "keyword" } |
| 42 | + "keyword": { "ignore_above": 256, "type": "string", "index": "not_analyzed" } |
43 | 43 | }
|
44 | 44 | }
|
45 | 45 | }
|
|
0 commit comments