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 (opensearch-project#849) (opensearch-project#882)

(cherry picked from commit 256e0d2)

Signed-off-by: YANGDB <yang.db.dev@gmail.com>
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
1 parent f3a4625 commit a6753dc
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 a6753dc

Please sign in to comment.