-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Filebeat Azure module pipeline setup failing in 7.6.0 #16270
Comments
@narph Do you have context on this? Was there a change in 7.6 that might be causing this? |
@faec , there are some changes in 7.6.0 but from testing, it looks like it is trying to validate on all required fields which it did not do before.
Not sure if something has been changed overall or we need to set anything special in these modules in order to bypass these exceptions. I am looking into this further, at the moment a dirty workaround would be to assign values to these config options:
|
hi @andrewkroh, we are encountering the issue above because of the recent changes here: Before, the setup --modules azure would work just using invalid values but now every configuration option has to be entered. What should be the behavior in this case? How should the azure config adhere to the new changes? |
The manifest for azure/activitylogs is missing declarations for some of the variables used in the template ( The change that I made detects this condition and prevents you from getting into this undefined state. Prior to the change the undefined variables would have been automatically set to It sounds like these variables are optional. If that's the case then add them to the fileset's manifest with a The error you noted from aws/cloudtrail is intentional because the |
@andrewkroh , thanks for the quick reply and explanation. All the 3 configuration options are required (
|
Even if they are required options they still must be declared in the manifest to allow the config file to work properly.
AFAIK disabled filesets are ignored. If you are enabling the module via the CLI |
@andrewkroh , I have defined all the missing var definitions in the manifest files and it seems that this fixed the issue. |
Running Filebeat in Kubernetes as a Job using Elastic docker images.
Version 7.5.x - Pipeline setup succeeds
Version 7.6.0 - Pipeline setup fails
7.5.2 Job definition:
Output:
7.6.0 Job defintion
Output
The text was updated successfully, but these errors were encountered: