Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

freedomofpress/ansible-role-elastalert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

freedomofpress.elastalert

Build Status

Installs Elastalert along with relative alert configuration defined by user.

Role Variables

# General settings
elastalert_version: 0.1.15
elastalert_rules_dir: example_rules
elastalert_alert_time_limit:
  days: 2

# Elasticsearch settings
elastalert_es_ssl: false
elastalert_es_verifycerts: false
elastalert_es_host: localhost
elastalert_es_port: 9200
elastalert_es_writeback_index: elastalert_status
elastalert_es_run_every:
  minutes: 5

# System pkg dependencies
elastalert_pkgs:
  - virtualenv
  - python-dev
  - gcc
  - libssl-dev

# System installation settings
elastalert_venv_rootdir: /opt/elastalert/
elastalert_user: elastalert
elastalert_group: "{{ elastalert_user }}"

Example Playbook

- hosts: servers
  roles:
     - role: freedomofpress.elastalert

License

MIT

About

Elastalert ansible role

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published