Skip to content
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

Generate fields.go for netflow input #9686

Merged
merged 3 commits into from
Dec 20, 2018

Conversation

andrewkroh
Copy link
Member

@andrewkroh andrewkroh commented Dec 19, 2018

This ensures that the netflow fields are embedded in the filebeat binary for template purposes.

Update x-pack/filebeat to generate a fields.go for each input type. And update the code that
generates the include/list.go to import each input.

Also add headers to the modules.d config files.

@andrewkroh andrewkroh requested a review from a team as a code owner December 19, 2018 17:17
@andrewkroh andrewkroh added the needs_backport PR is waiting to be backported to other branches. label Dec 19, 2018
Update x-pack/filebeat to generate a fields.go for each input type. And update the code that
generates the include/list.go to import each input.

Also add headers to the modules.d config files.
@andrewkroh andrewkroh force-pushed the feature/fb/netflow-fields-go branch from c2f6ccd to 61102de Compare December 19, 2018 17:25
@elasticmachine
Copy link
Collaborator

Pinging @elastic/secops

It was "int" which is not a valid type. Changed it to long rather than integer because we use that everywhere for numbers.
@adriansr adriansr mentioned this pull request Dec 20, 2018
7 tasks
@andrewkroh andrewkroh merged commit 01ae538 into elastic:master Dec 20, 2018
andrewkroh added a commit to andrewkroh/beats that referenced this pull request Dec 21, 2018
* Generate fields.go for netflow input

Update x-pack/filebeat to generate a fields.go for each input type. And update the code that
generates the include/list.go to import each input.

* Fix netflow exporter version datatype

It was "int" which is not a valid type. Changed it to long rather than integer because we use that everywhere for numbers.

Cherry-pick parts of 01ae538 (elastic#9686)
@andrewkroh
Copy link
Member Author

andrewkroh commented Dec 21, 2018

andrewkroh added a commit that referenced this pull request Dec 21, 2018
* Backport fields generation code

Cherry-pick select parts of eb1739e

* Generate fields.go for netflow input

* Generate fields.go for netflow input

Update x-pack/filebeat to generate a fields.go for each input type. And update the code that
generates the include/list.go to import each input.

* Fix netflow exporter version datatype

It was "int" which is not a valid type. Changed it to long rather than integer because we use that everywhere for numbers.

Cherry-pick parts of 01ae538 (#9686)

* Update x-pack/filebeat to use the xpack.mk

The existing Filebeat Makefile could not be reused because generate_imports.py is not portable.

* Add clean and exportDashboard targets

* createDir in GenerateModuleReferenceConfig

* Remove makefile hack to test x-pack/filebeat
andrewkroh added a commit to andrewkroh/beats that referenced this pull request Dec 21, 2018
* Backport fields generation code

Cherry-pick select parts of eb1739e

* Generate fields.go for netflow input

* Generate fields.go for netflow input

Update x-pack/filebeat to generate a fields.go for each input type. And update the code that
generates the include/list.go to import each input.

* Fix netflow exporter version datatype

It was "int" which is not a valid type. Changed it to long rather than integer because we use that everywhere for numbers.

Cherry-pick parts of 01ae538 (elastic#9686)

* Update x-pack/filebeat to use the xpack.mk

The existing Filebeat Makefile could not be reused because generate_imports.py is not portable.

* Add clean and exportDashboard targets

* createDir in GenerateModuleReferenceConfig

* Remove makefile hack to test x-pack/filebeat

(cherry picked from commit 09f0159)
andrewkroh added a commit that referenced this pull request Dec 22, 2018
* Backport fields generation code

Cherry-pick select parts of eb1739e

* Generate fields.go for netflow input

* Generate fields.go for netflow input

Update x-pack/filebeat to generate a fields.go for each input type. And update the code that
generates the include/list.go to import each input.

* Fix netflow exporter version datatype

It was "int" which is not a valid type. Changed it to long rather than integer because we use that everywhere for numbers.

Cherry-pick parts of 01ae538 (#9686)

* Update x-pack/filebeat to use the xpack.mk

The existing Filebeat Makefile could not be reused because generate_imports.py is not portable.

* Add clean and exportDashboard targets

* createDir in GenerateModuleReferenceConfig

* Remove makefile hack to test x-pack/filebeat

(cherry picked from commit 09f0159)
@andrewkroh andrewkroh removed the needs_backport PR is waiting to be backported to other branches. label Jan 31, 2019
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
* Backport fields generation code

Cherry-pick select parts of f54df4f

* Generate fields.go for netflow input

* Generate fields.go for netflow input

Update x-pack/filebeat to generate a fields.go for each input type. And update the code that
generates the include/list.go to import each input.

* Fix netflow exporter version datatype

It was "int" which is not a valid type. Changed it to long rather than integer because we use that everywhere for numbers.

Cherry-pick parts of c44eb1b (elastic#9686)

* Update x-pack/filebeat to use the xpack.mk

The existing Filebeat Makefile could not be reused because generate_imports.py is not portable.

* Add clean and exportDashboard targets

* createDir in GenerateModuleReferenceConfig

* Remove makefile hack to test x-pack/filebeat

(cherry picked from commit 162f255)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants