log_processing_rules:
- type: exclude_at_match
name: exclude_sensitive_info
pattern: (?:sensitive\-info)
| #!/bin/bash | |
| # Set up CentOS to act as an Ansible controller | |
| if [ "$EUID" -ne 0 ] | |
| then echo "Please run as root" | |
| exit | |
| fi | |
| # ensure CentOS all up-to-date | |
| yum update -y | |
| # epel is to be used for pip | |
| yum install epel-release -y |
| import datetime | |
| import time | |
| import requests | |
| import simplejson | |
| from datadog import initialize, api | |
| """ | |
| This script gives a real time report on ec2 and Datadog agent host usage | |
| from multiple organizations and reports them up to the 'main' parent account. |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |