Hi @priyaarisetti,
In order to remove/delete logs from Tableau server, I would recommend checking out the following article.
I believe the best method to remove logs with a script would be to utilize: tsm maintenance cleanup -a
Hope this helps. If it does, please like this post and mark it as a solution. If you have any other questions, please let us know.
i am trying it on Alteyx server. Can you suggest the ways for Alteryx Server. Thank You.
1) You can remove temp files and old log files that are located within the Alteryx Server.
Log files are located at the bottom of the help doc via the link below.
https://help.alteryx.com/20223/server/configure-and-use-server-logs
2) You can also delete entries from Results collection as below:
Open Alteryx Designer on Controller Server --> Go to Options --> Open View Schedules --> Click on Results
Here you can sort the results based on dates and can view 500 results at a time.
You can select required to delete and you can delete it by pressing the minus button (-).
3) You can also shrink the size of the embedded MongoDB. Please check out this link.
Hope this helps, if it does please like the message and tag it as a solution. Any other questions, please let us know.