Skip to content

Commit

Permalink
align all schema mapping with labels metadata (#922) (#926)
Browse files Browse the repository at this point in the history
* align all schema mapping components to contain the following metadata info:
labels: list of the relevant labels that are associated with this mapping component or index template

Signed-off-by: YANGDB <[email protected]>

* add labels to the integration config

Signed-off-by: YANGDB <[email protected]>

* update integration.config schema with the  new labels field

Signed-off-by: YANGDB <[email protected]>

* remove duplicate meta section inside the logs index template

Signed-off-by: YANGDB <[email protected]>

* update logs-*.mapping labels formating
update types.ts labels field

Signed-off-by: YANGDB <[email protected]>

---------

Signed-off-by: YANGDB <[email protected]>
(cherry picked from commit beece94)

Co-authored-by: YANGDB <[email protected]>
  • Loading branch information
opensearch-trigger-bot[bot] and YANG-DB authored Aug 15, 2023
1 parent 398335e commit e1a99ff
Show file tree
Hide file tree
Showing 53 changed files with 968 additions and 1,027 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
"description": "Apache web logs collector",
"license": "Apache-2.0",
"type": "logs_apache",
"author": "OpenSearch",
"labels": [
"log",
"communication",
"http"],
"author": "OpenSearch",
"sourceUrl": "https://github.com/opensearch-project/dashboards-observability/tree/main/server/adaptors/integrations/__data__/repository/apache/info",
"statics": {
"logo": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"version": "1.0.0",
"catalog": "observability",
"type": "logs",
"component": "communication"
"component": "communication",
"labels": ["communication"]
},
"properties": {
"communication": {
Expand Down Expand Up @@ -131,4 +132,4 @@
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
"version": "1.0.0",
"catalog": "observability",
"type": "logs",
"component": "http"
"component": "http",
"labels": ["http"]
},
"dynamic_templates": [
{
Expand Down Expand Up @@ -162,4 +163,4 @@
}
}
}
}
}
Loading

0 comments on commit e1a99ff

Please sign in to comment.