Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data ElasticSearchConfig = ElasticSearchConfig {
- esServer :: !Text
- esIndex :: !Text
- esMapping :: !Text
- esLogin :: Maybe (EsUsername, EsPassword)
- esLoginInsecure :: !Bool
- defaultElasticSearchConfig :: ElasticSearchConfig
- newtype EsUsername :: * = EsUsername {
- esUsername :: Text
- newtype EsPassword :: * = EsPassword {
- esPassword :: Text
Documentation
data ElasticSearchConfig Source #
Configuration for the Elasticsearch Logger
. See
https://www.elastic.co/guide/en/elasticsearch/reference/current/glossary.html
for the explanation of terms.
ElasticSearchConfig | |
|
defaultElasticSearchConfig :: ElasticSearchConfig Source #
Sensible defaults for ElasticSearchConfig
.
newtype EsUsername :: * #
Username type used for HTTP Basic authentication. See basicAuthHook
.
newtype EsPassword :: * #
Password type used for HTTP Basic authentication. See basicAuthHook
.