[HA Proxy] Fix incorrect mapping of source.address field in stat datastream#7479
[HA Proxy] Fix incorrect mapping of source.address field in stat datastream#7479agithomas merged 6 commits intoelastic:mainfrom
Conversation
🌐 Coverage report
|
lalit-satapathy
left a comment
There was a problem hiding this comment.
LGTM, since the old field mapping was not done correctly. Should this be a breaking change? IMO it should not be. A correction of a wrongly mapped field should be not considered breaking.
@ishleenk17 for any comments. Should we capture this anywhere apart from the change log?
@ishleenk17 , do you have any concerns? |
@ishleenk17 , can you please take a quick look to unblock this PR? |
|
@ishleenk17 , @lalit-satapathy the Readme section is updated to have the troubleshooting section. Can you please review and approve if all looks good? |
|
|
||
| ## Troubleshooting | ||
|
|
||
| If `source.address` is shown conflicted under ``metrics-*`` data view, then this issue can be solved by [reindexing](https://www.elastic.co/guide/en/elasticsearch/reference/current/use-a-data-stream.html#reindex-with-a-data-stream) the `stat` data stream indices. |
There was a problem hiding this comment.
Are we not mentioning the reindexing steps in the case of TSDS as well?
This seems to be only the normal reindexing.
There was a problem hiding this comment.
Currently the HAProxy is not TSDB enabled. So, no need to have the TSDB related re-indexing to be added presently.
Once the testing of TSDB based re-indexing steps are validated, this section (along with similar sections in other packages), will be modified to include the section for reindexing TSDB enablement. It will be a separate issue , will be tracked separately.
|
@lalit-satapathy , can i have your approval as well ? |
lalit-satapathy
left a comment
There was a problem hiding this comment.
This is a breaking change, but a bug fix to correctly map the field type and also required for tsdb enablement.
|
Package haproxy - 1.8.4 containing this change is available at https://epr.elastic.co/search?package=haproxy |




What does this PR do?
source.addressfield is mapped astext. It must be updated tokeywordtype.Checklist
changelog.ymlfile.How to test this PR locally
Related issues
source.addresstokeywordtype instead oftext#7440Priority : High
This PR is a blocker for TSDB enablement. So, prioritising it to high