Filtering Azure IP ranges based on a subset of regions?

Announcements

Changes to the LIVEcommunity experience are coming soon... Here's what you need to know.

Reply
mpetzold
L0 Member

Filtering Azure IP ranges based on a subset of regions?

I'm attempting to filter the azure.cloudIPs miner based on a subset of specific regions. I've customized IPv4 aggregators to specify individual regions (as shown below), and this works correctly. However what would the syntax be to filter on multiple regions?

 

ie, effectively something like azure_region == ['useast' or 'useast2']? I've tried a number of variations, but can't quite seem to make it work.

 

This is the syntax I have for a single region, and this does work:

 

accept withdraws
  • __method == 'withdraw'
  • accept
accept IPv4
  • type == 'IPv4'
  • azure_region == 'usnorth'
  • accept
drop all  
  • drop

Accepted Solutions
xhoms
L5 Sessionator

Hi @mpetzold,

 

just add as many action lines as regions you want to capture before the "drop all" action line. Example of filter configuration to capture IPv4 indicators in regions useast and useast2

2018-01-04_09-56-46.png

 

 

 

View solution in original post


All Replies
xhoms
L5 Sessionator

Hi @mpetzold,

 

just add as many action lines as regions you want to capture before the "drop all" action line. Example of filter configuration to capture IPv4 indicators in regions useast and useast2

2018-01-04_09-56-46.png

 

 

 

View solution in original post

mpetzold
L0 Member

Ha, sure enough it's just that simple; I was over-complicating it.

 

Thanks @xhoms!

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!