https://github.com/nklapste/ghast
A simple server for triggering a script on a Graylog HTTP alert callback!
https://github.com/nklapste/ghast
alert graylog http python script trigger university-project
Last synced: 11 months ago
JSON representation
A simple server for triggering a script on a Graylog HTTP alert callback!
- Host: GitHub
- URL: https://github.com/nklapste/ghast
- Owner: nklapste
- License: mit
- Created: 2019-03-12T18:08:21.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-16T19:27:53.000Z (almost 7 years ago)
- Last Synced: 2025-03-06T18:50:34.746Z (11 months ago)
- Topics: alert, graylog, http, python, script, trigger, university-project
- Language: Python
- Homepage:
- Size: 70.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
#####
ghast
#####
.. image:: https://travis-ci.com/nklapste/ghast.svg?token=PXHp9tdymHUxZDzfWpfK&branch=master
:target: https://travis-ci.com/nklapste/ghast
:alt: Build Status
Graylog HTTP Alert Script Triggerer (ghast)!
A simple server for triggering a script on a Graylog HTTP alert callback!
Requirements
============
* Python 3.5+
Installation
============
ghast can be installed via pip:
.. code-block:: bash
pip install ghast
Example Usage
=============
To start and enable ghast to trigger the script ``./foo.sh`` when a
Graylog HTTP alert callback is sent to the url ``http://localhost:8000/bar``
run the following command:
.. code-block:: bash
ghast --alert-url /bar --alert-script ./foo.sh
To get additional usage help on ghast run the following console command:
.. code-block:: bash
ghast --help