-
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
{,x-pack}/packetbeat: add support for pipeline module uploads #37291
Conversation
d12b9c6
to
644f9f8
Compare
❕ Build Aborted
Expand to view the summary
Build stats
🤖 GitHub commentsExpand to view the GitHub comments
To re-run your PR in the CI, just comment with:
|
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsExpand to view the GitHub comments
To re-run your PR in the CI, just comment with:
|
a1d759d
to
561693e
Compare
❕ Build Aborted
Expand to view the summary
Build stats
🤖 GitHub commentsExpand to view the GitHub comments
To re-run your PR in the CI, just comment with:
|
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsExpand to view the GitHub comments
To re-run your PR in the CI, just comment with:
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
💔 Build Failed
Expand to view the summary
Build stats
Steps errors
Expand to view the steps failures
|
/test |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsExpand to view the GitHub comments
To re-run your PR in the CI, just comment with:
|
This pull request is now in conflicts. Could you fix it? 🙏
|
41cf122
to
8935221
Compare
💚 Build Succeeded
Expand to view the summary
Build stats
❕ Flaky test reportNo test was executed to be analysed. 🤖 GitHub commentsExpand to view the GitHub comments
To re-run your PR in the CI, just comment with:
|
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.
This looks good to me, but I think we need some accompanying documentation additions to explain the purpose of the pipelines and why you would want to ensure they are loaded. We'll need some docs to explain how to load the pipelines manually for cases where a non-Elasticsearch output is used. And lastly the docs will need to reflect the additional privilege that is needed to install the pipelines (manage_pipeline
). This can be a separate PR.
@@ -194,6 +194,8 @@ Setting environmental variable ELASTIC_NETINFO:false in Elastic Agent pod will d | |||
|
|||
*Packetbeat* | |||
|
|||
- Add metrics for TCP flags. {issue}36992[36992] {pull}36975[36975] |
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.
Is this changelog line intentional?
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.
No it is not. Removed.
💔 Build Failed
Expand to view the summary
Build stats
Pipeline error
❕ Flaky test reportNo test was executed to be analysed. 🤖 GitHub commentsExpand to view the GitHub comments
To re-run your PR in the CI, just comment with:
|
b6282ed
to
08a161e
Compare
💚 Build Succeeded
Expand to view the summary
Build stats
❕ Flaky test reportNo test was executed to be analysed. 🤖 GitHub commentsExpand to view the GitHub comments
To re-run your PR in the CI, just comment with:
|
This pull request is now in conflicts. Could you fix it? 🙏
|
[git-generate] yoink -pkg ./winlogbeat/module -dir packetbeat -y UploadPipelines,PipelinesFS gsed -r -i 's/Winlogbeat/Packetbeat/g' packetbeat/module/*.go gsed -r -i 's/winlogbeat/packetbeat/g' packetbeat/module/*.go goimports -w -local github.com/elastic ./packetbeat/module yoink -pkg ./x-pack/winlogbeat/module -dir x-pack/packetbeat -y init gsed -r -i 's/winlogbeat/packetbeat/g' x-pack/packetbeat/module/*.go mkdir -p x-pack/packetbeat/module/null/ingest touch x-pack/packetbeat/module/null/ingest/pin.yml
…ve placeholder [git-generate] data_stream_root=$(go env GOPATH)/src/github.com/elastic/integrations/packages/network_traffic/data_stream parallel mkdir -p x-pack/packetbeat/module/{/}/ingest ::: $data_stream_root/* parallel 'cp {}/elasticsearch/ingest_pipeline/* x-pack/packetbeat/module/{/}/ingest/' ::: $data_stream_root/* rm -rf x-pack/packetbeat/module/null
08a161e
to
a68497d
Compare
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsExpand to view the GitHub comments
To re-run your PR in the CI, just comment with:
|
…c#37291) * packetbeat/module: new package for supporting modules [git-generate] yoink -pkg ./winlogbeat/module -dir packetbeat -y UploadPipelines,PipelinesFS gsed -r -i 's/Winlogbeat/Packetbeat/g' packetbeat/module/*.go gsed -r -i 's/winlogbeat/packetbeat/g' packetbeat/module/*.go goimports -w -local github.com/elastic ./packetbeat/module yoink -pkg ./x-pack/winlogbeat/module -dir x-pack/packetbeat -y init gsed -r -i 's/winlogbeat/packetbeat/g' x-pack/packetbeat/module/*.go mkdir -p x-pack/packetbeat/module/null/ingest touch x-pack/packetbeat/module/null/ingest/pin.yml * packetbeat/module: adjust pipeline names * packetbeat/beater: add support for pipeline uploads * x-pack/packetbeat/module: import pipelines from integrations and remove placeholder [git-generate] data_stream_root=$(go env GOPATH)/src/github.com/elastic/integrations/packages/network_traffic/data_stream parallel mkdir -p x-pack/packetbeat/module/{/}/ingest ::: $data_stream_root/* parallel 'cp {}/elasticsearch/ingest_pipeline/* x-pack/packetbeat/module/{/}/ingest/' ::: $data_stream_root/* rm -rf x-pack/packetbeat/module/null * x-pack/packetbeat/module: add routing
Proposed commit message
See title.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.Author's Checklist
How to test this PR locally
Related issues
Use cases
Screenshots
Logs