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

Add IP* fields to fields.yml generator script #18256

Merged
merged 2 commits into from
May 7, 2020

Conversation

kvch
Copy link
Contributor

@kvch kvch commented May 5, 2020

What does this PR do?

This PR adds the following patterns to the fields.yml generator with the type ip:

  • IP
  • IPV4
  • IPV6

Why is it important?

From now on fields.yml generator is able to guess the correct type for fields which match the patterns mentioned above.

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

Closes #17998

@kvch kvch added enhancement needs_backport PR is waiting to be backported to other branches. [zube]: In Review Team:Services (Deprecated) Label for the former Integrations-Services team labels May 5, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label May 5, 2020
@kvch kvch added :Generator Related to code generators for building custom Beats or modules. Filebeat Filebeat labels May 5, 2020
@kvch kvch requested a review from jsoriano May 5, 2020 16:23
@elasticmachine
Copy link
Collaborator

elasticmachine commented May 5, 2020

💚 Build Succeeded

Pipeline View Test View Changes Artifacts preview stats

Expand to view the summary

Build stats

Test stats 🧪

Test Results
Failed 0
Passed 2774
Skipped 418
Total 3192

@andresrc andresrc removed the needs_team Indicates that the issue/PR needs a Team:* label label May 6, 2020
@kvch kvch force-pushed the feature-fields-generator-more-types branch from 4b67a21 to c4f31ac Compare May 6, 2020 12:38
@kvch kvch merged commit b6b414e into elastic:master May 7, 2020
@kvch kvch removed the needs_backport PR is waiting to be backported to other branches. label Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Filebeat Filebeat :Generator Related to code generators for building custom Beats or modules. Team:Services (Deprecated) Label for the former Integrations-Services team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Field generator - add support for IP grok pattern
4 participants