Skip to content

Commit

Permalink
align all schema mapping with labels metadata (#922)
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]>
  • Loading branch information
YANG-DB authored Aug 14, 2023
1 parent b4d589c commit beece94
Show file tree
Hide file tree
Showing 55 changed files with 968 additions and 1,512 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 @@
}
}
}
}
}

This file was deleted.

Loading

0 comments on commit beece94

Please sign in to comment.