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

Cherry-pick #19209 to 7.x: [Packetbeat] Add forwarded tag example to config for network tap #20309

Merged
merged 1 commit into from
Jul 29, 2020

Conversation

andrewkroh
Copy link
Member

@andrewkroh andrewkroh commented Jul 29, 2020

Cherry-pick of PR #19209 to 7.x branch. Original message:

What does this PR do?

Add an example to packetbeat.yml of using the forwarded tag to disable host metadata fields when processing network data from network tap or mirror port.

With the default config you simply add

tags: [forwarded]

and the processors will remove host.* (and not include add_host_metadata).

Why is it important?

For users collecting monitoring a network tap or mirror port its important to not include the host fields in events because this traffic did not originate on the Packetbeat host.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

Related issues

@elasticmachine
Copy link
Collaborator

Pinging @elastic/siem (Team:SIEM)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Jul 29, 2020
@elasticmachine
Copy link
Collaborator

elasticmachine commented Jul 29, 2020

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: [Pull request #20309 updated]

  • Start Time: 2020-07-29T15:21:58.008+0000

  • Duration: 67 min 42 sec

Test stats 🧪

Test Results
Failed 0
Passed 1589
Skipped 6
Total 1595

Add an example to packetbeat.yml of using the `forwarded` tag to disable `host` metadata fields when processing network data from network tap or mirror port.

Relates elastic#13920

(cherry picked from commit 28cb613)
@andrewkroh andrewkroh merged commit c76d2c1 into elastic:7.x Jul 29, 2020
@zube zube bot removed the [zube]: Done label Oct 28, 2020
@andrewkroh andrewkroh deleted the backport_19209_7.x branch January 14, 2022 14:06
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.

3 participants