Command Line Use¶
ghast¶
Start the Graylog HTTP Alert Script Triggerer (ghast) server
usage: ghast [-h] [-a GRAYLOG_HTTP_ALERT_URL] [-s GRAYLOG_HTTP_ALERT_SCRIPT]
[-d HOST] [-p PORT] [--enable-https] [--debug]
[--log-level LOG_LEVEL] [--log-dir LOG_DIR] [-v]
Graylog HTTP alert callback¶
-a, --alert-url | |
URL endpoint receive Graylog HTTP alert callbacks on | |
-s, --alert-script | |
Path to the script to trigger on receiving a Graylog HTTP alert callback |
Server¶
-d, --host | Hostname to listen on Default: “localhost” |
-p, --port | Port of the webserver Default: 8000 |
--enable-https | Enable running the Flask-RESTPlus API over HTTPS Default: False |
--debug | Run the server in Flask debug mode Default: False |
Logging¶
--log-level | Set the logging output level Default: INFO |
--log-dir | Enable TimeRotatingLogging at the directory specified |
-v, --verbose | Enable verbose logging Default: False |