First I want to filter IIS log, In local machine, I can edit my applicationHost.config file like this:
<logFile logExtFileFlags="Date, Time, ClientIP, UserName, ServerIP, Method, UriStem, UriQuery, HttpStatus, Win32Status, BytesSent, TimeTaken, ServerPort, UserAgent, Referer, ProtocolVersion, Host, HttpSubStatus" />
But in Azure how could I do that?
Second I use
config.Directories.ScheduledTransferPeriod = TimeSpan.FromMinutes(10);
to transfer, I wonder to know could I edit this file first(delete some un-useful log ), then transfer to blob?
Any answer will be appreciated.
Thanks
Update:
Use role startup script can edit applicationHost.config, that will help me full control the IIS.
You may want to check the below link:
http://blogs.msdn.com/b/sriharsha/archive/2012/10/26/how-to-transfer-iis-logs-to-storage-account-in-a-custom-format.aspx