<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Debug School: Harish</title>
    <description>The latest articles on Debug School by Harish (@harishbheri).</description>
    <link>https://www.debug.school/harishbheri</link>
    <image>
      <url>https://www.debug.school/images/tDf4U2ja2ptEpEQ9RPOGR2EDyjdgifFLFF2awloGeMQ/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzc3Lzg4YjMy/YjE3LTdhM2YtNGZm/MC05ZTkyLWM2ZDA0/MGVkYTc1YS5wbmc</url>
      <title>Debug School: Harish</title>
      <link>https://www.debug.school/harishbheri</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/harishbheri"/>
    <language>en</language>
    <item>
      <title>Log Analysis</title>
      <dc:creator>Harish</dc:creator>
      <pubDate>Thu, 15 Sep 2022 06:05:45 +0000</pubDate>
      <link>https://www.debug.school/harishbheri/log-analysis-4590</link>
      <guid>https://www.debug.school/harishbheri/log-analysis-4590</guid>
      <description>&lt;p&gt;1.Write down top 10 events in Windows and identify their event ID ?&lt;br&gt;
4624 Successful account log on&lt;br&gt;
4625 Failed account log on&lt;br&gt;
4634 An account logged off&lt;br&gt;
4648 A logon attempt was made with explicit credentials&lt;br&gt;
4719 System audit policy was changed.&lt;br&gt;
4964 A special group has been assigned to a new log on&lt;br&gt;
1102 Audit log was cleared. This can relate to a potential attack&lt;br&gt;
4720 A user account was created&lt;br&gt;
4722 A user account was enabled&lt;br&gt;
4723 An attempt was made to change the password of an account&lt;/p&gt;

&lt;p&gt;2.Write down top 10 events in Linux and identify their pattern and log linux ?&lt;br&gt;
/var/log/messages&lt;br&gt;
/var/log/auth.log&lt;br&gt;
/var/log/secure&lt;br&gt;
/var/log/boot.log&lt;br&gt;
/var/log/dmesg&lt;br&gt;
/var/log/kern.log&lt;br&gt;
/var/log/faillog&lt;br&gt;
/var/log/yum.log&lt;br&gt;
var/log/httpd/&lt;br&gt;
/var/log/mysql.log&lt;/p&gt;

&lt;p&gt;3.Identify the log file in linux which log service&lt;br&gt;
start|stop|enable|disable ?&lt;br&gt;
systemctl start service&lt;br&gt;
systemctl stop service&lt;br&gt;
systemctl enable service&lt;br&gt;
systemctl disable service&lt;/p&gt;

&lt;p&gt;4.Identify the log file in linux which log process running or killed ?&lt;br&gt;
Check in /var/log/kern.log (on Debian/Ubuntu, other distributions might send kernel logs to a different file, but usually under /var/log under Linux&lt;/p&gt;

&lt;p&gt;5.Identify the log file of apache and find out list of VERB and count of each using linux command?&lt;br&gt;
Location of the Log Files By default on Debian-based distributions such as Ubuntu, access and error logs are located in the /var/log/apache2 directory.&lt;br&gt;
On CentOS the log files are placed in /var/log/httpd directory.Reading and Understanding the Apache Log Files&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Understanding Datadog Agent</title>
      <dc:creator>Harish</dc:creator>
      <pubDate>Tue, 13 Sep 2022 10:09:14 +0000</pubDate>
      <link>https://www.debug.school/harishbheri/understanding-datadog-agent-4fao</link>
      <guid>https://www.debug.school/harishbheri/understanding-datadog-agent-4fao</guid>
      <description>&lt;ul&gt;
&lt;li&gt;&lt;p&gt;What is Datadog agent?&lt;br&gt;
The Datadog Agent is software that runs on your hosts. It collects events and metrics from hosts and sends them to Datadog, where you can analyze your monitoring and performance data. The Datadog Agent is open source and its source code. &lt;br&gt;
The Datadog agent is a lightweight software installed on applications hosts that helps push every log, event, trace, and metric produced by your applications and infrastructure using the Datadog APIs.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Type of Datadog Agent?&lt;br&gt;
DogstatsD,StatsD&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Ports used to in Datadog agent?&lt;br&gt;
HTTP, TCP, HTTPS&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Top 5 commands with simple explanation troubleshooting Datadog agent?&lt;br&gt;
sudo systemctl start datadog-agent - Start agent &lt;br&gt;
sudo systemctl stop datadog-agent - Stop agent&lt;br&gt;
sudo systemctl restart datadog-agent - Restart agent&lt;br&gt;
sudo systemctl status datadog-agent - Check status&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Locate how to enable Logs monitoring in datadog.yaml&lt;br&gt;
edit the datadog.yaml file. Locate the logs: section and set enabled: false to enabled: true.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;5 techniques for troubleshooting Datadog?&lt;br&gt;
Verify API token (datadog.yaml)&lt;br&gt;
Verify site/region (datadog.yaml)&lt;br&gt;
Datadog Agent is running or not under services&lt;br&gt;
check if logs enabled under config file&lt;/p&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
  </channel>
</rss>
