
Hi there,
we faced a problem that some server logs utilize too much disk space and we can't find a way to change the severity of these logs to reduce their size.
It's about collections, contentexploration, webhooks, interactive logs. The current severity level is INFO.
# du -shc /var/opt/tableau/tableau_server/data/tabsvc/logs/* | grep G
1.6G /var/opt/tableau/tableau_server/data/tabsvc/logs/backgrounder
200G /var/opt/tableau/tableau_server/data/tabsvc/logs/collections
83G /var/opt/tableau/tableau_server/data/tabsvc/logs/contentexploration
3.7G /var/opt/tableau/tableau_server/data/tabsvc/logs/hyper
97G /var/opt/tableau/tableau_server/data/tabsvc/logs/interactive
4.7G /var/opt/tableau/tableau_server/data/tabsvc/logs/noninteractive
1.7G /var/opt/tableau/tableau_server/data/tabsvc/logs/vizportal
28G /var/opt/tableau/tableau_server/data/tabsvc/logs/vizqlserver
65G /var/opt/tableau/tableau_server/data/tabsvc/logs/webhooks
485G total
Logs cleanup runs 2 times a week.
30 17 * * 2 /opt/tableau/tableau_server/packages/customer-bin.20231.23.0316.0857/tsm maintenance cleanup --all --log-files-retention 2 >> /var/opt/tableau/tableau_server/logs/tsm_clean.log 2>&1
30 17 * * 6 /opt/tableau/tableau_server/packages/customer-bin.20231.23.0316.0857/tsm maintenance cleanup --all --log-files-retention 2 >> /var/opt/tableau/tableau_server/logs/tsm_clean.log 2>&1
@Analytics Smartproject
Hi, could you try:
tsm stop
tsm maintenance cleanup -a
tsm start
That should delete log size.
After that, as per https://kb.tableau.com/articles/issue/tableau-server-logs-drastically-increased-disk-space-after-upgrade-to-2022-1, would you run?
tsm configuration set -k collections.instrumentation.jmx.logging.enabled -v false --force-keys
tsm configuration set -k contentexploration.instrumentation.jmx.logging.enabled -v false --force-keys
tsm configuration set -k webhooks.instrumentation.jmx.logging.enabled -v false --force-keys
tsm configuration set -k interactive.instrumentation.jmx.logging.enabled -v false --force-keys
tsm pending-changes apply
If this post resolves the question, would you be so kind to "Select as Best"?. This will help other users find the same answer/resolution and help community keep track of answered questions. Thank you.
Regards,
Diego Martinez
Tableau Visionary and Forums Ambassador