How to estimate the number of log records emitted by TAS via rsyslog configured in Opsman UI
book
Article ID: 376961
calendar_today
Updated On:
Products
VMware Tanzu Application Service
Issue/Introduction
By default, all log records written to the /var/vcap/sys/log directories in all TAS VMs will be forwarded to the external syslog aggregation service if configured in Ops manager UI. This article provides a method to estimate the number of log records emitted by TAS which helps the capacity planning in the external rsyslog server.
Resolution
As the log file rotation is expected to happen once a threshold is reached, usually 50MB by default. We need to count the records in plain file as well as in compress file, and then sum them up.
Here is an example collecting the total number of records of a single job, router VM from 2024-09-07 20:00 to2024-09-07 23:59. The total log lines are 8841 + 5306 = 14147