Subscribed unsubscribe Subscribe Subscribe

Kentaro Kuribayashi's blog

Software Engineering, Management, Books, and Daily Journal.

Released fluent-plugin-hato

Hato is a tool to manage various notification methods. I wrote before about it. Today I created a fluent plugin for it, which is the most important part for my purpose.

Just add a simple setting into your config like below so that you can send messages to Hato:

<match notification.**>
  type           hato

  api_key        YOUR_API_KEY
  scheme         http
  host           hato.example.com
  port           9699
  message_keys   foo, bar, baz
  message_format [notification] %s %s %s
</match>

I'll combine this plugin with fluent-plugin-notifier. It must be useful if you want to notify messages to various targets.