Categorygithub.com/wangguoxiang/solr-multiline
modulepackage
1.1.7
Repository: https://github.com/wangguoxiang/solr-multiline.git
Documentation: pkg.go.dev

# README

solr-multiline

# Functions

Get hostname of container, searching first for /etc/host_hostname, otherwise using the hostname assigned to the container (typically container ID).
Get container tags configured with the environment variable LOGSTASH_TAGS.
Get logstash fields configured with the environment variable LOGSTASH_FIELDS.
Get boolean indicating whether json logs should be decoded (or added as message), configured with the environment variable DECODE_JSON_LOGS.
NewSolrAdapter returnas a configured solr.Adapter.

# Structs

No description provided by the author
SolrAdapter is an adapter that streams multiline to Logstash.
No description provided by the author