<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.jedisaber.com/index.php?action=history&amp;feed=atom&amp;title=Searching_Logs</id>
	<title>Searching Logs - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.jedisaber.com/index.php?action=history&amp;feed=atom&amp;title=Searching_Logs"/>
	<link rel="alternate" type="text/html" href="https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;action=history"/>
	<updated>2026-05-15T19:10:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13120&amp;oldid=prev</id>
		<title>Admin at 18:57, 12 April 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13120&amp;oldid=prev"/>
		<updated>2025-04-12T18:57:53Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:57, 12 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/*.* | grep GET | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/*.* | grep GET | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Bots (from wiki):&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Bots (from wiki):&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l55&quot;&gt;Line 55:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Top IP&#039;s asking for xmlrpc.php&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;Top IP&#039;s asking for xmlrpc.php&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/* | grep xmlrpc.php | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/* | grep xmlrpc.php | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13119&amp;oldid=prev</id>
		<title>Admin at 18:56, 12 April 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13119&amp;oldid=prev"/>
		<updated>2025-04-12T18:56:28Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:56, 12 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tips and one-liners to help search logs.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Tips and one-liners to help search logs.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Domlog Diving ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;1.) &lt;/ins&gt;Domlog Diving&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; &lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &#039;&#039;&#039;Get stuff from domlogs on cPanel:&#039;&#039;&#039; ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1.1) &lt;/ins&gt;Get stuff from domlogs on cPanel:&#039;&#039;&#039; ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;echo -e &amp;quot;\e[93m\e[1mChecking Apache Domlogs:\e[0m&amp;quot;;if [ -f /etc/cpanel/ea4/is_ea4 ]; then DOMLOGDIR=&amp;#039;/var/log/apache2/domlogs/&amp;#039;; else DOMLOGDIR=&amp;#039;/usr/local/apache/domlogs/&amp;#039;; fi;_tdominfo=$(grep -s `date +%d/%b/%Y` &amp;quot;$DOMLOGDIR&amp;quot;*);_tdiget=$(echo &amp;quot;$_tdominfo&amp;quot; | grep GET);_tdipost=$(echo &amp;quot;$_tdominfo&amp;quot; | grep POST);_tga1=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tga7=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $7}&amp;#039;);_tpa1=$(echo &amp;quot;$_tdipost&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tpa7=$(echo &amp;quot;$_tdipost&amp;quot; | awk &amp;#039;{print $7}&amp;#039;);echo -e &amp;quot;\e[93m \e[1mTop hits per site:\e[0m&amp;quot;;echo &amp;quot;$_tdominfo.*&amp;quot; | awk &amp;#039;{print $1}&amp;#039; | sort | uniq -c | sort -rnk1 | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop POST Today:\e[0m&amp;quot;;echo &amp;quot;$_tpa1&amp;quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop GET Today:\e[0m&amp;quot;;echo &amp;quot;$_tga1&amp;quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mBots:\e[0m&amp;quot;;echo &amp;quot;$_tdominfo&amp;quot; | egrep -i &amp;#039;(crawl|bot|spider|yahoo|bing|Googlebot)&amp;#039;| awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop IPs:\e[0m&amp;quot;;echo &amp;quot;$_tpa1&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs POSTed to:\e[0m&amp;quot;;echo &amp;quot;$_tpa7&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs Requested with GET:\e[0m&amp;quot;;echo &amp;quot;$_tga7&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;echo -e &amp;quot;\e[93m\e[1mChecking Apache Domlogs:\e[0m&amp;quot;;if [ -f /etc/cpanel/ea4/is_ea4 ]; then DOMLOGDIR=&amp;#039;/var/log/apache2/domlogs/&amp;#039;; else DOMLOGDIR=&amp;#039;/usr/local/apache/domlogs/&amp;#039;; fi;_tdominfo=$(grep -s `date +%d/%b/%Y` &amp;quot;$DOMLOGDIR&amp;quot;*);_tdiget=$(echo &amp;quot;$_tdominfo&amp;quot; | grep GET);_tdipost=$(echo &amp;quot;$_tdominfo&amp;quot; | grep POST);_tga1=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tga7=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $7}&amp;#039;);_tpa1=$(echo &amp;quot;$_tdipost&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tpa7=$(echo &amp;quot;$_tdipost&amp;quot; | awk &amp;#039;{print $7}&amp;#039;);echo -e &amp;quot;\e[93m \e[1mTop hits per site:\e[0m&amp;quot;;echo &amp;quot;$_tdominfo.*&amp;quot; | awk &amp;#039;{print $1}&amp;#039; | sort | uniq -c | sort -rnk1 | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop POST Today:\e[0m&amp;quot;;echo &amp;quot;$_tpa1&amp;quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop GET Today:\e[0m&amp;quot;;echo &amp;quot;$_tga1&amp;quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mBots:\e[0m&amp;quot;;echo &amp;quot;$_tdominfo&amp;quot; | egrep -i &amp;#039;(crawl|bot|spider|yahoo|bing|Googlebot)&amp;#039;| awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop IPs:\e[0m&amp;quot;;echo &amp;quot;$_tpa1&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs POSTed to:\e[0m&amp;quot;;echo &amp;quot;$_tpa7&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs Requested with GET:\e[0m&amp;quot;;echo &amp;quot;$_tga7&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l62&quot;&gt;Line 62:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 62:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &#039;&#039;&#039;Get stuff from domlogs on Plesk:&#039;&#039;&#039; ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1.2) &lt;/ins&gt;Get stuff from domlogs on Plesk:&#039;&#039;&#039; ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l108&quot;&gt;Line 108:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 108:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &#039;&#039;&#039;Get stuff from domlogs on Interworx:&#039;&#039;&#039; ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &#039;&#039;&#039;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;1.3) &lt;/ins&gt;Get stuff from domlogs on Interworx:&#039;&#039;&#039; ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br /&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13118&amp;oldid=prev</id>
		<title>Admin at 18:54, 12 April 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13118&amp;oldid=prev"/>
		<updated>2025-04-12T18:54:11Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:54, 12 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Domlog Diving ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Domlog Diving ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &amp;#039;&amp;#039;&amp;#039;Get stuff from domlogs on cPanel:&amp;#039;&amp;#039;&amp;#039; ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &amp;#039;&amp;#039;&amp;#039;Get stuff from domlogs on cPanel:&amp;#039;&amp;#039;&amp;#039; ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;echo -e &amp;quot;\e[93m\e[1mChecking Apache Domlogs:\e[0m&amp;quot;;if [ -f /etc/cpanel/ea4/is_ea4 ]; then DOMLOGDIR=&amp;#039;/var/log/apache2/domlogs/&amp;#039;; else DOMLOGDIR=&amp;#039;/usr/local/apache/domlogs/&amp;#039;; fi;_tdominfo=$(grep -s `date +%d/%b/%Y` &amp;quot;$DOMLOGDIR&amp;quot;*);_tdiget=$(echo &amp;quot;$_tdominfo&amp;quot; | grep GET);_tdipost=$(echo &amp;quot;$_tdominfo&amp;quot; | grep POST);_tga1=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tga7=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $7}&amp;#039;);_tpa1=$(echo &amp;quot;$_tdipost&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tpa7=$(echo &amp;quot;$_tdipost&amp;quot; | awk &amp;#039;{print $7}&amp;#039;);echo -e &amp;quot;\e[93m \e[1mTop hits per site:\e[0m&amp;quot;;echo &amp;quot;$_tdominfo.*&amp;quot; | awk &amp;#039;{print $1}&amp;#039; | sort | uniq -c | sort -rnk1 | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop POST Today:\e[0m&amp;quot;;echo &amp;quot;$_tpa1&amp;quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop GET Today:\e[0m&amp;quot;;echo &amp;quot;$_tga1&amp;quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mBots:\e[0m&amp;quot;;echo &amp;quot;$_tdominfo&amp;quot; | egrep -i &amp;#039;(crawl|bot|spider|yahoo|bing|Googlebot)&amp;#039;| awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop IPs:\e[0m&amp;quot;;echo &amp;quot;$_tpa1&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs POSTed to:\e[0m&amp;quot;;echo &amp;quot;$_tpa7&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs Requested with GET:\e[0m&amp;quot;;echo &amp;quot;$_tga7&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;echo -e &amp;quot;\e[93m\e[1mChecking Apache Domlogs:\e[0m&amp;quot;;if [ -f /etc/cpanel/ea4/is_ea4 ]; then DOMLOGDIR=&amp;#039;/var/log/apache2/domlogs/&amp;#039;; else DOMLOGDIR=&amp;#039;/usr/local/apache/domlogs/&amp;#039;; fi;_tdominfo=$(grep -s `date +%d/%b/%Y` &amp;quot;$DOMLOGDIR&amp;quot;*);_tdiget=$(echo &amp;quot;$_tdominfo&amp;quot; | grep GET);_tdipost=$(echo &amp;quot;$_tdominfo&amp;quot; | grep POST);_tga1=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tga7=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $7}&amp;#039;);_tpa1=$(echo &amp;quot;$_tdipost&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tpa7=$(echo &amp;quot;$_tdipost&amp;quot; | awk &amp;#039;{print $7}&amp;#039;);echo -e &amp;quot;\e[93m \e[1mTop hits per site:\e[0m&amp;quot;;echo &amp;quot;$_tdominfo.*&amp;quot; | awk &amp;#039;{print $1}&amp;#039; | sort | uniq -c | sort -rnk1 | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop POST Today:\e[0m&amp;quot;;echo &amp;quot;$_tpa1&amp;quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop GET Today:\e[0m&amp;quot;;echo &amp;quot;$_tga1&amp;quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mBots:\e[0m&amp;quot;;echo &amp;quot;$_tdominfo&amp;quot; | egrep -i &amp;#039;(crawl|bot|spider|yahoo|bing|Googlebot)&amp;#039;| awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop IPs:\e[0m&amp;quot;;echo &amp;quot;$_tpa1&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs POSTed to:\e[0m&amp;quot;;echo &amp;quot;$_tpa7&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs Requested with GET:\e[0m&amp;quot;;echo &amp;quot;$_tga7&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;OLD:&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;OLD:&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;if [ -f /etc/cpanel/ea4/is_ea4 ]; then DOMLOGDIR=&amp;#039;/var/log/apache2/domlogs/*&amp;#039;; else DOMLOGDIR=&amp;#039;/usr/local/apache/domlogs/*&amp;#039;; fi;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop hits per site:\e[0m&amp;quot;;grep `date +%d/%b/%Y` $DOMLOGDIR.* | awk &amp;#039;{print $1}&amp;#039; | sort | uniq -c | sort -rnk1 | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop POST Today:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | grep POST | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop GET Today:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | grep GET | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mBots:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | egrep -i &amp;#039;(crawl|bot|spider|yahoo|bing|Googlebot)&amp;#039;| awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop IPs:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | grep POST | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs Requested:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | grep POST | awk &amp;#039;{print $7}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;if [ -f /etc/cpanel/ea4/is_ea4 ]; then DOMLOGDIR=&amp;#039;/var/log/apache2/domlogs/*&amp;#039;; else DOMLOGDIR=&amp;#039;/usr/local/apache/domlogs/*&amp;#039;; fi;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop hits per site:\e[0m&amp;quot;;grep `date +%d/%b/%Y` $DOMLOGDIR.* | awk &amp;#039;{print $1}&amp;#039; | sort | uniq -c | sort -rnk1 | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop POST Today:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | grep POST | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop GET Today:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | grep GET | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mBots:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | egrep -i &amp;#039;(crawl|bot|spider|yahoo|bing|Googlebot)&amp;#039;| awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop IPs:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | grep POST | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs Requested:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | grep POST | awk &amp;#039;{print $7}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l17&quot;&gt;Line 17:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;grep `date +%d/%b/%Y` /var/log/apache2/domlogs/*.* | awk &amp;#039;{print $1}&amp;#039; | sort | uniq -c | sort -rnk1 | head&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;grep `date +%d/%b/%Y` /var/log/apache2/domlogs/*.* | awk &amp;#039;{print $1}&amp;#039; | sort | uniq -c | sort -rnk1 | head&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l56&quot;&gt;Line 56:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 58:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/* | grep xmlrpc.php | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/* | grep xmlrpc.php | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== &#039;&#039;&#039;Get stuff from domlogs on Plesk:&#039;&#039;&#039; ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== Get stuff from domlogs on Plesk: ===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;top 10 POST today:&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;top 10 POST today:&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l99&quot;&gt;Line 99:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 104:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/www/vhosts/*/logs/access_* | grep xmlrpc.php | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/www/vhosts/*/logs/access_* | grep xmlrpc.php | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== &#039;&#039;&#039;Get stuff from domlogs on Interworx:&#039;&#039;&#039; ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== Get stuff from domlogs on Interworx: ===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Number of hits per site:&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Number of hits per site:&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13117&amp;oldid=prev</id>
		<title>Admin at 18:52, 12 April 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13117&amp;oldid=prev"/>
		<updated>2025-04-12T18:52:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:52, 12 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l2&quot;&gt;Line 2:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 2:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Domlog Diving ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Domlog Diving ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &amp;#039;&amp;#039;&amp;#039;Get stuff from domlogs on cPanel:&amp;#039;&amp;#039;&amp;#039; ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &amp;#039;&amp;#039;&amp;#039;Get stuff from domlogs on cPanel:&amp;#039;&amp;#039;&amp;#039; ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13116&amp;oldid=prev</id>
		<title>Admin at 18:51, 12 April 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13116&amp;oldid=prev"/>
		<updated>2025-04-12T18:51:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:51, 12 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Domlog Diving ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Domlog Diving ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{center| &lt;/del&gt;=== &#039;&#039;&#039;Get stuff from domlogs on cPanel:&#039;&#039;&#039; === &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== &#039;&#039;&#039;Get stuff from domlogs on cPanel:&#039;&#039;&#039; ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;echo -e &amp;quot;\e[93m\e[1mChecking Apache Domlogs:\e[0m&amp;quot;;if [ -f /etc/cpanel/ea4/is_ea4 ]; then DOMLOGDIR=&amp;#039;/var/log/apache2/domlogs/&amp;#039;; else DOMLOGDIR=&amp;#039;/usr/local/apache/domlogs/&amp;#039;; fi;_tdominfo=$(grep -s `date +%d/%b/%Y` &amp;quot;$DOMLOGDIR&amp;quot;*);_tdiget=$(echo &amp;quot;$_tdominfo&amp;quot; | grep GET);_tdipost=$(echo &amp;quot;$_tdominfo&amp;quot; | grep POST);_tga1=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tga7=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $7}&amp;#039;);_tpa1=$(echo &amp;quot;$_tdipost&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tpa7=$(echo &amp;quot;$_tdipost&amp;quot; | awk &amp;#039;{print $7}&amp;#039;);echo -e &amp;quot;\e[93m \e[1mTop hits per site:\e[0m&amp;quot;;echo &amp;quot;$_tdominfo.*&amp;quot; | awk &amp;#039;{print $1}&amp;#039; | sort | uniq -c | sort -rnk1 | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop POST Today:\e[0m&amp;quot;;echo &amp;quot;$_tpa1&amp;quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop GET Today:\e[0m&amp;quot;;echo &amp;quot;$_tga1&amp;quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mBots:\e[0m&amp;quot;;echo &amp;quot;$_tdominfo&amp;quot; | egrep -i &amp;#039;(crawl|bot|spider|yahoo|bing|Googlebot)&amp;#039;| awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop IPs:\e[0m&amp;quot;;echo &amp;quot;$_tpa1&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs POSTed to:\e[0m&amp;quot;;echo &amp;quot;$_tpa7&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs Requested with GET:\e[0m&amp;quot;;echo &amp;quot;$_tga7&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;code&amp;gt;echo -e &amp;quot;\e[93m\e[1mChecking Apache Domlogs:\e[0m&amp;quot;;if [ -f /etc/cpanel/ea4/is_ea4 ]; then DOMLOGDIR=&amp;#039;/var/log/apache2/domlogs/&amp;#039;; else DOMLOGDIR=&amp;#039;/usr/local/apache/domlogs/&amp;#039;; fi;_tdominfo=$(grep -s `date +%d/%b/%Y` &amp;quot;$DOMLOGDIR&amp;quot;*);_tdiget=$(echo &amp;quot;$_tdominfo&amp;quot; | grep GET);_tdipost=$(echo &amp;quot;$_tdominfo&amp;quot; | grep POST);_tga1=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tga7=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $7}&amp;#039;);_tpa1=$(echo &amp;quot;$_tdipost&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tpa7=$(echo &amp;quot;$_tdipost&amp;quot; | awk &amp;#039;{print $7}&amp;#039;);echo -e &amp;quot;\e[93m \e[1mTop hits per site:\e[0m&amp;quot;;echo &amp;quot;$_tdominfo.*&amp;quot; | awk &amp;#039;{print $1}&amp;#039; | sort | uniq -c | sort -rnk1 | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop POST Today:\e[0m&amp;quot;;echo &amp;quot;$_tpa1&amp;quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop GET Today:\e[0m&amp;quot;;echo &amp;quot;$_tga1&amp;quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mBots:\e[0m&amp;quot;;echo &amp;quot;$_tdominfo&amp;quot; | egrep -i &amp;#039;(crawl|bot|spider|yahoo|bing|Googlebot)&amp;#039;| awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop IPs:\e[0m&amp;quot;;echo &amp;quot;$_tpa1&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs POSTed to:\e[0m&amp;quot;;echo &amp;quot;$_tpa7&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs Requested with GET:\e[0m&amp;quot;;echo &amp;quot;$_tga7&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13115&amp;oldid=prev</id>
		<title>Admin at 18:50, 12 April 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13115&amp;oldid=prev"/>
		<updated>2025-04-12T18:50:58Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:50, 12 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Domlog Diving ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Domlog Diving ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Get stuff from domlogs on cPanel: ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{center| &lt;/ins&gt;=== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039;&lt;/ins&gt;Get stuff from domlogs on cPanel:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&#039;&#039;&#039; &lt;/ins&gt;=== &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pre&lt;/del&gt;&amp;gt;echo -e &quot;\e[93m\e[1mChecking Apache Domlogs:\e[0m&quot;;if [ -f /etc/cpanel/ea4/is_ea4 ]; then DOMLOGDIR=&#039;/var/log/apache2/domlogs/&#039;; else DOMLOGDIR=&#039;/usr/local/apache/domlogs/&#039;; fi;_tdominfo=$(grep -s `date +%d/%b/%Y` &quot;$DOMLOGDIR&quot;*);_tdiget=$(echo &quot;$_tdominfo&quot; | grep GET);_tdipost=$(echo &quot;$_tdominfo&quot; | grep POST);_tga1=$(echo &quot;$_tdiget&quot; | awk &#039;{print $1}&#039;);_tga7=$(echo &quot;$_tdiget&quot; | awk &#039;{print $7}&#039;);_tpa1=$(echo &quot;$_tdipost&quot; | awk &#039;{print $1}&#039;);_tpa7=$(echo &quot;$_tdipost&quot; | awk &#039;{print $7}&#039;);echo -e &quot;\e[93m \e[1mTop hits per site:\e[0m&quot;;echo &quot;$_tdominfo.*&quot; | awk &#039;{print $1}&#039; | sort | uniq -c | sort -rnk1 | head;echo &quot;&quot;;echo -e &quot;\e[93m \e[1mTop POST Today:\e[0m&quot;;echo &quot;$_tpa1&quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &quot;&quot;;echo -e &quot;\e[93m \e[1mTop GET Today:\e[0m&quot;;echo &quot;$_tga1&quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &quot;&quot;;echo -e &quot;\e[93m \e[1mBots:\e[0m&quot;;echo &quot;$_tdominfo&quot; | egrep -i &#039;(crawl|bot|spider|yahoo|bing|Googlebot)&#039;| awk &#039;{print $1}&#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &quot;&quot;;echo -e &quot;\e[93m \e[1mTop IPs:\e[0m&quot;;echo &quot;$_tpa1&quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &quot;&quot;;echo -e &quot;\e[93m \e[1mTop URIs POSTed to:\e[0m&quot;;echo &quot;$_tpa7&quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &quot;&quot;;echo -e &quot;\e[93m \e[1mTop URIs Requested with GET:\e[0m&quot;;echo &quot;$_tga7&quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pre&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/ins&gt;&amp;gt;echo -e &quot;\e[93m\e[1mChecking Apache Domlogs:\e[0m&quot;;if [ -f /etc/cpanel/ea4/is_ea4 ]; then DOMLOGDIR=&#039;/var/log/apache2/domlogs/&#039;; else DOMLOGDIR=&#039;/usr/local/apache/domlogs/&#039;; fi;_tdominfo=$(grep -s `date +%d/%b/%Y` &quot;$DOMLOGDIR&quot;*);_tdiget=$(echo &quot;$_tdominfo&quot; | grep GET);_tdipost=$(echo &quot;$_tdominfo&quot; | grep POST);_tga1=$(echo &quot;$_tdiget&quot; | awk &#039;{print $1}&#039;);_tga7=$(echo &quot;$_tdiget&quot; | awk &#039;{print $7}&#039;);_tpa1=$(echo &quot;$_tdipost&quot; | awk &#039;{print $1}&#039;);_tpa7=$(echo &quot;$_tdipost&quot; | awk &#039;{print $7}&#039;);echo -e &quot;\e[93m \e[1mTop hits per site:\e[0m&quot;;echo &quot;$_tdominfo.*&quot; | awk &#039;{print $1}&#039; | sort | uniq -c | sort -rnk1 | head;echo &quot;&quot;;echo -e &quot;\e[93m \e[1mTop POST Today:\e[0m&quot;;echo &quot;$_tpa1&quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &quot;&quot;;echo -e &quot;\e[93m \e[1mTop GET Today:\e[0m&quot;;echo &quot;$_tga1&quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &quot;&quot;;echo -e &quot;\e[93m \e[1mBots:\e[0m&quot;;echo &quot;$_tdominfo&quot; | egrep -i &#039;(crawl|bot|spider|yahoo|bing|Googlebot)&#039;| awk &#039;{print $1}&#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &quot;&quot;;echo -e &quot;\e[93m \e[1mTop IPs:\e[0m&quot;;echo &quot;$_tpa1&quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &quot;&quot;;echo -e &quot;\e[93m \e[1mTop URIs POSTed to:\e[0m&quot;;echo &quot;$_tpa7&quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &quot;&quot;;echo -e &quot;\e[93m \e[1mTop URIs Requested with GET:\e[0m&quot;;echo &quot;$_tga7&quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l29&quot;&gt;Line 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Bots (from wiki):&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#039;&amp;#039;&amp;#039;Bots (from wiki):&amp;#039;&amp;#039;&amp;#039;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pre&lt;/del&gt;&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/*.* | egrep -i &#039;(crawl|bot|spider|yahoo|bing|Googlebot)&#039;| awk &#039;{print $1}&#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head&amp;lt;/&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;pre&lt;/del&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/ins&gt;&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/*.* | egrep -i &#039;(crawl|bot|spider|yahoo|bing|Googlebot)&#039;| awk &#039;{print $1}&#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head&amp;lt;/&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;code&lt;/ins&gt;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13114&amp;oldid=prev</id>
		<title>Admin at 18:47, 12 April 2025</title>
		<link rel="alternate" type="text/html" href="https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13114&amp;oldid=prev"/>
		<updated>2025-04-12T18:47:47Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;a href=&quot;https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;amp;diff=13114&amp;amp;oldid=13113&quot;&gt;Show changes&lt;/a&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
	<entry>
		<id>https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13113&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;Tips and one-liners to help search logs.  == Domlog Diving ==  === Get stuff from domlogs on cPanel: === &lt;pre&gt;echo -e &quot;\e[93m\e[1mChecking Apache Domlogs:\e[0m&quot;;if [ -f /etc/cpanel/ea4/is_ea4 ]; then DOMLOGDIR=&#039;/var/log/apache2/domlogs/&#039;; else DOMLOGDIR=&#039;/usr/local/apache/domlogs/&#039;; fi;_tdominfo=$(grep -s `date +%d/%b/%Y` &quot;$DOMLOGDIR&quot;*);_tdiget=$(echo &quot;$_tdominfo&quot; | grep GET);_tdipost=$(echo &quot;$_tdominfo&quot; | grep POST);_tga1=$(echo &quot;$_tdiget&quot; | awk &#039;{print $1}&#039;);_tga7=$(ec...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.jedisaber.com/index.php?title=Searching_Logs&amp;diff=13113&amp;oldid=prev"/>
		<updated>2025-04-12T18:43:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Tips and one-liners to help search logs.  == Domlog Diving ==  === Get stuff from domlogs on cPanel: === &amp;lt;pre&amp;gt;echo -e &amp;quot;\e[93m\e[1mChecking Apache Domlogs:\e[0m&amp;quot;;if [ -f /etc/cpanel/ea4/is_ea4 ]; then DOMLOGDIR=&amp;#039;/var/log/apache2/domlogs/&amp;#039;; else DOMLOGDIR=&amp;#039;/usr/local/apache/domlogs/&amp;#039;; fi;_tdominfo=$(grep -s `date +%d/%b/%Y` &amp;quot;$DOMLOGDIR&amp;quot;*);_tdiget=$(echo &amp;quot;$_tdominfo&amp;quot; | grep GET);_tdipost=$(echo &amp;quot;$_tdominfo&amp;quot; | grep POST);_tga1=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tga7=$(ec...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Tips and one-liners to help search logs.&lt;br /&gt;
&lt;br /&gt;
== Domlog Diving ==&lt;br /&gt;
&lt;br /&gt;
=== Get stuff from domlogs on cPanel: ===&lt;br /&gt;
&amp;lt;pre&amp;gt;echo -e &amp;quot;\e[93m\e[1mChecking Apache Domlogs:\e[0m&amp;quot;;if [ -f /etc/cpanel/ea4/is_ea4 ]; then DOMLOGDIR=&amp;#039;/var/log/apache2/domlogs/&amp;#039;; else DOMLOGDIR=&amp;#039;/usr/local/apache/domlogs/&amp;#039;; fi;_tdominfo=$(grep -s `date +%d/%b/%Y` &amp;quot;$DOMLOGDIR&amp;quot;*);_tdiget=$(echo &amp;quot;$_tdominfo&amp;quot; | grep GET);_tdipost=$(echo &amp;quot;$_tdominfo&amp;quot; | grep POST);_tga1=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tga7=$(echo &amp;quot;$_tdiget&amp;quot; | awk &amp;#039;{print $7}&amp;#039;);_tpa1=$(echo &amp;quot;$_tdipost&amp;quot; | awk &amp;#039;{print $1}&amp;#039;);_tpa7=$(echo &amp;quot;$_tdipost&amp;quot; | awk &amp;#039;{print $7}&amp;#039;);echo -e &amp;quot;\e[93m \e[1mTop hits per site:\e[0m&amp;quot;;echo &amp;quot;$_tdominfo.*&amp;quot; | awk &amp;#039;{print $1}&amp;#039; | sort | uniq -c | sort -rnk1 | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop POST Today:\e[0m&amp;quot;;echo &amp;quot;$_tpa1&amp;quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop GET Today:\e[0m&amp;quot;;echo &amp;quot;$_tga1&amp;quot; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mBots:\e[0m&amp;quot;;echo &amp;quot;$_tdominfo&amp;quot; | egrep -i &amp;#039;(crawl|bot|spider|yahoo|bing|Googlebot)&amp;#039;| awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop IPs:\e[0m&amp;quot;;echo &amp;quot;$_tpa1&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs POSTed to:\e[0m&amp;quot;;echo &amp;quot;$_tpa7&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs Requested with GET:\e[0m&amp;quot;;echo &amp;quot;$_tga7&amp;quot; | cut -d: -f2 | sort | uniq -c | sort -rn | head;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;OLD:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;if [ -f /etc/cpanel/ea4/is_ea4 ]; then DOMLOGDIR=&amp;#039;/var/log/apache2/domlogs/*&amp;#039;; else DOMLOGDIR=&amp;#039;/usr/local/apache/domlogs/*&amp;#039;; fi;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop hits per site:\e[0m&amp;quot;;grep `date +%d/%b/%Y` $DOMLOGDIR.* | awk &amp;#039;{print $1}&amp;#039; | sort | uniq -c | sort -rnk1 | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop POST Today:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | grep POST | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop GET Today:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | grep GET | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mBots:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | egrep -i &amp;#039;(crawl|bot|spider|yahoo|bing|Googlebot)&amp;#039;| awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop IPs:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | grep POST | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;echo -e &amp;quot;\e[93m \e[1mTop URIs Requested:\e[0m&amp;quot;;grep -s `date +%d/%b/%Y` $DOMLOGDIR | grep POST | awk &amp;#039;{print $7}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head;echo &amp;quot;&amp;quot;;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Number of hits per site:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;code&amp;gt;grep `date +%d/%b/%Y` /var/log/apache2/domlogs/*.* | awk &amp;#039;{print $1}&amp;#039; | sort | uniq -c | sort -rnk1 | head&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;top 10 POST today:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/*.* | grep POST | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;top 10 GET today:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/*.* | grep GET | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Bots (from wiki):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/*.* | egrep -i &amp;#039;(crawl|bot|spider|yahoo|bing|Googlebot)&amp;#039;| awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Top 10 IP&amp;#039;s:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/*.* | grep POST | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Top URI&amp;#039;s POSTed to:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/* | grep POST | awk &amp;#039;{print $7}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Most visited pages/links:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/* | grep GET | awk &amp;#039;{print $7}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head -n25&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Top IP&amp;#039;s asking for wp-login.php&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/* | grep wp-login.php | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Top IP&amp;#039;s asking for xmlrpc.php&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/log/apache2/domlogs/* | grep xmlrpc.php | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Get stuff from domlogs on Plesk: ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;top 10 POST today:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
grep -s `date +%d/%b/%Y` /var/www/vhosts/*/logs/access_* | grep POST | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;top 10 GET today:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
grep -s `date +%d/%b/%Y` /var/www/vhosts/*/logs/access_* | grep GET | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Bots (from wiki):&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
grep -s `date +%d/%b/%Y` /var/www/vhosts/*/logs/access_* | egrep -i &amp;#039;(crawl|bot|spider|yahoo|bing|Googlebot)&amp;#039;| awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Top 10 IP&amp;#039;s:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/www/vhosts/*/logs/access_* | grep POST | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Top URI&amp;#039;s POSTed to:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/www/vhosts/*/logs/access_* | grep POST | awk &amp;#039;{print $7}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Most visited pages/links:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/www/vhosts/*/logs/access_* | grep GET | awk &amp;#039;{print $7}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head -n25&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Top IP&amp;#039;s asking for wp-login.php&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/www/vhosts/*/logs/access_*  | grep wp-login.php | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Top IP&amp;#039;s asking for xmlrpc.php&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /var/www/vhosts/*/logs/access_* | grep xmlrpc.php | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Get stuff from domlogs on Interworx: ===&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Number of hits per site:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep `date +%d/%b/%Y` /home/*/var/*/logs/transfer-ssl.log | awk &amp;#039;{print $1}&amp;#039; | sort | uniq -c | sort -rnk1 | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;top 10 POST today:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /home/*/var/*/logs/transfer-ssl.log | grep POST | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;top 10 GET today:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /home/*/var/*/logs/transfer-ssl.log | grep GET | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Top URI&amp;#039;s POSTed to:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /home/*/var/*/logs/transfer-ssl.log | grep POST | awk &amp;#039;{print $7}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Most visited pages/links:&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /home/*/var/*/logs/transfer-ssl.log | grep GET | awk &amp;#039;{print $7}&amp;#039; | cut -d: -f1 | sort | uniq -c | sort -rn | head -n25&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Top IP&amp;#039;s asking for wp-login.php&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /home/*/var/*/logs/transfer-ssl.log | grep wp-login.php | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Top IP&amp;#039;s asking for xmlrpc.php&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&amp;lt;pre&amp;gt;grep -s `date +%d/%b/%Y` /home/*/var/*/logs/transfer-ssl.log | grep xmlrpc.php | awk &amp;#039;{print $1}&amp;#039; | cut -d: -f2 | sort | uniq -c | sort -rn | head&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>