Feed of one EC2 Availability Zone

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Feed of one EC2 Availability Zone

L1 Bithead

Is it possible to filter down the Amazon EC2 feed to specific availability zones (just us-east-1 or eu-west-1)?

1 REPLY 1

L7 Applicator

Yes, you can create a new prototype of output node and filter the incoming indicators based on the aws_region attribute.

 

Phase1 - create the prototype

- go to CONFIG

- click on the browse prototypes button

- search for stdlib.feedHCWithValue and click on it

- click on the NEW button

- give to the new prototype a name and copy & paste the following config in the text area

 

infilters:
- name: accept withdraws
  conditions:
  - __method == 'withdraw'
  actions:
  - accept
- name: accept eu-west-1
  actions:
  - accept
  conditions:
  - aws_region == 'eu-west-1'
  - confidence > 75
- name: accept us-east-1
  actions:
  - accept
  conditions:
  - aws_region == 'us-east-1'
  - confidence > 75
- name: drop all  
  actions:
  - drop
store_value: true

- click on OK

 

Phase2 - Use the new prototype

- go to CONFIG

- click on browse prototypes button

- select the prototype you have created in Phase 1

- click CLONE

- select as input the AWS Miner or an aggregator

 

luigi

  • 2928 Views
  • 1 replies
  • 0 Likes
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!