I recently started using Log Parser with a visual interface.
The logs I want to analyze come from IIS and they are connected to SharePoint. For example, I want to know how many people visited certain web pages, etc.
And it seems that IIS creates logs in different folders (I donโt know why), and every day a new log file appears in a different folder.
So my question is: is it possible to approach all of these files in different folders?
I know that you can use From-clause to place different folders, but this is too complicated, especially if new folders are added in the future. The goal is to create one script to be executed.
So, for example, in a folder log with the name LogFIles, I have folders folder1, folder2, folder3, folder4, etc., and each folder has log files log1, log2, log 3, logN, etc.
So, my request should look like this: Select * FROM path/LogFiles/*/*.log , but the Select * FROM path/LogFiles/*/*.log parser does not accept it, so how to implement it?
Alnedru
source share