Skip to content

Conversation

@efd6
Copy link
Contributor

@efd6 efd6 commented Dec 13, 2022

What does this PR do?

This adds GeoIP enrichment to all network packet capture data streams. Some dashboard visualisations depend on geo location, which would currently require that users add the enrichment themselves in additional processors. Let's make it just work out of the box.

Make the enrichment configurable to allow users with very high throughput and no need for geolocation to turn off enrichment, but set to on by default.

Changes in kibana/ files are due to running elastic-package format (almost entirely whitespace changes).

Checklist

  • I have reviewed tips for building integrations and this pull request is aligned with them.
  • I have verified that all data streams collect metrics or logs.
  • I have added an entry to my package's changelog.yml file.
  • I have verified that Kibana version constraints are current according to guidelines.

Author's Checklist

  • [ ]

How to test this PR locally

Related issues

Screenshots

Screen Shot 2022-12-14 at 12 56 45

@efd6 efd6 self-assigned this Dec 13, 2022
@efd6 efd6 force-pushed the network_traffic_geoip branch from 8ead616 to 20b9e14 Compare December 13, 2022 23:45
@elasticmachine
Copy link

elasticmachine commented Dec 13, 2022

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview preview

Expand to view the summary

Build stats

  • Start Time: 2022-12-14T00:21:25.316+0000

  • Duration: 75 min 0 sec

Test stats 🧪

Test Results
Failed 0
Passed 173
Skipped 0
Total 173

🤖 GitHub comments

Expand to view the GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

efd6 added 2 commits December 14, 2022 10:47
Make the enrichment configurable to allow users with very high throughput and no need for geolocation to turn off enrichment, but set to on by default.
@efd6 efd6 force-pushed the network_traffic_geoip branch from 20b9e14 to c9fed16 Compare December 14, 2022 00:21
@elasticmachine
Copy link

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 100.0% (0/0) 💚
Files 100.0% (0/0) 💚 2.254
Classes 100.0% (0/0) 💚 2.254
Methods 71.875% (46/64) 👎 -19.46
Lines 100.0% (0/0) 💚 8.242
Conditionals 100.0% (0/0) 💚
@efd6 efd6 marked this pull request as ready for review December 14, 2022 02:23
@efd6 efd6 requested a review from a team as a code owner December 14, 2022 02:23
@elasticmachine
Copy link

Pinging @elastic/security-external-integrations (Team:Security-External Integrations)

Copy link
Contributor

@djptek djptek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

I looked at a few sample events and those seem to be 192.168.*.* or 127.0.0.1 so they wouldn't be impacted by these changes

@efd6 efd6 merged commit 339158b into elastic:main Dec 14, 2022
@elasticmachine
Copy link

Package network_traffic - 1.8.0 containing this change is available at https://epr.elastic.co/search?package=network_traffic

@efd6 efd6 deleted the network_traffic_geoip branch February 5, 2025 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Integration:network_traffic Network Packet Capture

3 participants