Skip to content

Commit 70740ab

Browse files
JV0812jpipkin1
andauthored
compareCIDRPrefix and getCIDRPrefix Operators Behavior Change (#4833)
* ompareCIDRPrefix and getCIDRPrefix Operators Behavior Change * minor update * Update blog-service/2024-12-04-search.md Co-authored-by: John Pipkin (Sumo Logic) <[email protected]> * Rename 2024-12-04-search.md to 2024-12-09-search.md --------- Co-authored-by: John Pipkin (Sumo Logic) <[email protected]>
1 parent e584bb0 commit 70740ab

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

blog-service/2024-12-09-search.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: compareCIDRPrefix and getCIDRPrefix Operators Behavior Change (Search)
3+
image: https://help.sumologic.com/img/sumo-square.png
4+
keywords:
5+
- compareCIDRPrefix
6+
- getCIDRPrefix
7+
- search-operator
8+
- log-search
9+
hide_table_of_contents: true
10+
---
11+
12+
import useBaseUrl from '@docusaurus/useBaseUrl';
13+
14+
<a href="https://help.sumologic.com/release-notes-service/rss.xml"><img src={useBaseUrl('img/release-notes/rss-orange2.png')} alt="icon" width="50"/></a>
15+
16+
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.

docs/search/search-query-language/search-operators/cidr.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: cidr Search Operator
44
sidebar_label: CIDR
55
---
66

7-
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.
7+
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.
88

99
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.
1010

0 commit comments

Comments
 (0)