| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Log.Backend.ElasticSearch.Internal
- 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.
Constructors
| ElasticSearchConfig | |
Fields
| |
Instances
defaultElasticSearchConfig :: ElasticSearchConfig Source #
Sensible defaults for ElasticSearchConfig.
newtype EsUsername :: * #
Username type used for HTTP Basic authentication. See basicAuthHook.
Constructors
| EsUsername | |
Fields
| |
Instances
newtype EsPassword :: * #
Password type used for HTTP Basic authentication. See basicAuthHook.
Constructors
| EsPassword | |
Fields
| |
Instances