You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[helm]: implement system integration as chart built-in (#5855)
* feat: implement system integration as chart built-in
* feat: restructure logs streams in system integration to allow passing user-supplied vars
* doc: add an example of system integration
* feat: add missing rendered file for system integration example
| kubernetes.system.metrics.vars | object |`{}`| system metric stream vars |
125
125
126
-
### 3 - User Extra Integrations
126
+
### 4 - System integration
127
+
| Key | Type | Default | Description |
128
+
|-----|------|---------|-------------|
129
+
| system.enabled | bool |`false`| enable System integration. |
130
+
| system.output | string |`"default"`| name of the output used in System integration. Note that this output needs to be defined in [outputs](#1-outputs)|
| system.authLogs.vars | object |`{}`| override default variables of auth logs stream. Look in the [values.schema.json](values.schema.json) to see the available variables |
| system.syslog.vars | object |`{}`| override default variables of syslog stream. Look in the [values.schema.json](values.schema.json) to see the available variables |
| extraIntegrations | object |`{}`| extra [user-defined integrations](https://www.elastic.co/guide/en/fleet/current/elastic-agent-input-configuration.html) to be added to the Elastic Agent An example can be found [here](./examples/nginx-custom-integration/README.md)|
130
142
131
-
### 3 - Elastic-Agent Configuration
143
+
### 6 - Elastic-Agent Configuration
132
144
| Key | Type | Default | Description |
133
145
|-----|------|---------|-------------|
134
146
| agent.version | string |`"9.0.0"`| elastic-agent version |
@@ -138,7 +150,7 @@ The chart built-in [kubernetes integration](https://docs.elastic.co/integrations
| agent.presets | map[string]{} |`{ "perNode" : {...}, "clusterWide": {...}, "ksmSharded": {...} }`| Map of deployment presets for the Elastic Agent. The key of the map is the name of the preset. See more for the presets required by the built-in Kubernetes integration [here](./values.yaml)|
# Example: System Integration with custom auth log paths
2
+
3
+
In this example we install the built-in `system` integration and specify custom paths for the auth logs stream (see [agent-system-values.yaml](agent-system-values.yaml)).
4
+
5
+
## Prerequisites:
6
+
1. A k8s secret that contains the connection details to an Elasticsearch cluster such as the URL and the API key ([Kibana - Creating API Keys](https://www.elastic.co/guide/en/kibana/current/api-keys.html)):
7
+
```console
8
+
kubectl create secret generic es-api-secret \
9
+
--from-literal=api_key=... \
10
+
--from-literal=url=...
11
+
```
12
+
13
+
2. `system` integration assets installed through Kibana ([Kibana - Install and uninstall Elastic Agent integration assets](https://www.elastic.co/guide/en/fleet/current/install-uninstall-integration-assets.html))
14
+
15
+
## Run:
16
+
```console
17
+
helm install elastic-agent ../../ \
18
+
-f ./agent-system-values.yaml \
19
+
--set outputs.default.type=ESSecretAuthAPI \
20
+
--set outputs.default.secretName=es-api-secret
21
+
```
22
+
23
+
## Validate:
24
+
25
+
1. The Kibana `system`-related dashboards should start showing up the respective info.
0 commit comments