Skip to content

Commit

Permalink
align all schema mapping with labels metadata (opensearch-project#922) (
Browse files Browse the repository at this point in the history
opensearch-project#926)

* 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]>
(cherry picked from commit e1a99ff)
  • Loading branch information
opensearch-trigger-bot[bot] authored and A9 Swift Project User committed Sep 28, 2023
1 parent e301209 commit 6cbad96
Show file tree
Hide file tree
Showing 54 changed files with 970 additions and 1,029 deletions.
4 changes: 2 additions & 2 deletions auto_sync_commit_metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"last_github_commit": "398335e5c910aed6e2b17b6ce0e1b4360019c1f6",
"last_gitfarm_commit": "902dcde5a1ab483d5a0b7acc4fbda383c6e9df37"
"last_github_commit": "e1a99ff16819d628e4b8a617a488c6a6da55c830",
"last_gitfarm_commit": "c79ccfd7c5a5e55837fc2f7bcaf5227bc47764a8"
}
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 6cbad96

Please sign in to comment.