$ python get_logs.py rds-db-instance-name rds.log aws-access-key aws-secret-key
$ ./pgbadger -p '%t:%r:%u@%d:[%p]:' ./rds.log
$ open out.html
$ python get_logs.py rds-db-instance-name rds.log aws-access-key aws-secret-key
$ ./pgbadger -p '%t:%r:%u@%d:[%p]:' ./rds.log
$ open out.html
import com.ifountain.opsgenie.client.http.OpsGenieHttpClient | |
import com.ifountain.opsgenie.client.util.ClientConfiguration | |
import com.ifountain.opsgenie.client.util.JsonUtils | |
import org.apache.http.HttpHeaders | |
import org.apache.http.auth.UsernamePasswordCredentials | |
import org.apache.http.impl.auth.BasicScheme | |
LOG_PREFIX = "[${action}]:"; | |
logger.warn("${LOG_PREFIX} Will execute action for alertId ${alert.alertId}"); |