
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
fluent-plugin-out-solr
Advanced tools
Yet another Solr output plugin for fluentd based on uken/fluent-plugin-elasticsearch.
Notice: no relationship with btigit/fluent-plugin-solr.
$ gem install fluent-plugin-out-solr
<source>
type tail
format apache
path /tmp/access.log
tag apache.access
</source>
<match apache.*>
type solr
host localhost
port 8983
core collection1
include_tag_key true
tag_key tag
time_field timestamp
# utc # if you do not want to use localtime
# commit true # if you want to commit explicitly
flush_interval 3s
</match>
You should create cores in advance.
See: Time Sliced Plugin Overview - Buffer Plugin Overview | Fluentd
<source>
type tail
format apache
path /tmp/access.log
tag apache.access
</source>
<match apache.*>
type solr_time_sliced
host localhost
port 8983
core log-%Y%m%d
include_tag_key true
tag_key tag
time_field timestamp
# utc # if you do not want to use localtime
# commit true # if you want to commit explicitly
flush_interval 3s
</match>
<autoCommit>
<maxTime>${solr.autoCommit.maxTime:15000}</maxTime>
<openSearcher>false</openSearcher>
</autoCommit>
<autoSoftCommit>
<maxTime>${solr.autoSoftCommit.maxTime:10}</maxTime>
</autoSoftCommit>
<requestHandler name="/update" class="solr.UpdateRequestHandler">
<lst name="defaults">
<str name="update.chain">uuid</str>
</lst>
</requestHandler>
<updateRequestProcessorChain name="uuid">
<processor class="solr.UUIDUpdateProcessorFactory">
<str name="fieldName">id</str>
</processor>
<processor class="solr.RunUpdateProcessorFactory" />
</updateRequestProcessorChain>
<field name="id" type="uuid" indexed="true" stored="true" required="true"/>
<field name="host" type="string" indexed="true" stored="true"/>
<field name="user" type="string" indexed="true" stored="true"/>
<field name="method" type="string" indexed="true" stored="true"/>
<field name="path" type="string" indexed="true" stored="true"/>
<field name="code" type="string" indexed="true" stored="true"/>
<field name="size" type="string" indexed="true" stored="true"/>
<field name="referer" type="string" indexed="true" stored="true"/>
<field name="agent" type="text_ws" indexed="true" stored="true"/>
<field name="tag" type="string" indexed="true" stored="true"/>
<field name="timestamp" type="tdate" indexed="true" stored="true"/>
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)FAQs
Unknown package
We found that fluent-plugin-out-solr demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.