Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
moved dynamic attribute to event_attributes and renamed object_type
Browse files Browse the repository at this point in the history
… to `object_id_field`
  • Loading branch information
RasonJ committed May 28, 2024
1 parent 9852b6d commit d99d394
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/main/resources/events-mapping.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"dynamic": true,
"properties": {
"application": { "type": "keyword", "ignore_above": 256 },
"action_name": { "type": "keyword", "ignore_above": 100 },
Expand All @@ -13,12 +12,8 @@
"doc_values": true
},
"event_attributes": {
"dynamic": true,
"properties": {
"dwell_time": { "type": "integer" },
"ip": { "type": "ip", "ignore_malformed": true },
"browser": { "type": "text",
"fields": { "keyword": { "type": "keyword", "ignore_above": 256 } }
},
"position": {
"properties": {
"ordinal": { "type": "integer" },
Expand All @@ -36,7 +31,7 @@
"properties": {
"internal_id": { "type": "keyword" },
"object_id": { "type": "keyword", "ignore_above": 256 },
"object_type": { "type": "keyword", "ignore_above": 100 },
"object_id_field": { "type": "keyword", "ignore_above": 100 },
"name": { "type": "keyword", "ignore_above": 256 },
"description": { "type": "text",
"fields": { "keyword": { "type": "keyword", "ignore_above": 256 } }
Expand Down

0 comments on commit d99d394

Please sign in to comment.