- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

balcv
Contributor
01-22-2020
03:18 PM
What is the best way to define a "group" of ip subnets called server_subnet then use that in searches.
I have about 19 subnets used to host our server fleet and I would like to define these subnets and assign a name such as server_subnets so I can then write a search that references that name. For example
index="*" src_ip="server_subnets" | stats count by host
OR
index="*" dest_ip!="server_subnets"
Thanks
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

renjith_nair
Legend
01-22-2020
11:53 PM
@balcv ,
You may use tags
or eventtypes
to group fields/values
Most of the options are detailed in the Classify and group similar events
---
What goes around comes around. If it helps, hit it with Karma 🙂
What goes around comes around. If it helps, hit it with Karma 🙂
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

renjith_nair
Legend
01-22-2020
11:53 PM
@balcv ,
You may use tags
or eventtypes
to group fields/values
Most of the options are detailed in the Classify and group similar events
---
What goes around comes around. If it helps, hit it with Karma 🙂
What goes around comes around. If it helps, hit it with Karma 🙂
