<?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: Sourav Karmakar </title>
    <description>The latest articles on Debug School by Sourav Karmakar  (@sourav07).</description>
    <link>https://www.debug.school/sourav07</link>
    <image>
      <url>https://www.debug.school/images/ZAMnWAAGjMszbIIdbwQ4ojxV_0R4fB1w-gJap6VIigI/rs:fill:90:90/g:sm/mb:500000/ar:1/aHR0cHM6Ly93d3cu/ZGVidWcuc2Nob29s/L3VwbG9hZHMvdXNl/ci9wcm9maWxlX2lt/YWdlLzc1L2FkNDlm/Zjk0LWEyY2YtNDNj/ZC1hMDU3LTJiODI3/OTBjZTZjMC5wbmc</url>
      <title>Debug School: Sourav Karmakar </title>
      <link>https://www.debug.school/sourav07</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://www.debug.school/feed/sourav07"/>
    <language>en</language>
    <item>
      <title>Log Analysis</title>
      <dc:creator>Sourav Karmakar </dc:creator>
      <pubDate>Thu, 15 Sep 2022 06:15:00 +0000</pubDate>
      <link>https://www.debug.school/sourav07/log-analysis-117p</link>
      <guid>https://www.debug.school/sourav07/log-analysis-117p</guid>
      <description>&lt;p&gt;&lt;strong&gt;1. Write down top 10 events in Windows and identify their event ID&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;event ID - 4624 /25 - successful and failed account log on , 4648 - system logon attempt with explicit credentials, 4719 -system audit policy changed, 1102 - audit logs cleared, 4723 - attempt made to change the password of account, 4740 - user account locked, 4735- priviledge local group modified, 4782 - password has an account was accessed, 4946- rule was added to windows firewall exception list.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. Write down top 10 events in Linux and identify their pattern and log linux&lt;/strong&gt;&lt;/p&gt;

&lt;p&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;&lt;strong&gt;3. Identify the log file in linux which log service&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;start|stop|enable|disable&lt;br&gt;
start - sudo systemctl start service.service, stop- sudo systemctl stop service.service, enable - sudo systemctl enable name_service.service,&lt;br&gt;
disable - sudo systemctl disable name_service.service&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Identify the log file in linux which log process running or killed.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;/var/log/kern. log&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;5. Identify the log file of apache and find out list of VERB and count of each using linux command&lt;/strong&gt;&lt;/p&gt;

&lt;p&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. 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>Sourav Karmakar </dc:creator>
      <pubDate>Tue, 13 Sep 2022 10:07:14 +0000</pubDate>
      <link>https://www.debug.school/sourav07/understanding-datadog-agent-2di8</link>
      <guid>https://www.debug.school/sourav07/understanding-datadog-agent-2di8</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is Datadog Agent?&lt;/strong&gt;&lt;br&gt;
The Datadog Agent is software that runs on our hosts. It collects events and metrics from hosts and sends them to Datadog, where we can analyze our monitoring and performance data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Types of Datadog Agent&lt;/strong&gt;.&lt;br&gt;
Collector, DogstatsD&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Ports used to in Datadog Agent&lt;/strong&gt;&lt;br&gt;
443/tcp, 123/udp&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Top 5 commands&lt;/strong&gt;&lt;br&gt;
$ systemctl start datadog-agent - start the agent&lt;br&gt;
$ systemctl stop datadog-agent - stop the agent&lt;br&gt;
$ systemctl status datadog-agent - status of the agent&lt;br&gt;
$ datadog-agent config - print all the runtime configuration&lt;br&gt;
$ more /etc/datadog-agent/datadog.yaml - details of configuartion file&lt;br&gt;
$ ls /var/log/datadog/ - listing&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Locate how to enable Logs monitoring in datadog.yaml&lt;/strong&gt;&lt;br&gt;
edit the datadog-values.yaml file. Locate the logs: section and set enabled: false to enabled: true.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Techniques for troubleshooting Datadog&lt;/strong&gt;&lt;br&gt;
Verify API token (datadog.yaml)&lt;br&gt;
Verify site/region (datadog.yaml)&lt;br&gt;
Restart the services &lt;br&gt;
check if logs enabled under config file&lt;/p&gt;

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