Docker Pulls Go Report Card license
Fluent Bit Solr plugin
Url: url of the Solr host (or proxy)Collection: Solr collectionContext: Context (uri) for the URL. Default/solrTimeSolrField: Field name that will be generated for the documents as timestamp. (Default format:2006年01月02日T15:04:05.000)Epoch: Use unix epoch for theTimeSolrField. Default:false
Build & Run with fluent-bit:
go build -buildmode=c-shared -ldflags="-s -w" -o out_solr.so out_solr.go
/fluent-bit/bin/fluent-bit -e /fluent-bit/out_solr.so -c /fluent-bit/etc/fluent-bit.confUse with docker:
# /fluent-bit/etc/fluent-bit.conf can be used from a volume
docker run --rm oleewere/fluent-bit
[SERVICE] Daemon Off Log_Level debug [INPUT] Name tail Path examples/example.log Parser myparser [OUTPUT] Name solr Match * Collection hadoop_logs Url http://localhost:8983