-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spike - OpenSearch Observability plugin and Wazuh metrics assessment #195
Comments
Update 2024-07-03The code of the Observability plugin is investigated and analyzed focusing on the idea of using the Notebook Something to note that may be interesting is that they use DashboardContainerByValueRenderer, similar to the current rendering of Dashboards |
Update 2024-07-04Notebook rendering tracking is deepened. Flowchart from the Notebook mainOutputBody VISUALIZATION code casecase 'VISUALIZATION':
let from = moment(visInput?.timeRange?.from).format(dateFormat);
let to = moment(visInput?.timeRange?.to).format(dateFormat);
from = from === 'Invalid date' ? visInput.timeRange.from : from;
to = to === 'Invalid date' ? visInput.timeRange.to : to;
return (
<>
<EuiText size="s" style={{ marginLeft: 9 }}>
{`${from} - ${to}`}
</EuiText>
<DashboardContainerByValueRenderer
key={key}
input={visInput}
onInputUpdated={setVisInput}
/>
</>
); visInput{
"viewMode": "view",
"panels": {
"1": {
"gridData": {
"x": 0,
"y": 0,
"w": 48,
"h": 20,
"i": "1"
},
"type": "visualization",
"explicitInput": {
"id": "1",
"savedObjectId": "c6182e90-3a46-11ef-9824-2bce77daa33d"
}
}
},
"isFullScreenMode": false,
"filters": [],
"useMargins": false,
"id": "ie5b34eb1-3a46-11ef-b2f0-61dbd60e329b",
"visSavedObjId": "c6182e90-3a46-11ef-9824-2bce77daa33d",
"timeRange": {
"to": "2024-07-04T20:49:10.429Z",
"from": "2024-06-04T20:49:10.429Z"
},
"title": "embed_viz_ie5b34eb1-3a46-11ef-b2f0-61dbd60e329b",
"query": {
"query": "",
"language": "lucene"
},
"refreshConfig": {
"pause": true,
"value": 15
}
} Note Although in this case inputVis uses a savedObjectId, in theory it should also support the definition of a visualization as currently used in the different dashboards. |
Description
For the next major release of Wazuh, we want to incorporate metrics and traces about the different components of Wazuh in the dashboard.
To achieve this, we want to leverage the OpenSearch Observability plugin, as it provides a framework to work with metrics and traces. This framework is works with OpenTelemetry, which will be used in other Wazuh components.
The goal of this issue is to identify the capabilities and restrictions of the OpenSearch Observability plugin to generate Wazuh metrics and traceability reports. Within the observability plugin lies the Notebooks application which allows the enhancement of standard dashboards with code snippets, live visualizations, and narrative text.
These Notebooks can be used to generate complex reports.
We need to:
References:
Functional Requirements
Implementation Restrictions
Plan
The text was updated successfully, but these errors were encountered: