katip-elasticsearch

ElasticSearch scribe for the Katip logging framework.

Version on this page:0.2.0.0
LTS Haskell 10.10:0.4.1.0
Stackage Nightly 2018-03-10:0.4.1.0
Latest on Hackage:0.7.0.0

See all snapshots katip-elasticsearch appears in

BSD-3-Clause licensed by Ozgun Ataman, Michael Xavier
Maintained by [email protected]
This version can be pinned in stack with:katip-elasticsearch-0.2.0.0@sha256:d007cd2f7c13a9eaff1be6fb43e178a9be920c1c1bc7e9fb9fa367f4fa5074e0,2565

Module documentation for 0.2.0.0

Katip Elasticsearch Build Status

katip-elasticsearch is a scribe for the Katip logging framework that sends structured logs to ElasticSearch.

Features

  • Built in bounded buffering.

  • Configurable pool of logging workers to help with high write volume.

  • Optional field type annotation to avoid mistyping values.

  • Optional automatic date sharding, so logs can be filed into monthly, weekly, daily, hourly, every minute indices. You can even specify your own index routing logic. This pattern can be seen in the ELK stack as a way of keeping indexes reasonably sized and easy to optimize, rotate, and manage.

  • Customizable retry policy for temporary outages and errors.

  • Automatic index and mapping setup.

Changes

0.2.0.0

  • Default index sharding policy to daily. Previously it was no sharding. The reasoning here is that no sharding creates very large indices which become very difficult to manage in production. Rotating data out on a time basis is very slow compared to deleting date-based indices.

    Upgrade note: if you were using the defaults before and switch to daily, rather than having the index name of my-index, you’ll start seeing my-index-2016-3-14. The good news is that whatever you’re using to use to search against your logs (such as kibana) will support index patterns, so just use the pattern of my-index* to get everything. Eventually if you have a retention period, you can manually delete the my-index index without disruption.

0.1.1.0

  • Set upper bounds for a few dependencies.

0.1.0.0

  • Initial release