Skip to content

Instantly share code, notes, and snippets.

@mazgi
Created May 23, 2014 12:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mazgi/39012556a1d866edd280 to your computer and use it in GitHub Desktop.
Save mazgi/39012556a1d866edd280 to your computer and use it in GitHub Desktop.
fluentd with norikra
<source>
type forward
port 24224
</source>
<source>
type secure_forward
port 24284
shared_key secret
self_hostname collector.fluentd.example.com
cert_auto_generate yes
</source>
<source>
type monitor_agent
port 24220
</source>
# Listen DRb for debug
<source>
type debug_agent
port 24230
</source>
<match debug.**>
type stdout
</match>
<match com.example.**>
type copy
<store>
#for debug
type stdout
</store>
<store>
type norikra
norikra localhost:26571
target_map_tag true
remove_tag_suffix secure_forward
</store>
#<store>
# type geoip
# geoip_lookup_key remote
# enable_key_country_code geoip_country
# #remove_tag_prefix nginx
# remove_tag_suffix .access
# add_tag_prefix es.access_log.
#</store>
</match>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment