Tag: logs

(2 Scripts)

<< Back to Script Library
Show the Azure activity logs for the last number of (fractional) days.
Options to just show entries for the chosen AZ resource, the resource group it is in or the whole subscription.
Version: 1.1.16  •   Created: 2022-06-30  •   Modified: 2022-08-31
azure logs 18
The script finds the location of IIS log files and deletes the files older than X amount of days and/or over Y size. By default, the script runs in report-only mode which displays the total size of files by location. In order to enable log file deletion, change the "Report on log files only..." argument to "false".
Version: 1.2.5  •   Created: 2021-01-18  •   Modified: 2021-01-19