-
Notifications
You must be signed in to change notification settings - Fork 510
Remove hard-coded dataset value #15653
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
Conversation
Otherwise, it overrides the configured value.
|
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
|
@jsoriano I think we should remove the In theory, |
💚 Build Succeeded
History
cc @rdner |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
One thing, that's not necessarily related to this PR: I tested installing the version 2.0.0, changing the default dataset and then upgrading the integration to 2.0.1 (this PR's version). When this is done data is not ingested after the upgrade, the problem persists.
I didn't investigate much, but it seem that the problem is not with the integration/its upgrade, the problem is using the same dataset as with the buggy version. I even tried just installing this version (2.0.1) and using the same dataset name as with a 2.0.0, even with this fresh installation install data was not ingested.
We likely need to add some extra documentation/warning and investigate if there is a way to "clean up" ES so the same dataset name can be used.
+1 to removing |
After writing this I realised that |
|
Package filestream - 2.0.1 containing this change is available at https://epr.elastic.co/package/filestream/2.0.1/ |
|
@rdner, |
|
We would need to make sure we force a rollover :D then the wrong setting in the index mapping from the 2.0.0 shouldn't matter anymore. |
Package removed from the registry. It can be still available during some time in some locations depending on CDN caches. |
Otherwise, it overrides the configured value. Add a test for the change.
Otherwise, it overrides the configured value.
Checklist
changelog.ymlfile.- [ ] I have verified that any added dashboard complies with Kibana's Dashboard good practicesHow to test this PR locally
Build the package and run the stack using
elastic-package:Create a policy with the filestream integration setting a custom
datasetvalue. I've setelastic-agent.test.Then check the ingested documents in Kibana Discover:
verify that
datasetfields and the_indexare correct and match the configuration.Before this change the events didn't show up at all due to mismatch in routing.
I also tested with the default dataset value:
Related issues