Coder Social home page Coder Social logo

nickmaccarthy / tattle Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 0.0 2.69 MB

Alerting for Elasticsearch

License: Apache License 2.0

Python 97.69% HTML 2.03% Shell 0.29%
elasticsearch elasticsearch-cluster elk python elasticsearch-alert elasticsearch-queries

tattle's Introduction

Build Status

Tattle

Alerting For Your Elasticsearch Data

Welcome to Tattle, an alerting tool for your Elasticsearch data.

Tattle aims to provide you with alerting capabilities for the data stored in your Elasticsearch cluster. Utilizing powerful Elasticsearch features such as Aggregations and Lucene Query Syntax, coupled together with Tattle's own query language (TQL) our goal is to make alerts that easy to build and, easy to read (because lets face it, you probably wont be the only one who has to read them)

Before you begin, please take a look at the full documentation for Tattle here: https://tattle.readthedocs.io/en/latest/intro.html

Overview

Tattle was designed to make use of the powerful features of Elasticsearch (such as Aggregations) to alert us to a multitude of various metrics and log or event type data. Things such as frequencys, event spikes, aggregation matches, etc all play a big role in our capabilities for alerting. Coupled together with an extendable alert action mechanism, Tattle can even fix problems for you as they arise ( using the script action for example ), notify a Pager Duty Service, or even post to a Slack channel; or all of the above.

Quick Install

Note This will assume we will be installing into /opt/Tattle

  1. Ensure the Requirements are met
  2. Run the following commands:
cd /opt
git clone https://github.com/nickmaccarthy/Tattle
cd /opt/Tattle
virtualenv env && source env/bin/activate
pip install -r requirements.txt
  1. Now set up some Tales, read the docs @ https://tattle.readthedocs.io/en/latest/intro.html
  2. ??
  3. Profit

Requirements

  • Python 2.7, Python 3.4+
  • Virtualenv
  • Pip
  • Git

Documentation

Read the full documentation for Tattle here: https://tattle.readthedocs.io/en/latest/intro.html

tattle's People

Contributors

nickmaccarthy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

tattle's Issues

Generic Webhook Alert Action

Please create an generic Alert Action for Webhooks

Should be able to support the following

  • HTTP Method (POST/GET/PUT, etc)
  • The URL
  • Request Params ( { body: 'some text' }, etc )
  • headers
  • basic http authentication
  • port
  • ssl

Index Alert Action Request

Tattle should be able to index the results of an alert action back into Elasticsearch ( where then subsequent Tales could search the index and take additional actions if necessary )

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.