Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Potential issue / bug - tabsvc\services (selected subfolders) - Output subfolders cleanup #151

Open
MarcinJuraszKnauf opened this issue May 15, 2022 · 0 comments

Comments

@MarcinJuraszKnauf
Copy link

MarcinJuraszKnauf commented May 15, 2022

Perhaps this is no a bug, but a feature, but... I noticed selected Tableau Server / tabsvc / services / output folders (most probably result of running LogShark) are not cleaned up at all.

Steps to reproduce (in my case, install dir d:\Tableau Server)

  1. run command for couple of days (each day = separate zip with different name)

LogShark.exe mydailylogs.zip--plugins "Art;Apache;Backgrounder;ClusterController;Filestore;Hyper;Postgres;ResourceManager;SearchServer;Tabadmin;VizPortal;VizqlDesktop" --publishworkbooks 1>"d:\Backup\LogSharkLogs\result.log"

  1. check the below dirs as an example (each LogShark run seem to generate new dir here, which is next included in result of tsm backup).
    Tableau Server\data\tabsvc\services\vizportal_0.20214.21.1217.2252\bin\Output\
    Tableau Server\data\tabsvc\services\clustercontroller_0.20214.21.1217.2252\bin\Output\
    Same applies for other dirs like apigateway, backuprestore, flowminerva, hyper, licenseservice, siteimportexport, tabadmincontroller, tdsnativeservice

The conclusion that LogShark is causing these dirs to be created is because new items are there only for days when I run LogShark.
Also, the
tsm maintenance cleanup -t -l --log-files-retention 4
does not cleanup that (not tried -a though yet).

terr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant