Recently, some customers have requested website logs for analysis. Because the newly installed server has an external system installed, a binary (. IBL) log function. This function is enabled by default in the off-star system. After this function is enabled, all websites on the server write log data to a single log file. The
Log parser 2.2 is a powerful universal tool for text-based data (such as log files, XML files, and CSV files) and important data sources on Windows operating systems (such as Event Logs, registries, file systems, and Active Directory) for general queries. Log parser can comp
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> Logparser - O: CSV" Select C - IP, Count (C - IP) From Group By C - IP" > C: \ cccip.csv
C-IP
1, install log Parser 2.2https://www.microsoft.com/en-us/download/details.aspx?displaylang=enid=24659https://gallery.technet.microsoft.com/Log-Parser-Studio-cd458765 Download and then unzip2. Run Log Parser StudioRun LPS.exe in th
Com through. NET FrameworkInterOP(COM Interactive Operation) features, can be easily applied in. netProgramUsing Log parser,. NET Framework comInterOPIs implemented through runtime callable wrappers (RCW) for com operations, RCW is a class in. net.
Compiling environment: vs2005 C # First, add reference: logparser. DLL to your new project, and then it appears in the reference bar of your solution: msuti
simultaneouslyThen the above example, if during the startup process, suspected Moduleb behavior is an exception to hinder the execution of Modulea. The general practice is to divide two searches, one search Modulea related, one search Moduleb related. Can actually be put together to search:If Moduleb has the following log:Moduleb xxx run in step xxxModuleb xxx Run pass step XXXWe can use the regular expression "modulea.*event|moduleb.*step" to search, so that the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.