-
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
enable module fields overrides from custom beats #10060
Conversation
Is this expected to change the fields.go files? Shouldn't the output stay the same? |
the order of the fields changed, was: libbeat, custom, modules now: libbeat, modules, custom |
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. Sorry you need an other rebase.
libbeatModulesPath := filepath.Join(esBeatsPath, "libbeat/processors") | ||
libbeatFieldFiles, err = CollectModuleFiles(libbeatModulesPath) | ||
if err != nil { | ||
func makeYml(indent int, paths ...string) ([]*YmlFile, error) { |
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.
+1 on extracting this.
Conflicts: packetbeat/include/fields.go
jenkins, retest this please |
5 similar comments
jenkins, retest this please |
jenkins, retest this please |
jenkins, retest this please |
jenkins, retest this please |
jenkins, retest this please |
jenkins, retest this please |
Conflicts: auditbeat/include/fields.go filebeat/include/fields.go heartbeat/include/fields.go journalbeat/include/fields.go metricbeat/include/fields/fields.go packetbeat/include/fields.go winlogbeat/include/fields.go x-pack/functionbeat/include/fields.go
jenkins, retest this please |
@graphaelli Taking into account our current situation with CI I'm also happy with Travis only green. |
Conflicts: filebeat/include/fields.go journalbeat/include/fields.go
follow up on #9188 where I unintentionally missed this originally - previously only libbeat fields could be overridden.