Commit 481e3815 authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Reorganiza config y corrige varios ajustes

Omite sobreescritura de nivel de log para matcher.
Añade 'flush_thread_count' para permitir varios hilos de salida. Esto
parece haber logrado que desaparezcan los errores de flush.
parent 7e7873bc
Loading
Loading
Loading
Loading
+9 −6
Original line number Diff line number Diff line
@@ -21,7 +21,6 @@
<match **>
	@type elasticsearch_dynamic
	@id elasticsearch-output
	@log_level debug
	id_key _hash
	remove_keys _hash
	hosts "#{ENV['ES_HOSTS']}"
@@ -31,9 +30,13 @@
	logstash_format true
	logstash_prefix fluentd-${tag_parts[0]}
	logstash_dateformat %Y%m
	flush_interval 30s
	request_timeout 15s
	reconnect_on_error true
	reload_on_failure true
	reload_connections false
	<buffer>
		flush_mode interval
		flush_interval 30s
		flush_thread_count 4
	</buffer>
</match>