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 range aggregation #3171

Merged
merged 7 commits into from
Feb 26, 2015
Merged

Add IP range aggregation #3171

merged 7 commits into from
Feb 26, 2015

Conversation

lukasolson
Copy link
Member

This PR adds the IP range aggregation. IP range aggregations can be entered using from/to (e.g. 0.0.0.0 to 128.0.0.0) or a CIDR mask (e.g. 0.0.0.0/31). You can press a button in the agg builder to toggle between input methods, which probably isn't the best interface, so we should discuss how we could make this more clean.

It also creates two new classes, Ipv4Address and CidrMask, which are helpful classes for validating input, as well as calculating values for creating filters from buckets.

Closes #3003.

@lukasolson lukasolson added this to the 4.1.0 milestone Feb 25, 2015
@panda01
Copy link
Contributor

panda01 commented Feb 26, 2015

This looks good to me!

panda01 added a commit that referenced this pull request Feb 26, 2015
@panda01 panda01 merged commit af9b180 into elastic:master Feb 26, 2015
@lukasolson lukasolson deleted the issues/3003 branch February 11, 2016 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Adding ip_range aggregation
2 participants