Skip to content

Commit b827cf7

Browse files
mergify[bot]cmacknzvishaangelova
authored
Add 9.2.1 known issue for host as string in monitoring Elasticsearch output (#11501) (#11548)
* Add 9.2.1 known issue for host as string * Apply suggestions from code review --------- (cherry picked from commit 706d1a1) Co-authored-by: Craig MacKenzie <[email protected]> Co-authored-by: Visha Angelova <[email protected]>
1 parent 230f483 commit b827cf7

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

docs/release-notes/known-issues.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,34 @@ Known issues are significant defects or limitations that may impact your impleme
2323
% Workaround description.
2424
% :::
2525

26+
:::{dropdown} Elastic Agent becomes unhealthy when an Elasticsearch output used for monitoring specifies the hosts parameter as a string
27+
**Applies to: {{agent}} 9.2.1**
28+
29+
On November 21st 2025, a known issue was discovered that causes Elastic Agent to become unhealthy with the error:
30+
31+
`Otel manager failed: failed to generate otel config: error translating config for output: monitoring, unit: http/metrics-monitoring, error: failed decoding config. decoding failed due to the following error(s): 'hosts' source data must be an array or slice, got string`
32+
33+
This occurs when the `hosts` parameter of an Elasticsearch output that is set as the monitoring output is defined as a string instead of a list:
34+
35+
```yaml callouts=false
36+
output.elasticsearch:
37+
hosts: "https://myEShost:9200" # string instead of list
38+
```
39+
40+
For more information, check [#11352](https://github.com/elastic/elastic-agent/issues/11352).
41+
42+
**Workaround**
43+
44+
Affected users can change the `hosts` configuration from a string to a list:
45+
46+
```yaml callouts=false
47+
output.elasticsearch:
48+
hosts: ["https://myEShost:9200"] # list/array instead of string
49+
```
50+
51+
The fix will be included in version 9.2.2, which restores support for both the string and list formats of the `hosts` parameter.
52+
:::
53+
2654
:::{dropdown} Elastic Agent becomes unhealthy with a host URL parsing error related to the Prometheus collector metricset
2755
**Applies to: {{agent}} 9.2.1**
2856

0 commit comments

Comments
 (0)