I want to config my "Data Collector Set" to create a new log file each day instead of appending logs from this day to existing log file. I configured the schedule to run every day at specific time, and also started it manually but it does not create new log for each new day.
Windows – Configure Windows Server Performance Monitor to create new log for every day
performance-monitoringwindows
Related Topic
- Windows – How to tell a Performance Monitor Data Collector Set to regularly generate Reports
- Windows – In Windows 7, why can’t I use perfmon against a remote server
- Performance counter alert not working
- How to get an aggregate of all the stats from all uWSGI vassals using uwsgitop
- Windows – way to create a Windows perfmon data collector based on process name
Best Answer
To have onr file per day, you can do like this. On my server I store on file per day during 7 days. It deletes the oldest files.
In the properties of yours performances counters :
You can prefix the name of your file and select his format like this example.
And in the properties of your collector, you must select Restart the data set (sorry my interface is in french, you can see the image below) and select the duration of the task :
To delete the oldest logs, you can go the Task tab and create a job for that. It's the default paramters of Windows :
After all, you mus restart yours counters to apply yours modifications.
good luck!