-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport ELB and VPC changes to 2.9 (#878)
* Copy ELB fixes from main Signed-off-by: Simeon Widdis <[email protected]> * Copy VPC fixes from main Signed-off-by: Simeon Widdis <[email protected]> --------- Signed-off-by: Simeon Widdis <[email protected]>
- Loading branch information
Showing
6 changed files
with
432 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
249 changes: 249 additions & 0 deletions
249
server/adaptors/integrations/__data__/repository/aws_elb/schemas/logs_elb-1.0.0.mapping.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,249 @@ | ||
{ | ||
"index_patterns": [ | ||
"ss4o_logs-aws_elb-*" | ||
], | ||
"data_stream": {}, | ||
"template": { | ||
"aliases": { | ||
"logs-elb": {} | ||
}, | ||
"mappings": { | ||
"_meta": { | ||
"version": "1.0.0", | ||
"catalog": "observability", | ||
"type": "logs", | ||
"component": "log", | ||
"correlations": [ | ||
{ | ||
"field": "spanId", | ||
"foreign-schema": "traces", | ||
"foreign-field": "spanId" | ||
}, | ||
{ | ||
"field": "traceId", | ||
"foreign-schema": "traces", | ||
"foreign-field": "traceId" | ||
} | ||
] | ||
}, | ||
"_source": { | ||
"enabled": true | ||
}, | ||
"dynamic_templates": [ | ||
{ | ||
"resources_map": { | ||
"mapping": { | ||
"type": "keyword" | ||
}, | ||
"path_match": "resource.*" | ||
} | ||
}, | ||
{ | ||
"attributes_map": { | ||
"mapping": { | ||
"type": "keyword" | ||
}, | ||
"path_match": "attributes.*" | ||
} | ||
}, | ||
{ | ||
"instrumentation_scope_attributes_map": { | ||
"mapping": { | ||
"type": "keyword" | ||
}, | ||
"path_match": "instrumentationScope.attributes.*" | ||
} | ||
} | ||
], | ||
"properties": { | ||
"severity": { | ||
"properties": { | ||
"number": { | ||
"type": "long" | ||
}, | ||
"text": { | ||
"type": "text", | ||
"fields": { | ||
"keyword": { | ||
"type": "keyword", | ||
"ignore_above": 256 | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"attributes": { | ||
"type": "object", | ||
"properties": { | ||
"data_stream": { | ||
"properties": { | ||
"dataset": { | ||
"ignore_above": 128, | ||
"type": "keyword" | ||
}, | ||
"namespace": { | ||
"ignore_above": 128, | ||
"type": "keyword" | ||
}, | ||
"type": { | ||
"ignore_above": 56, | ||
"type": "keyword" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"body": { | ||
"type": "text" | ||
}, | ||
"@message": { | ||
"type": "alias", | ||
"path": "body" | ||
}, | ||
"@timestamp": { | ||
"type": "date" | ||
}, | ||
"observedTimestamp": { | ||
"type": "date" | ||
}, | ||
"observerTime": { | ||
"type": "alias", | ||
"path": "observedTimestamp" | ||
}, | ||
"traceId": { | ||
"ignore_above": 256, | ||
"type": "keyword" | ||
}, | ||
"spanId": { | ||
"ignore_above": 256, | ||
"type": "keyword" | ||
}, | ||
"schemaUrl": { | ||
"type": "text", | ||
"fields": { | ||
"keyword": { | ||
"type": "keyword", | ||
"ignore_above": 256 | ||
} | ||
} | ||
}, | ||
"instrumentationScope": { | ||
"properties": { | ||
"name": { | ||
"type": "text", | ||
"fields": { | ||
"keyword": { | ||
"type": "keyword", | ||
"ignore_above": 128 | ||
} | ||
} | ||
}, | ||
"version": { | ||
"type": "text", | ||
"fields": { | ||
"keyword": { | ||
"type": "keyword", | ||
"ignore_above": 256 | ||
} | ||
} | ||
}, | ||
"dropped_attributes_count": { | ||
"type": "integer" | ||
}, | ||
"schemaUrl": { | ||
"type": "text", | ||
"fields": { | ||
"keyword": { | ||
"type": "keyword", | ||
"ignore_above": 256 | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"event": { | ||
"properties": { | ||
"domain": { | ||
"ignore_above": 256, | ||
"type": "keyword" | ||
}, | ||
"name": { | ||
"ignore_above": 256, | ||
"type": "keyword" | ||
}, | ||
"source": { | ||
"ignore_above": 256, | ||
"type": "keyword" | ||
}, | ||
"category": { | ||
"ignore_above": 256, | ||
"type": "keyword" | ||
}, | ||
"type": { | ||
"ignore_above": 256, | ||
"type": "keyword" | ||
}, | ||
"kind": { | ||
"ignore_above": 256, | ||
"type": "keyword" | ||
}, | ||
"result": { | ||
"ignore_above": 256, | ||
"type": "keyword" | ||
}, | ||
"exception": { | ||
"properties": { | ||
"message": { | ||
"ignore_above": 1024, | ||
"type": "keyword" | ||
}, | ||
"type": { | ||
"ignore_above": 256, | ||
"type": "keyword" | ||
}, | ||
"stacktrace": { | ||
"type": "text" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"settings": { | ||
"index": { | ||
"mapping": { | ||
"total_fields": { | ||
"limit": 10000 | ||
} | ||
}, | ||
"refresh_interval": "5s" | ||
} | ||
} | ||
}, | ||
"composed_of": [ | ||
"communication", | ||
"http", | ||
"cloud", | ||
"aws_elb", | ||
"url" | ||
], | ||
"version": 1, | ||
"_meta": { | ||
"description": "Simple Schema For Observability", | ||
"catalog": "observability", | ||
"type": "logs", | ||
"correlations": [ | ||
{ | ||
"field": "spanId", | ||
"foreign-schema": "traces", | ||
"foreign-field": "spanId" | ||
}, | ||
{ | ||
"field": "traceId", | ||
"foreign-schema": "traces", | ||
"foreign-field": "traceId" | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,7 +37,7 @@ | |
"version": "1.0.0" | ||
}, | ||
{ | ||
"name": "s3", | ||
"name": "aws_s3", | ||
"version": "1.0.0" | ||
} | ||
], | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.