esalert

command module
v0.0.0-...-08068d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2017 License: GPL-3.0 Imports: 12 Imported by: 0

README

esalert

Elasticsearch alerting service to Slack

Configuration

[[alert]]
hook="{hook}"
index="{index}"
queries=["keyword1", "keyword2"]
template='''Alert for query *{{.Query}}*: <LINK?id={{.ID}}|[open]>. <!date^{{.Document.received_date | unix}}^Posted {date_num} {time_secs}|Posted 2014-02-18 6:39:42 AM.>'''
username="alertbot"
icon_emoji=":ghost:"
date_field="received_date"

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL