Fix double quotes in example notes
This commit is contained in:
parent
db11c22037
commit
504cc8b6ba
|
@ -10,6 +10,6 @@ statementFrom = "ex0909*.log"
|
|||
statementGroupby = "[Url]"
|
||||
statementHaving = "[Requests] >= 20"
|
||||
statementOrderby = "[Bytes sent] DESC"
|
||||
notes = "Original query posted to <a href="http://serverfault.com/questions/45516/recommended-logparser-queries-for-iis-monitoring">Server Fault</a> by Jeff Atwood and corrected by James Skemp."
|
||||
notes = "Original query posted to <a href=\"http://serverfault.com/questions/45516/recommended-logparser-queries-for-iis-monitoring\">Server Fault</a> by Jeff Atwood and corrected by James Skemp."
|
||||
+++
|
||||
|
||||
|
|
|
@ -10,6 +10,6 @@ statementFrom = "ex0910*.log"
|
|||
statementWhere = "cs(cookie) IS NOT null"
|
||||
statementGroupby = "cs(Cookie), c-ip, [CookieLength]"
|
||||
statementOrderby = "[CookieLength] DESC"
|
||||
notes = "By default, IIS does not log cs(Cookie). If you wish to log this you must enable it. See <a href="http://yuiblog.com/blog/2007/03/01/performance-research-part-3/" rel="external">Performance Research, Part 3: When the Cookie Crumbles</a> for more information."
|
||||
notes = "By default, IIS does not log cs(Cookie). If you wish to log this you must enable it. See <a href=\"http://yuiblog.com/blog/2007/03/01/performance-research-part-3/\" rel=\"external\">Performance Research, Part 3: When the Cookie Crumbles</a> for more information."
|
||||
+++
|
||||
|
||||
|
|
|
@ -10,6 +10,6 @@ statementFrom = "ex*.log"
|
|||
statementWhere = "cs-method like '%USER'"
|
||||
statementGroupby = "cs-uri-stem"
|
||||
statementOrderby = "count(cs-method), cs-uri-stem"
|
||||
notes = "See <a href="http://strivinglife.com/words/post/Using-Log-Parser-to-find-users-accounts-used-to-log-into-an-FTP-site.aspx" rel="external">Using Log Parser to find users accounts used to log into an FTP site</a> for more information."
|
||||
notes = "See <a href=\"http://strivinglife.com/words/post/Using-Log-Parser-to-find-users-accounts-used-to-log-into-an-FTP-site.aspx\" rel=\"external\">Using Log Parser to find users accounts used to log into an FTP site</a> for more information."
|
||||
+++
|
||||
|
||||
|
|
|
@ -10,6 +10,6 @@ statementFrom = "ex*.log"
|
|||
statementWhere = "sc-status = '230'"
|
||||
statementGroupby = "c-ip"
|
||||
statementOrderby = "count(sc-status), c-ip"
|
||||
notes = "See <a href="http://strivinglife.com/words/post/Using-Log-Parser-to-find-users-accounts-used-to-log-into-an-FTP-site.aspx" rel="external">Using Log Parser to find users accounts used to log into an FTP site</a> for more information."
|
||||
notes = "See <a href=\"http://strivinglife.com/words/post/Using-Log-Parser-to-find-users-accounts-used-to-log-into-an-FTP-site.aspx\" rel=\"external\">Using Log Parser to find users accounts used to log into an FTP site</a> for more information."
|
||||
+++
|
||||
|
||||
|
|
|
@ -9,6 +9,6 @@ statementInto = "FTPIPLoginAttempts.txt"
|
|||
statementFrom = "ex*.log"
|
||||
statementGroupby = "c-ip"
|
||||
statementOrderby = "count(*), c-ip"
|
||||
notes = "See <a href="http://strivinglife.com/words/post/Using-Log-Parser-to-find-users-accounts-used-to-log-into-an-FTP-site.aspx" rel="external">Using Log Parser to find users accounts used to log into an FTP site</a> for more information."
|
||||
notes = "See <a href=\"http://strivinglife.com/words/post/Using-Log-Parser-to-find-users-accounts-used-to-log-into-an-FTP-site.aspx\" rel=\"external\">Using Log Parser to find users accounts used to log into an FTP site</a> for more information."
|
||||
+++
|
||||
|
||||
|
|
|
@ -10,6 +10,6 @@ statementFrom = "ex1008*.log"
|
|||
statementWhere = "sc-status = '230'"
|
||||
statementGroupby = "cs-username, c-ip"
|
||||
statementOrderby = "count(*), cs-username, c-ip"
|
||||
notes = "See <a href="http://strivinglife.com/words/post/Using-Log-Parser-to-find-users-accounts-used-to-log-into-an-FTP-site.aspx" rel="external">Using Log Parser to find users accounts used to log into an FTP site</a> for more information."
|
||||
notes = "See <a href=\"http://strivinglife.com/words/post/Using-Log-Parser-to-find-users-accounts-used-to-log-into-an-FTP-site.aspx\" rel=\"external\">Using Log Parser to find users accounts used to log into an FTP site</a> for more information."
|
||||
+++
|
||||
|
||||
|
|
|
@ -10,6 +10,6 @@ statementFrom = "u_ex1009*.log"
|
|||
statementWhere = "cs-uri-stem = '/robots.txt'"
|
||||
statementGroupby = "ClientIp, ClientUserAgent"
|
||||
statementOrderby = "ORDER BY Requests DESC"
|
||||
notes = "This particular query outputs the data to XML, and renames columns because of that. See <a href="http://strivinglife.com/words/post/The-benefits-of-using-a-file-for-Log-Parser-SQL-queries.aspx" rel="external">The benefits of using a file for Log Parser SQL queries</a> for more information."
|
||||
notes = "This particular query outputs the data to XML, and renames columns because of that. See <a href=\"http://strivinglife.com/words/post/The-benefits-of-using-a-file-for-Log-Parser-SQL-queries.aspx\" rel=\"external\">The benefits of using a file for Log Parser SQL queries</a> for more information."
|
||||
+++
|
||||
|
||||
|
|
|
@ -9,6 +9,6 @@ statementInto = "HttpStatusCodePieChart.png"
|
|||
statementFrom = "ex0811*.log"
|
||||
statementGroupby = "[HTTP Status Code]"
|
||||
statementOrderby = "Requests DESC"
|
||||
notes = "Microsoft Office must be installed to generate the chart. Example output available at <a href="http://strivinglife.com/words/post/Log-Parser-script-Percent-of-status-codes-across-all-hitsrequests.aspx">StrivingLife.com</a>."
|
||||
notes = "Microsoft Office must be installed to generate the chart. Example output available at <a href=\"http://strivinglife.com/words/post/Log-Parser-script-Percent-of-status-codes-across-all-hitsrequests.aspx\">StrivingLife.com</a>."
|
||||
+++
|
||||
|
||||
|
|
|
@ -8,6 +8,6 @@ statementSelect = "SUBSTR(Text, 1, SUB(INDEX_OF(Text, ')'), 1)) AS RequestNumber
|
|||
statementInto = "FileZilla.log"
|
||||
statementFrom = "fzs-*.log"
|
||||
statementWhere = "Text LIKE '(%' AND Request NOT LIKE 'Connected,%' AND Request NOT LIKE '221 %' AND Request NOT LIKE 'disconnected%' AND Request NOT LIKE 'QUIT%'"
|
||||
notes = "For more information visit <a href="http://strivinglife.com/words/post/Parse-FileZilla-Server-logs-with-Log-Parser.aspx">Parse FileZilla Server logs with Log Parser</a>."
|
||||
notes = "For more information visit <a href=\"http://strivinglife.com/words/post/Parse-FileZilla-Server-logs-with-Log-Parser.aspx\">Parse FileZilla Server logs with Log Parser</a>."
|
||||
+++
|
||||
|
||||
|
|
|
@ -84,7 +84,7 @@ foreach (var xmlItem in xmlItems)
|
|||
}
|
||||
if (!string.IsNullOrWhiteSpace(xmlItem.Element("notes").Value))
|
||||
{
|
||||
fileData.AppendFormat("notes = \"{0}\"" + Environment.NewLine, xmlItem.Element("notes").Value);
|
||||
fileData.AppendFormat("notes = \"{0}\"" + Environment.NewLine, xmlItem.Element("notes").Value.Replace("\"", "\\\""));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue