Closed
Description
fluentd or td-agent version.
td-agent-3.4.1-0-x64
Environment information:
Operating system:
Microsoft Windows 10 Enterprise 1703
BuildNumber: 15063
Version: 10.0.15063
OSArchitecture: 64-bit
Kernel version:
Your configuration
C:\opt\td-agent\c
# listen http port
<source>
@type http
port 9880
bind 0.0.0.0
</source>
# send handled messages to elastic
<match **>
@type copy
<store>
@type stdout
</store>
<store>
@type elasticsearch_dynamic
host my.remote.host
port 9200
logstash_prefix buffer_test
logstash_format true
type_name logevent
<buffer>
@type file
path buffer/Handled
total_limit_size 10MB
overflow_action drop_oldest_chunk
queued_chunks_limit_size 10
flush_interval 4s
retry_forever true
flush_thread_count 2
</buffer>
</store>
</match>
Your problem explanation. If you have an error logs, write it together.
Hello! I cannot make to rotate logs file of fluentd application. I use the following command under administrator user to launch program:
fluentd -c c -o C:\opt\td-agent\log --log-rotate-age 3 --log-rotate-size 1000000
But when file C:\opt\td-agent\log reaches the limit of 1000000 bytes, I get messages:
log shifting failed. Permission denied @ rb_file_s_rename - (C:\opt\td-agent\log, C:\opt\td-agent\log.0)
log writing failed. closed stream
log shifting failed. closed stream
log writing failed. closed stream
log shifting failed. closed stream
log writing failed. closed stream
log shifting failed. closed stream
log writing failed. closed stream
log shifting failed. closed stream
log writing failed. closed stream
log shifting failed. closed stream
log writing failed. closed stream
.... (after that many of these lines)