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
Copy file name to clipboardExpand all lines: docs/howto/system_testing.md
+17Lines changed: 17 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -977,6 +977,23 @@ In this case, `elastic-package test system` will fail with an error and print a
977
977
skip_ignored_fields:
978
978
- field.to.ignore
979
979
```
980
+
### Kibana policy overrides
981
+
982
+
If you need to test a system test with a Kibana policy override you can do that by setting the environment variable `ELASTIC_PACKAGE_KIBANA_POLICY_OVERRIDES` to be a path to a yaml file that contains the policy override. For example:
983
+
984
+
```shell
985
+
ELASTIC_PACKAGE_KIBANA_POLICY_OVERRIDES=/tmp/overrides.yml elastic-package test system
986
+
```
987
+
988
+
and the `/tmp/overrides.yml` file has the following contents:
989
+
990
+
```yaml
991
+
agent:
992
+
monitoring:
993
+
_runtime_experimental: otel
994
+
```
995
+
996
+
Will result in the system test running with the agent monitoring using the `otel` runtime.
0 commit comments