Sanath Ramesh
11/18/2025, 9:00 AM[INPUT]
Name tail
Path /var/log/cloud-init.log
Buffer_Max_Size 128k
Mem_Buf_Limit 16384k
Skip_Long_Lines On
Path_Key filePath
Tag cloud-init.log
DB /var/db/newrelic-infra/newrelic-integrations/logging/fb.db
[INPUT]
Name tail
Path /var/log/messages
Buffer_Max_Size 128k
Mem_Buf_Limit 16384k
Skip_Long_Lines On
Path_Key filePath
Tag messages
DB /var/db/newrelic-infra/newrelic-integrations/logging/fb.db
[INPUT]
Name tail
Path /var/log/secure
Buffer_Max_Size 128k
Mem_Buf_Limit 16384k
Skip_Long_Lines On
Path_Key filePath
Tag secure
DB /var/db/newrelic-infra/newrelic-integrations/logging/fb.db
[INPUT]
Name tail
Path /var/log/yum.log
Buffer_Max_Size 128k
Mem_Buf_Limit 16384k
Skip_Long_Lines On
Path_Key filePath
Tag yum.log
DB /var/db/newrelic-infra/newrelic-integrations/logging/fb.db
[INPUT]
Name tail
Path /root/.newrelic/newrelic-cli.log
Buffer_Max_Size 128k
Mem_Buf_Limit 16384k
Skip_Long_Lines On
Path_Key filePath
Tag newrelic-cli.log
DB /var/db/newrelic-infra/newrelic-integrations/logging/fb.db
Before Agent stops (fb.db):
sqlite> select * from in_tail_files where name = '/var/log/test.log';
id|name|offset|inode|created|rotated
33|/var/log/test.log|85|12713160|1762270005|0
After Infrastructure Agent starts (fb.db):
After Agent starts
sqlite> select * from in_tail_files where name = '/var/log/test.log';
id|name|offset|inode|created|rotated
41|/var/log/test.log|114|12713160|1762271396|0
Please notice the change in created at time stamp
We tried the same on other Operating Systems and architectures but they all seem to be working fine.Pat
11/18/2025, 9:40 AMPat
11/18/2025, 9:41 AM/var/log/test.log is not in any of your actual config so what config was used for it?Sanath Ramesh
11/18/2025, 9:42 AM[INPUT]
Name tail
Path /var/log/test.log
Buffer_Max_Size 128k
Mem_Buf_Limit 16384k
Skip_Long_Lines On
Path_Key filePath
Tag test.log
DB /var/db/newrelic-infra/newrelic-integrations/logging/fb.db
[INPUT]
Name tail
Path /var/log/cloud-init.log
Buffer_Max_Size 128k
Mem_Buf_Limit 16384k
Skip_Long_Lines On
Path_Key filePath
Tag cloud-init.log
DB /var/db/newrelic-infra/newrelic-integrations/logging/fb.db
[INPUT]
Name tail
Path /var/log/messages
Buffer_Max_Size 128k
Mem_Buf_Limit 16384k
Skip_Long_Lines On
Path_Key filePath
Tag messages
DB /var/db/newrelic-infra/newrelic-integrations/logging/fb.db
[INPUT]
Name tail
Path /var/log/secure
Buffer_Max_Size 128k
Mem_Buf_Limit 16384k
Skip_Long_Lines On
Path_Key filePath
Tag secure
DB /var/db/newrelic-infra/newrelic-integrations/logging/fb.db
[INPUT]
Name tail
Path /var/log/yum.log
Buffer_Max_Size 128k
Mem_Buf_Limit 16384k
Skip_Long_Lines On
Path_Key filePath
Tag yum.log
DB /var/db/newrelic-infra/newrelic-integrations/logging/fb.dbSanath Ramesh
11/18/2025, 9:42 AMPat
11/18/2025, 9:43 AM