Skip to content

Commit

Permalink
Adjust eventdata mapping for 2.x
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmitterdorfer committed Apr 20, 2018
1 parent a712171 commit 0d802d3
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions eventdata/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,39 +7,39 @@
},
"properties": {
"@timestamp": { "type": "date" },
"message": { "type": "text", "index": false },
"agent": { "type": "keyword", "ignore_above": 256 },
"message": { "type": "string", "index": "no" },
"agent": { "type": "string", "index": "not_analyzed", "ignore_above": 256 },
"bytes": { "type": "integer" },
"clientip": { "type": "ip" },
"httpversion": { "type": "keyword", "ignore_above": 256 },
"httpversion": { "type": "string", "index": "not_analyzed", "ignore_above": 256 },
"response": { "type": "short" },
"verb": { "type": "keyword", "ignore_above": 256 },
"tags": { "type": "keyword", "ignore_above": 256 },
"verb": { "type": "string", "index": "not_analyzed", "ignore_above": 256 },
"tags": { "type": "string", "index": "not_analyzed", "ignore_above": 256 },
"geoip" : {
"properties" : {
"country_name" : { "type": "keyword" },
"country_name" : { "type": "string", "index": "not_analyzed" },
"location" : { "type": "geo_point" }
}
},
"useragent": {
"properties": {
"name": { "type": "keyword", "ignore_above": 256 },
"os": { "type": "keyword", "ignore_above": 256 },
"os_name": { "type": "keyword", "ignore_above": 256 }
"name": { "type": "string", "index": "not_analyzed", "ignore_above": 256 },
"os": { "type": "string", "index": "not_analyzed", "ignore_above": 256 },
"os_name": { "type": "string", "index": "not_analyzed", "ignore_above": 256 }
}
},
"request": {
"norms": false,
"type": "text",
"norms": {"enabled": false},
"type": "string",
"fields": {
"keyword": { "ignore_above": 256, "type": "keyword" }
"keyword": { "ignore_above": 256, "type": "string", "index": "not_analyzed" }
}
},
"referrer": {
"norms": false,
"type": "text",
"norms": {"enabled": false},
"type": "string",
"fields": {
"keyword": { "ignore_above": 256, "type": "keyword" }
"keyword": { "ignore_above": 256, "type": "string", "index": "not_analyzed" }
}
}
}
Expand Down

0 comments on commit 0d802d3

Please sign in to comment.