-
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] netflow.* Fields Missing from Index Template #13768
Comments
andrewkroh
added
bug
Filebeat
Filebeat
x-pack
Issues and pull requests for X-Pack features.
labels
Sep 23, 2019
adriansr
added a commit
to adriansr/beats
that referenced
this issue
Oct 4, 2019
When fields are registered (fields.go, autogenerated), they are grouped by (Beatname, Name and Priority). Currently, if the same triplet is used more than once, the previous asset is overwritten. This is the case with Filebeat inputs and modules sharing the same name: module/netflow/fields.go: asset.SetFields("filebeat", "netflow", asset.ModuleFieldsPri, AssetNetflow) input/netflow/fields.go: asset.SetFields("filebeat", "netflow", asset.ModuleFieldsPri, AssetNetflow) Also this introduces an inconsistence as the order of registration can vary. Fixes elastic#13768
adriansr
added a commit
that referenced
this issue
Oct 14, 2019
When fields are registered (fields.go, autogenerated), they are grouped by (Beatname, Name and Priority). Currently, if the same triplet is used more than once, the previous asset is overwritten. This is the case with Filebeat inputs and modules sharing the same name: module/netflow/fields.go: asset.SetFields("filebeat", "netflow", asset.ModuleFieldsPri, AssetNetflow) input/netflow/fields.go: asset.SetFields("filebeat", "netflow", asset.ModuleFieldsPri, AssetNetflow) Also this introduces an inconsistence as the order of registration can vary. Fixes #13768
adriansr
added a commit
to adriansr/beats
that referenced
this issue
Oct 14, 2019
When fields are registered (fields.go, autogenerated), they are grouped by (Beatname, Name and Priority). Currently, if the same triplet is used more than once, the previous asset is overwritten. This is the case with Filebeat inputs and modules sharing the same name: module/netflow/fields.go: asset.SetFields("filebeat", "netflow", asset.ModuleFieldsPri, AssetNetflow) input/netflow/fields.go: asset.SetFields("filebeat", "netflow", asset.ModuleFieldsPri, AssetNetflow) Also this introduces an inconsistence as the order of registration can vary. Fixes elastic#13768 (cherry picked from commit 4be5efe)
adriansr
added a commit
that referenced
this issue
Oct 14, 2019
When fields are registered (fields.go, autogenerated), they are grouped by (Beatname, Name and Priority). Currently, if the same triplet is used more than once, the previous asset is overwritten. This is the case with Filebeat inputs and modules sharing the same name: module/netflow/fields.go: asset.SetFields("filebeat", "netflow", asset.ModuleFieldsPri, AssetNetflow) input/netflow/fields.go: asset.SetFields("filebeat", "netflow", asset.ModuleFieldsPri, AssetNetflow) Also this introduces an inconsistence as the order of registration can vary. Fixes #13768 (cherry picked from commit 4be5efe)
leweafan
pushed a commit
to leweafan/beats
that referenced
this issue
Apr 28, 2023
…elastic#14037) When fields are registered (fields.go, autogenerated), they are grouped by (Beatname, Name and Priority). Currently, if the same triplet is used more than once, the previous asset is overwritten. This is the case with Filebeat inputs and modules sharing the same name: module/netflow/fields.go: asset.SetFields("filebeat", "netflow", asset.ModuleFieldsPri, AssetNetflow) input/netflow/fields.go: asset.SetFields("filebeat", "netflow", asset.ModuleFieldsPri, AssetNetflow) Also this introduces an inconsistence as the order of registration can vary. Fixes elastic#13768 (cherry picked from commit 5fec6bc)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
None of the
netflow.*
fields are in the generated index template. This can be verified by runningfilebeat export template
and looking fornetflow
.The text was updated successfully, but these errors were encountered: