diff --git a/blog-service/2024-12-09-search.md b/blog-service/2024-12-09-search.md new file mode 100644 index 0000000000..72e1e91e9b --- /dev/null +++ b/blog-service/2024-12-09-search.md @@ -0,0 +1,16 @@ +--- +title: compareCIDRPrefix and getCIDRPrefix Operators Behavior Change (Search) +image: https://help.sumologic.com/img/sumo-square.png +keywords: + - compareCIDRPrefix + - getCIDRPrefix + - search-operator + - log-search +hide_table_of_contents: true +--- + +import useBaseUrl from '@docusaurus/useBaseUrl'; + +icon + +We are happy to announce the behavioural change for the [`compareCIDRPrefix`](/docs/search/search-query-language/search-operators/cidr/#comparecidrprefix) and [`getCIDRPrefix`](/docs/search/search-query-language/search-operators/cidr/#getcidrprefix) operators. Previously, these operators would fail if there were trailing or leading spaces around the IP address. With this update, the `compareCIDRPrefix` and `getCIDRPrefix` operators have become more flexible and can do trimming, which means the operators will not fail even if there are trailing or leading spaces around the IP address. diff --git a/docs/search/search-query-language/search-operators/cidr.md b/docs/search/search-query-language/search-operators/cidr.md index 332f6bf5be..e572e80980 100644 --- a/docs/search/search-query-language/search-operators/cidr.md +++ b/docs/search/search-query-language/search-operators/cidr.md @@ -4,7 +4,7 @@ title: cidr Search Operator sidebar_label: CIDR --- -Sumo Logic's three CIDR operators work with CIDR (Classless Inter-Domain Routing, sometimes pronounced "cider") notation to narrow the analysis of IPv4 networks to specific subnets. CIDR notations specify the routing prefix of IP addresses. +Sumo Logic's three CIDR operators work with CIDR (Classless Inter-Domain Routing, sometimes pronounced "cider") notation to narrow the analysis of IPv4 networks to specific subnets. CIDR notations specify the routing prefix of IP addresses. Input data will be trimmed, making these operators more flexible, which allows you to set your expectations accordingly. Using the CIDR operators, you can determine the amount of traffic between network segments, review events from hosts within a specified network segment, or even use a not operator to find addresses that didn't originate from a particular network segment. CIDR operators can be used to compare the network segment of two IPv4 addresses, or just identify the network segment involved in particular messages.