You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are facing a similar kind of issue where the td-agent.log & .pos files are not updating properly.
In some cases , failing after when log rotation occurs, file gets created but nothing is generated as shown below. Even though if we restart the td-agent, the problem is not fixed
As per some previous comments, I have tried modifying the config with the below parameters, but nothing changes
As we have systems over RHEL 7/6 we are using fluentd version using 1.11.5 td-agent 3.8.1/3.8.0, in our environment
Here is the config we are using, please provide us your inputs here.
[root]:/var/log/td-agent> ls -ltr
-rw-r--r-- 1 td-agent td-agent 68 Aug 29 20:00 s2.pos
-rw-r--r-- 1 td-agent td-agent 384 Aug 29 20:00 b1.pos
-rw-r--r-- 1 td-agent td-agent 37509 Aug 29 20:00 a3.pos
-rw-r--r-- 1 td-agent td-agent 41629 Aug 29 20:00 xx.pos
-rw-r----- 1 td-agent td-agent 18562883 Aug 29 20:38 **td-agent.log-20220830**
-rw-r----- 1 td-agent td-agent **0 Aug 30 03:50 td-agent.log**
****
HI All,
We are facing a similar kind of issue where the td-agent.log & .pos files are not updating properly.
In some cases , failing after when log rotation occurs, file gets created but nothing is generated as shown below. Even though if we restart the td-agent, the problem is not fixed
As per some previous comments, I have tried modifying the config with the below parameters, but nothing changes
enable_stat_watcher false
read_from_head true
follow_inodes true
refresh_interval 5
rotate_wait 5
skip_refresh_on_startup true
pos_file_compaction_interval 30m
As we have systems over RHEL 7/6 we are using fluentd version using 1.11.5 td-agent 3.8.1/3.8.0, in our environment
Here is the config we are using, please provide us your inputs here.
Config:
PS. the same config is working fine in few other instances. I am not sure what was the problem here.
Appreciate your help in advance.
Originally posted by @SriramDuvvuri in #3614 (comment)
The text was updated successfully, but these errors were encountered: