Skip to content

Commit

Permalink
consolidate communication-1.0.0.mapping.json schema to match all acro…
Browse files Browse the repository at this point in the history
…ss (#849)

Signed-off-by: YANGDB <yang.db.dev@gmail.com>
  • Loading branch information
YANG-DB authored and derek-ho committed Sep 6, 2023
1 parent 3a34872 commit cb0e2a6
Show file tree
Hide file tree
Showing 2 changed files with 254 additions and 210 deletions.
Original file line number Diff line number Diff line change
@@ -1,112 +1,134 @@
{
"template": {
"mappings": {
"_meta": {
"version": "1.0.0",
"catalog": "observability",
"type": "logs",
"component": "communication"
},
"properties": {
"communication": {
"properties": {
"sock.family": {
"type": "keyword",
"ignore_above": 256
"template": {
"mappings": {
"_meta": {
"version": "1.0.0",
"catalog": "observability",
"type": "logs",
"component": "communication"
},
"source": {
"type": "object",
"properties": {
"address": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 1024
"properties": {
"communication": {
"properties": {
"sock.family": {
"type": "keyword",
"ignore_above": 256
},
"source": {
"type": "object",
"properties": {
"address": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"domain": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"bytes": {
"type": "long"
},
"ip": {
"type": "ip"
},
"port": {
"type": "long"
},
"mac": {
"type": "keyword",
"ignore_above": 1024
},
"packets": {
"type": "long"
},
"geo": {
"type": "object",
"properties": {
"city_name": {
"type": "keyword"
},
"country_iso_code": {
"type": "keyword"
},
"country_name": {
"type": "keyword"
},
"location": {
"type": "geo_point"
}
}
}
}
},
"destination": {
"type": "object",
"properties": {
"address": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"domain": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"bytes": {
"type": "long"
},
"ip": {
"type": "ip"
},
"port": {
"type": "long"
},
"mac": {
"type": "keyword",
"ignore_above": 1024
},
"packets": {
"type": "long"
},
"geo": {
"type": "object",
"properties": {
"city_name": {
"type": "keyword"
},
"country_iso_code": {
"type": "keyword"
},
"country_name": {
"type": "keyword"
},
"location": {
"type": "geo_point"
}
}
}
}
}
}
}
},
"domain": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"bytes": {
"type": "long"
},
"ip": {
"type": "ip"
},
"port": {
"type": "long"
},
"mac": {
"type": "keyword",
"ignore_above": 1024
},
"packets": {
"type": "long"
}
}
},
"destination": {
"type": "object",
"properties": {
"address": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"domain": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 1024
}
}
},
"bytes": {
"type": "long"
},
"ip": {
"type": "ip"
},
"port": {
"type": "long"
},
"mac": {
"type": "keyword",
"ignore_above": 1024
},
"packets": {
"type": "long"
},
"geo.city_name": {
"type": "keyword"
},
"geo.country_iso_code": {
"type": "keyword"
},
"geo.country_name": {
"type": "keyword"
},
"geo.location": {
"type": "geo_point"
}
}
}
}
}
}
}
}
}
}
Loading

0 comments on commit cb0e2a6

Please sign in to comment.