<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:googleplay="http://www.google.com/schemas/play-podcasts/1.0"><channel><title><![CDATA[Tristan’s Cybersecurity Substack: SIEM / SOC / MDR]]></title><description><![CDATA[Posts on detection engineering, False Positives reductions, different strategies, basic detection systems knowledge, etc.]]></description><link>https://www.tristandostaler.com/s/siem-soc-mdr</link><image><url>https://substackcdn.com/image/fetch/$s_!j9n6!,w_256,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F65221642-d51c-4583-a96e-a8b1618617b8_1280x1280.png</url><title>Tristan’s Cybersecurity Substack: SIEM / SOC / MDR</title><link>https://www.tristandostaler.com/s/siem-soc-mdr</link></image><generator>Substack</generator><lastBuildDate>Fri, 06 Nov 2026 17:27:42 GMT</lastBuildDate><atom:link href="https://www.tristandostaler.com/feed" rel="self" type="application/rss+xml"/><copyright><![CDATA[Tristan Dostaler]]></copyright><language><![CDATA[en]]></language><webMaster><![CDATA[tristandostaler@substack.com]]></webMaster><itunes:owner><itunes:email><![CDATA[tristandostaler@substack.com]]></itunes:email><itunes:name><![CDATA[Tristan Dostaler]]></itunes:name></itunes:owner><itunes:author><![CDATA[Tristan Dostaler]]></itunes:author><googleplay:owner><![CDATA[tristandostaler@substack.com]]></googleplay:owner><googleplay:email><![CDATA[tristandostaler@substack.com]]></googleplay:email><googleplay:author><![CDATA[Tristan Dostaler]]></googleplay:author><itunes:block><![CDATA[Yes]]></itunes:block><item><title><![CDATA[Understanding EDR, XDR, NDR, and MDR: A Comprehensive Guide to Detection and Response Solutions]]></title><description><![CDATA[In the ever-evolving landscape of cybersecurity, keeping up with the latest technologies and solutions is crucial for protecting an organization&#8217;s digital assets. Among these technologies, detection and response solutions have become increasingly significant. Terms like EDR, XDR, NDR, and MDR are frequently used, but what do they actually mean, and how do they differ? This comprehensive guide will provide a detailed overview of these detection and response (DR) solutions, compare their features, and help you understand when to use each one.]]></description><link>https://www.tristandostaler.com/p/understanding-edr-xdr-ndr-and-mdr</link><guid isPermaLink="false">https://www.tristandostaler.com/p/understanding-edr-xdr-ndr-and-mdr</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Wed, 02 Sep 2026 14:15:20 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/54e6bab5-f7ca-46e8-9c60-991ab90eeb01_2816x1536.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!vUQp!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!vUQp!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vUQp!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vUQp!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vUQp!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!vUQp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg" width="2816" height="1536" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:1536,&quot;width&quot;:2816,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:1014325,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/jpeg&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:&quot;https://www.tristandostaler.com/i/213865081?img=https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fcf0df9aa-69c6-47e9-8b04-f176e06b748a_2816x1536.jpeg&quot;,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!vUQp!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 424w, https://substackcdn.com/image/fetch/$s_!vUQp!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 848w, https://substackcdn.com/image/fetch/$s_!vUQp!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!vUQp!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F88b2643c-9121-427c-8db1-8c2d6b56b687_2816x1536.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><h2><strong>Introduction</strong></h2><p><strong>In the ever-evolving landscape of cybersecurity, keeping up with the latest technologies and solutions is crucial for protecting an organization&#8217;s digital assets. Among these technologies, detection and response solutions have become increasingly significant. Terms like EDR, XDR, NDR, and MDR are frequently used, but what do they actually mean, and how do they differ? This comprehensive guide will provide a detailed overview of these detection and response (DR) solutions, compare their features, and help you understand when to use each one.</strong></p><h2><strong>Detailed Overview of Detection and Response Solutions</strong></h2><h3><strong>EDR (Endpoint Detection and Response)</strong></h3><p>Endpoint Detection and Response (EDR) focuses on detecting and investigating suspicious activities and threats on endpoints, such as desktops, laptops, and mobile devices. EDR solutions provide continuous monitoring, threat detection, and automated response capabilities. Essentially, EDR acts as a &#8220;Next-gen antivirus&#8221; because legacy antivirus (AV) solutions can be bypassed too easily. Key features include:</p><ul><li><p>Real-time monitoring of endpoint activities.</p></li><li><p>Threat detection using behavioral analysis and machine learning.</p></li><li><p>Incident response automation.</p></li><li><p>Forensic capabilities for deep-dive investigations.</p></li><li><p>Integration with other security tools for a holistic defense approach.</p></li></ul><h3><strong>XDR (Extended Detection and Response)</strong></h3><p>Extended Detection and Response (XDR) is an evolution of EDR that integrates multiple security products into a cohesive system, providing broader threat detection and response capabilities across various environments. XDR solutions unify data from endpoints, networks, servers, and other sources. Key features include:</p><ul><li><p>Unified threat detection and response across multiple security layers.</p></li><li><p>Enhanced visibility and correlation of security events.</p></li><li><p>Centralized management and automated workflows.</p></li><li><p>Improved threat detection with advanced analytics and machine learning.</p></li><li><p>Seamless integration with existing security infrastructure.</p></li></ul><h3><strong>NDR (Network Detection and Response)</strong></h3><p>Network Detection and Response (NDR) solutions focus on monitoring and analyzing network traffic to detect and respond to threats. NDR provides visibility into network activities, helping identify malicious behavior and potential breaches. Key features include:</p><ul><li><p>Continuous monitoring of network traffic.</p></li><li><p>Detection of anomalies and suspicious activities.</p></li><li><p>Real-time threat intelligence and analysis.</p></li><li><p>Automated incident response and containment.</p></li><li><p>Integration with other security tools for comprehensive protection.</p></li></ul><h3><strong>MDR (Managed Detection and Response)</strong></h3><p>Managed Detection and Response (MDR) services extend beyond traditional DR solutions by adding a layer of expert management and monitoring. MDR providers offer 24/7 threat monitoring, detection, and response, leveraging a combination of technology, processes, and human expertise. MDR makes use of EDR, XDR, NDR technologies, and more. Additionally, MDR looks at multiple sources such as endpoints, networks, cloud environments, and other IT infrastructure. Another emerging term for MDR that reflects this multi-source capability is MXDR (Managed Extended Detection and Response). Key features include:</p><ul><li><p>Proactive threat hunting and monitoring.</p></li><li><p>Expert analysis and incident response.</p></li><li><p>Regular reporting and compliance assistance.</p></li><li><p>Rapid threat containment and remediation.</p></li><li><p>Access to a team of cybersecurity experts.</p></li><li><p>Monitoring of cloud services and infrastructure.</p></li></ul><h2><strong>Comparing EDR, XDR, NDR, and MDR</strong></h2><p>While all these solutions aim to enhance an organization&#8217;s security posture, they differ in scope, capabilities, and application. Here&#8217;s a detailed comparison:</p><ul><li><p><strong>Scope:</strong></p><ul><li><p><strong>EDR:</strong> Focuses on endpoints.</p></li><li><p><strong>XDR:</strong> Integrates data from multiple security layers (endpoints, network, cloud, etc.).</p></li><li><p><strong>NDR:</strong> Focuses on network traffic.</p></li><li><p><strong>MDR (or MXDR):</strong> Managed service covering endpoints, networks, cloud services, and more.</p></li></ul></li></ul><ul><li><p><strong>Capabilities:</strong></p><ul><li><p><strong>EDR:</strong> Real-time endpoint monitoring, threat detection, automated response.</p></li><li><p><strong>XDR:</strong> Unified threat detection, centralized management, advanced analytics.</p></li><li><p><strong>NDR:</strong> Network traffic analysis, anomaly detection, real-time response.</p></li><li><p><strong>MDR (or MXDR):</strong> Proactive threat hunting, expert analysis, managed response.</p></li></ul></li></ul><ul><li><p><strong>Use of Resources:</strong></p><ul><li><p><strong>EDR:</strong> Requires in-house security team.</p></li><li><p><strong>XDR:</strong> Requires integration and management of multiple security tools.</p></li><li><p><strong>NDR:</strong> Focuses on network security, often used alongside other DR solutions.</p></li><li><p><strong>MDR (or MXDR):</strong> Managed by external experts.</p></li></ul></li></ul><h3><strong>When to Use Each Solution</strong></h3><p>Choosing the right detection and response solution depends on your organization&#8217;s specific needs, resources, and security posture. Here are some scenarios and use cases:</p><ul><li><p><strong>EDR:</strong> Ideal for organizations with a dedicated security team that needs robust endpoint protection and response capabilities.</p></li><li><p><strong>XDR:</strong> Best for organizations seeking a unified security approach, integrating multiple data sources for comprehensive threat detection and response.</p></li><li><p><strong>NDR:</strong> Perfect for organizations prioritizing network security, needing detailed traffic analysis and rapid incident response.</p></li><li><p><strong>MDR (or MXDR):</strong> Suitable for organizations with limited in-house expertise or resources, benefiting from managed services and expert support.</p></li></ul><h2><strong>SOC vs. MDR: Key Differences</strong></h2><p>While both a Security Operations Center (SOC) and Managed Detection and Response (MDR) are crucial for an organization&#8217;s cybersecurity, they differ significantly in their structure, scope, and functionality:</p><h3><strong>Security Operations Center (SOC)</strong></h3><ul><li><p><strong>Definition:</strong> A centralized in-house function that continuously monitors and improves an organization&#8217;s security posture.</p></li><li><p><strong>Features:</strong> 24/7 monitoring, in-house team, incident response, threat intelligence, customizable.</p></li><li><p><strong>Pros:</strong> Complete control, tailored to organizational needs, direct communication.</p></li><li><p><strong>Cons:</strong> Resource-intensive, requires expertise, scalability challenges.</p></li></ul><h3><strong>Managed Detection and Response (MDR)</strong></h3><ul><li><p><strong>Definition:</strong> An outsourced service providing threat detection, response, and monitoring.</p></li><li><p><strong>Features:</strong> 24/7 threat monitoring, proactive threat hunting, expert analysis, incident response, regular reporting.</p></li><li><p><strong>Pros:</strong> Cost-effective, access to expertise, quick deployment, scalable.</p></li><li><p><strong>Cons:</strong> Less control, dependency on vendor, potential communication challenges.</p></li></ul><h2><strong>Differences Between MDR and EDR, XDR, NDR</strong></h2><p>In EDR, XDR, or NDR solutions, detection and response are primarily automated with limited or no access to experts, no customization of response processes, no integration of custom sources, and no dedicated incident response team. Conversely, MDR (or MXDR) provides human expertise, tailored response processes, integration of custom data sources, and a dedicated incident response team.</p><h2><strong>Choosing Between SOC and MDR</strong></h2><p>The decision between an in-house SOC or MDR services depends on factors like budget, resources, control needs, scalability, and complexity. Organizations with limited budgets or expertise may benefit from MDR, while those needing full control and customization might prefer an in-house SOC.</p><h2><strong>Conclusion</strong></h2><p>Understanding the differences between EDR, XDR, NDR, MDR, and the distinction between SOC and MDR is crucial for making informed decisions about your organization&#8217;s cybersecurity strategy. Each solution offers unique benefits and capabilities, tailored to specific security needs. By selecting the right detection and response solution, you can enhance your organization&#8217;s ability to detect, respond to, and mitigate cyber threats effectively.</p>]]></content:encoded></item><item><title><![CDATA[Your server is secure? Really?]]></title><description><![CDATA[What to do after you&#8217;ve secured your servers and computers]]></description><link>https://www.tristandostaler.com/p/your-server-is-secure-really</link><guid isPermaLink="false">https://www.tristandostaler.com/p/your-server-is-secure-really</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Fri, 15 Nov 2024 17:10:59 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!iZsy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h1>What to do after you&#8217;ve secured your servers and computers</h1><p>You&#8217;ve hardened all you could on your servers or computers, you have a strong password with&nbsp;<a href="https://en.wikipedia.org/wiki/Multi-factor_authentication">MFA</a>, you update regularly or automatically everything and are wondering what can be done next?</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!iZsy!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iZsy!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 424w, https://substackcdn.com/image/fetch/$s_!iZsy!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 848w, https://substackcdn.com/image/fetch/$s_!iZsy!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!iZsy!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!iZsy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg" width="426" height="426" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:426,&quot;width&quot;:426,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Image for post&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Image for post" title="Image for post" srcset="https://substackcdn.com/image/fetch/$s_!iZsy!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 424w, https://substackcdn.com/image/fetch/$s_!iZsy!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 848w, https://substackcdn.com/image/fetch/$s_!iZsy!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!iZsy!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F903d05e2-db91-4b28-a302-7967c9765a1e_426x426.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Like you probably know, you can never be 100% protected and there is always a way criminals can find to access private information. For those who tells me they are 100% secure, here is an example:</p><p>You have a secure WordPress website at www.mysite.com which has nice plugins to secure it, you maintain it up to date and you have&nbsp;<a href="https://en.wikipedia.org/wiki/Multi-factor_authentication">MFA</a>. You then go in a public cafe to make some changes to your website. You enter your WordPress URL in your browser, get the login window, enter your password + your&nbsp;<a href="https://en.wikipedia.org/wiki/Multi-factor_authentication">MFA&nbsp;</a>and get access to your website. You then make some changes and everything works as normal. Then a few days later your site gets defaced, or worse. What happened?</p><p>What you missed here is that an attacker in the same cafe as you was able to change the IP returned when you did a&nbsp;<a href="https://en.wikipedia.org/wiki/Domain_Name_System">DNS</a>&nbsp;query for your domain (either through&nbsp;<a href="https://en.wikipedia.org/wiki/Man-in-the-middle_attack">MITM&nbsp;</a>or by changing the&nbsp;<a href="https://en.wikipedia.org/wiki/Domain_Name_System">DNS&nbsp;</a>Server in the router config). He then redirected you to a new domain: www.rnysite.com. This new domain is owned by the attacker and directs you to a sever that runs&nbsp;<a href="https://github.com/drk1wi/Modlishka">Modlishka</a>. This attacking tool essentially&nbsp;<a href="https://en.wikipedia.org/wiki/Proxy_server">proxies&nbsp;</a>all your traffic to your real website www.mysite.com, even validating your password +&nbsp;<a href="https://en.wikipedia.org/wiki/Multi-factor_authentication">MFA&nbsp;</a>and making the changes you ask for, but he also makes a copy of all the traffic, taking your&nbsp;<a href="https://en.wikipedia.org/wiki/HTTP_cookie">cookies</a>&nbsp;and password. Although he doesn&#8217;t have your&nbsp;<a href="https://en.wikipedia.org/wiki/Multi-factor_authentication">MFA</a>, he now has your&nbsp;<a href="https://en.wikipedia.org/wiki/HTTP_cookie">cookies</a>. Oh and if that&#8217;s not enough,<a href="https://www.unix-ninja.com/p/attacking_google_authenticator">&nbsp;it&#8217;s possible now to brute-force the TOTP seed with Hashcat with only 2 TOTP token</a>. (<a href="https://en.wikipedia.org/wiki/Brute-force_attack">Here is a definition of Brute-force attack</a>)</p><p>So now what?</p><p>Well, here comes logging, aggregating, correlating and alerting &#8212; also known as a&nbsp;<a href="https://en.wikipedia.org/wiki/Security_information_and_event_management">Security Information and Event Management</a>, or SIEM.</p><p>But what is a SIEM? As Varonis puts it:</p><blockquote><p>Security Information and Event Management (SIEM) is a software solution that aggregates and analyzes activity from many different resources across your entire IT infrastructure.</p><p>SIEM collects security data from network devices, servers, domain controllers, and more. SIEM stores, normalizes, aggregates, and applies analytics to that data to discover trends, detect threats, and enable organizations to investigate any alerts.</p><p><em>Source:&nbsp;<a href="https://www.varonis.com/blog/what-is-siem/">https://www.varonis.com/blog/what-is-siem/</a></em></p></blockquote><p>&#8230;</p><p>Now that we established what is a SIEM and why it is needed, how to we get started with this?</p><p>Well, to get started using a SIEM, you can read my blog posts on the subject! My goal is to make it easy to understand and accessible to anyone with some IT experience.</p><p>Next post:&nbsp;<a href="https://www.tristandostaler.com/siem-101-introduction/">SIEM 101 &#8212; Introduction</a></p><p>Feel free to leave your comment down here for any questions or comments.</p><h3><strong>Donation</strong></h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[SIEM 101 — Introduction]]></title><description><![CDATA[In the following days, I&#8217;ll write a few blog posts explaining how to easily learn to use a Security Information and Event Management, or SIEM.]]></description><link>https://www.tristandostaler.com/p/siem-101-introduction</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-101-introduction</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Fri, 15 Nov 2024 17:01:02 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Pgmv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Pgmv!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Pgmv!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 424w, https://substackcdn.com/image/fetch/$s_!Pgmv!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 848w, https://substackcdn.com/image/fetch/$s_!Pgmv!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 1272w, https://substackcdn.com/image/fetch/$s_!Pgmv!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!Pgmv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp" width="1456" height="639" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:639,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:52346,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Pgmv!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 424w, https://substackcdn.com/image/fetch/$s_!Pgmv!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 848w, https://substackcdn.com/image/fetch/$s_!Pgmv!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 1272w, https://substackcdn.com/image/fetch/$s_!Pgmv!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F79f5076e-3f72-4647-a2e6-4539dd7c0a20_1920x842.webp 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>In the following days, I&#8217;ll write a few blog posts explaining how to easily learn to use a&nbsp;<a href="https://en.wikipedia.org/wiki/Security_information_and_event_management">Security Information and Event Management</a>, or SIEM.</p><p><em>Note: In this post I use Logz.io for my examples, but I recently switched to Humio. For more details: <a href="https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/">https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/</a></em></p><p>But what is a SIEM? As Varonis puts it:</p><blockquote><p><em>Security Information and Event Management (SIEM) is a software solution that aggregates and analyzes activity from many different resources across your entire IT infrastructure.</em></p><p><em>SIEM collects security data from network devices, servers, domain controllers, and more. SIEM stores, normalizes, aggregates, and applies analytics to that data to discover trends, detect threats, and enable organizations to investigate any alerts.</em></p><p>Source:&nbsp;<a href="https://www.varonis.com/blog/what-is-siem/">https://www.varonis.com/blog/what-is-siem/</a></p></blockquote><p>To do this, I wrote the post&nbsp;<a href="https://www.tristandostaler.com/siem-101-initial-setup/">SIEM 101 &#8212; Initial setup</a>&nbsp;where I explain how to create an account on&nbsp;<a href="https://logz.io/">Logz.io</a>; they offer a free account where you can send up to 1 GB / day of logs to try their platform. Time needed: around 2 minutes.</p><p>Still in the post&nbsp;<a href="https://www.tristandostaler.com/siem-101-initial-setup/">SIEM 101 &#8212; Initial setup</a>, I then explain how to send your logs there, whether you&#8217;re on Windows or on Linux. Time needed: around 5&#8211;10 minutes.</p><p>After&nbsp;that, I&#8217;ll explain the basic usage of&nbsp;<a href="https://logz.io/">Logz.io</a>, how to search logs, how to create an alarm, etc. Time needed: around 30 minutes.</p><p>When all this is done, the scene will be in place to start writing blogs on detection cases, for example: receive an alert if Windows is brute forced, receive an alert if a failed logon happened on your WordPress server, etc.</p><p>I&#8217;ll eventually talk about the scripts I developed that uses&nbsp;<a href="https://logz.io/">Logz.io</a>&nbsp;to automatically block bad IPs on my servers.</p><p>For the most advanced users, you&#8217;ll then be able to discover some useful tools the community provides, like the&nbsp;<a href="https://github.com/Neo23x0/sigma">Sigma rules</a>.</p><p>Follow me in my next post:&nbsp;<a href="https://www.tristandostaler.com/siem-101-initial-setup/">SIEM 101 &#8212; Initial setup</a></p><p>Feel free to leave your comment down here for any questions or comments.</p><h3><strong>Donation</strong></h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[Never receive an alert from Windows Defender? You should!]]></title><description><![CDATA[A few years ago, I was on the defense team when a pentest was ongoing on one of our website.]]></description><link>https://www.tristandostaler.com/p/never-receive-an-alert-from-windows</link><guid isPermaLink="false">https://www.tristandostaler.com/p/never-receive-an-alert-from-windows</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Thu, 14 Nov 2024 20:44:19 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!BNP_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BNP_!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BNP_!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BNP_!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BNP_!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BNP_!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!BNP_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg" width="500" height="365" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:365,&quot;width&quot;:500,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!BNP_!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 424w, https://substackcdn.com/image/fetch/$s_!BNP_!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 848w, https://substackcdn.com/image/fetch/$s_!BNP_!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!BNP_!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb4e19437-44d6-4219-a2d6-35bc8ae0f680_500x365.jpeg 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Sometime the reds&nbsp;win&#8230;</figcaption></figure></div><p>A few years ago, I was on the defense team when a pentest was ongoing on one of our website. This website, coded in C#, was hosted on Windows and had Windows Defender activated.</p><p>During the pentest, the attacker had access to the CMS. He discovered that he could upload his own plugins, giving him Remote Code Execution (RCE) on the server. Happy with this discovery, he started his C&amp;C server (it was PowerShell Empire 2 at the time), crafted a payload and launched the result in a C# wrapped plugin and then&#8230; nothing.</p><p>As some of you may know, C#, PowerShell and Defender all love to work together. That&#8217;s because the&nbsp;.NET framework is now tightly integrated with Windows Defender. When sending the payload, Defender could see and block the attack.</p><p>So all the attacker had to do was to modify his payload until it passed all the checks Defender does. After a few hours, he had a complete reverse shell (although restricted to the IIS user).</p><p>From the defense point of view, the fact that Defender did his job is perfect. But the fact that we didn&#8217;t know Defender blocked a file-less attack and we only learned it when we receive the report should be considered a disaster. It means your AV is useless because an attacker has all the time he needs to craft his attack.</p><p>From this point, the next steps where clear, we needed to receive an alert when a virus was detected. And maybe on other suspicious behavior? That&#8217;s when I discovered what is a SIEM!</p><p>If you wan&#8217;t to know more about what is a SIEM and how to use it, you can read my blog posts on the subject starting with:&nbsp;<a href="https://www.tristandostaler.com/siem-101-introduction/">SIEM 101&#8202;&#8212;&#8202;Introduction</a></p><p>Feel free to leave your comment down here for any questions or comments.</p><h3><strong>Donation</strong></h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[SIEM 101 — Initial setup]]></title><description><![CDATA[In this post, I&#8217;ll explain how to initially setup a SIEM so you can receive your first logs.]]></description><link>https://www.tristandostaler.com/p/siem-101-initial-setup</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-101-initial-setup</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Thu, 14 Nov 2024 15:28:03 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!9KFL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post, I&#8217;ll explain how to initially setup a SIEM so you can receive your first logs.</p><p><em>Note: In this post I use Logz.io for my examples, but I recently switched to Humio. For more details: <a href="https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/">https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/</a></em></p><div><hr></div><p>This is the second post of the series &#8220;SIEM 101&#8243; where I explain the basics of a SIEM, from installation to simple usage. You can see the previous post&nbsp;<a href="https://www.tristandostaler.com/siem-101-introduction/">SIEM 101&#8202;&#8212;&#8202;Introduction</a>.</p><div><hr></div><p>I decided to write the series using&nbsp;<a href="https://logz.io/">Logz.io</a>&nbsp;because they offer an easy to use platform with a free 1GB/day trial with a smooth learning curve. Of course they don&#8217;t offer all the features in the free version and some crucial features for a SIEM are missing, but this is perfect to get started with a SIEM! For the&nbsp;<a href="https://www.splunk.com/">Splunk</a>&nbsp;fans, I&#8217;ll probably write a blog post about why I don&#8217;t recommend it often and why I recommend an&nbsp;<a href="https://www.elastic.co/what-is/elasticsearch">Elasticsearch</a>&nbsp;based SIEM most of the time.</p><h2>First step: open an account</h2><p>The first thing to do is to open an account on&nbsp;<a href="https://app.logz.io/#/login">Logz.io</a>. They offer to open an account using your google account, or to register with an email. For this demo I&#8217;ll use the google SSO option. So head over to&nbsp;<a href="https://app.logz.io/#/login">Logz.io</a>&nbsp;and register:&nbsp;</p><p>https://app.logz.io/#/login</p><p>Next, click on &#8220;Sign in with Google&#8221;:&nbsp;</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!CpEB!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 424w, https://substackcdn.com/image/fetch/$s_!CpEB!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 848w, https://substackcdn.com/image/fetch/$s_!CpEB!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 1272w, https://substackcdn.com/image/fetch/$s_!CpEB!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!CpEB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png" width="189" height="40" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:40,&quot;width&quot;:189,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Sign in with Google&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Sign in with Google" title="Sign in with Google" srcset="https://substackcdn.com/image/fetch/$s_!CpEB!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 424w, https://substackcdn.com/image/fetch/$s_!CpEB!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 848w, https://substackcdn.com/image/fetch/$s_!CpEB!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 1272w, https://substackcdn.com/image/fetch/$s_!CpEB!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F54bb10f8-3aa0-431f-8818-4e2e1aa798ac_189x40.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>You&#8217;ll get redirected to the Google SSO. Select your existing account, login or create an account. I&#8217;ll let you figure this part out.</p><p>Then, once back on the Logz.io website, you get a Sign up page. Fill out the details and click &#8220;Create Account&#8221;:</p><p><em>Note: It is smart to choose a region close to where you live to get better bandwidth when sending logs.</em></p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2-Ck!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2-Ck!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 424w, https://substackcdn.com/image/fetch/$s_!2-Ck!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 848w, https://substackcdn.com/image/fetch/$s_!2-Ck!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 1272w, https://substackcdn.com/image/fetch/$s_!2-Ck!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!2-Ck!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png" width="216" height="300" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:300,&quot;width&quot;:216,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Logz.io Sign Up screen&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Logz.io Sign Up screen" title="Logz.io Sign Up screen" srcset="https://substackcdn.com/image/fetch/$s_!2-Ck!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 424w, https://substackcdn.com/image/fetch/$s_!2-Ck!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 848w, https://substackcdn.com/image/fetch/$s_!2-Ck!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 1272w, https://substackcdn.com/image/fetch/$s_!2-Ck!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd05517b9-0120-41f8-b6be-a72e979c0b92_216x300.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>That&#8217;s it, your account is ready to receive logs! When you login, you can follow their tutorial if you want to. The next step in this post is pretty much the same thing as their tutorial.</p><h2>Second step: start sending logs</h2><p>Now that we have an account, we can finally start sending logs. Make sure you are logged in your account for the next steps. I divided this section in two, one for Windows and one for Linux (I use Ubuntu).</p><p>Once logged in, click on &#8220;Send Your Data&#8221; in the top navigation:&nbsp;</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Ss99!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 424w, https://substackcdn.com/image/fetch/$s_!Ss99!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 848w, https://substackcdn.com/image/fetch/$s_!Ss99!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 1272w, https://substackcdn.com/image/fetch/$s_!Ss99!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!Ss99!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png" width="149" height="58" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:58,&quot;width&quot;:149,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Logz Send Your Data Link&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Logz Send Your Data Link" title="Logz Send Your Data Link" srcset="https://substackcdn.com/image/fetch/$s_!Ss99!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 424w, https://substackcdn.com/image/fetch/$s_!Ss99!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 848w, https://substackcdn.com/image/fetch/$s_!Ss99!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 1272w, https://substackcdn.com/image/fetch/$s_!Ss99!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5061b0eb-78c3-4206-8cc0-3aa0bcabd9fe_149x58.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>The next steps are starting to get interesting. We&#8217;ll configure the log shipper agents on Windows and Ubuntu.</p><h3>Windows</h3><p>On the left navigation, close &#8220;Log Shippers&#8221; that should be opened, and open &#8220;Operating Systems&#8221;:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!7Go3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!7Go3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 424w, https://substackcdn.com/image/fetch/$s_!7Go3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 848w, https://substackcdn.com/image/fetch/$s_!7Go3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 1272w, https://substackcdn.com/image/fetch/$s_!7Go3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!7Go3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp" width="128" height="400.64" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:626,&quot;width&quot;:200,&quot;resizeWidth&quot;:128,&quot;bytes&quot;:7640,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!7Go3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 424w, https://substackcdn.com/image/fetch/$s_!7Go3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 848w, https://substackcdn.com/image/fetch/$s_!7Go3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 1272w, https://substackcdn.com/image/fetch/$s_!7Go3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff0c77964-4e7f-45a3-b441-140a36baef08_200x626.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Select &#8220;Windows&#8221; under the &#8220;Operating Systems&#8221; menu. Your page will refresh to the URL&nbsp;</p><p>https://app.logz.io/#/dashboard/data-sources/Windows</p><p>They propose 2 options; we are interested in the option 1: Winlogbeat.</p><p>As they explain in the page, you first need to install Winlogbeat. So that&#8217;s what we&#8217;ll do.</p><p>Head over to&nbsp;<a href="https://www.elastic.co/downloads/beats/winlogbeat-oss">https://www.elastic.co/downloads/beats/winlogbeat-oss</a>&nbsp;and download the right MSI version for your computer (32 bits or 64 bits, if unsure use the 32 bits). For me, that&#8217;s the 64 bits MSI:</p><p><em>Note: here, my link is slightly different than the one they propose on their website. This is because I recommend using the OpenSource version (oss).</em></p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!jWnV!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 424w, https://substackcdn.com/image/fetch/$s_!jWnV!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 848w, https://substackcdn.com/image/fetch/$s_!jWnV!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 1272w, https://substackcdn.com/image/fetch/$s_!jWnV!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!jWnV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp" width="451" height="110.57206537890045" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:165,&quot;width&quot;:673,&quot;resizeWidth&quot;:451,&quot;bytes&quot;:10584,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!jWnV!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 424w, https://substackcdn.com/image/fetch/$s_!jWnV!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 848w, https://substackcdn.com/image/fetch/$s_!jWnV!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 1272w, https://substackcdn.com/image/fetch/$s_!jWnV!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7571ed52-5861-4431-bb65-9208fdb4a438_673x165.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>When the download is finished, click the downloaded file, a window will open.</p><p>Check the &#8220;I accept the terms in the License Agreement&#8221; checkbox and click &#8220;Install&#8221;:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!9KFL!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9KFL!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 424w, https://substackcdn.com/image/fetch/$s_!9KFL!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 848w, https://substackcdn.com/image/fetch/$s_!9KFL!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 1272w, https://substackcdn.com/image/fetch/$s_!9KFL!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!9KFL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp" width="358" height="281.5975609756098" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:387,&quot;width&quot;:492,&quot;resizeWidth&quot;:358,&quot;bytes&quot;:11182,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!9KFL!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 424w, https://substackcdn.com/image/fetch/$s_!9KFL!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 848w, https://substackcdn.com/image/fetch/$s_!9KFL!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 1272w, https://substackcdn.com/image/fetch/$s_!9KFL!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F1feada15-be8d-44fb-8752-3d4bc5259943_492x387.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>When prompted, accept to run as Administrator (<a href="https://www.tristandostaler.com/siem-101-initial-setup/Windows%20User%20Account%20Controls">UAC</a>). When the installation is done, click Finish (we leave the checkbox &#8220;Open winlogbeat data directory in Windows Explorer&#8221; checked.</p><p>In the Windows Exporer window that opened at the location &#8220;C:\ProgramData\Elastic\Beats\winlogbeat&#8221;, rename the file &#8220;winlogbeat.example.yml&#8221; to &#8220;winlogbeat.yml&#8221;.</p><p>Open your favorite text editor (it can be Notepad, I use VSCode) as Administrator (right click, Run As Administrator) and then open the file&nbsp;&#8220;winlogbeat.yml&#8221;.</p><p>Replace all the content of the file with the content from this&nbsp;<a href="https://docs.github.com/en/free-pro-team@latest/github/writing-on-github/creating-gists#about-gists">gist</a>:</p><div class="github-gist" data-attrs="{&quot;innerHTML&quot;:&quot;<div id=\&quot;gist106591899\&quot; class=\&quot;gist\&quot;>\n    <div class=\&quot;gist-file\&quot; translate=\&quot;no\&quot; data-color-mode=\&quot;light\&quot; data-light-theme=\&quot;light\&quot;>\n      <div class=\&quot;gist-data\&quot;>\n        <div class=\&quot;js-gist-file-update-container js-task-list-container\&quot;>\n  <div id=\&quot;file-winlogbeat-yml\&quot; class=\&quot;file my-2\&quot;>\n    \n    <div itemprop=\&quot;text\&quot; class=\&quot;Box-body p-0 blob-wrapper data type-yaml  \&quot;>\n\n        \n<div class=\&quot;js-check-bidi js-blob-code-container blob-code-content\&quot;>\n\n  <template class=\&quot;js-file-alert-template\&quot;>\n  <div data-view-component=\&quot;true\&quot; class=\&quot;flash flash-warn flash-full d-flex flex-items-center\&quot;>\n  <svg aria-hidden=\&quot;true\&quot; height=\&quot;16\&quot; viewBox=\&quot;0 0 16 16\&quot; version=\&quot;1.1\&quot; width=\&quot;16\&quot; data-view-component=\&quot;true\&quot; class=\&quot;octicon octicon-alert\&quot;>\n    <path d=\&quot;M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\&quot;></path>\n</svg>\n    <span>\n      This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.\n      <a class=\&quot;Link--inTextBlock\&quot; href=\&quot;https://github.co/hiddenchars\&quot; target=\&quot;_blank\&quot;>Learn more about bidirectional Unicode characters</a>\n    </span>\n\n\n  <div data-view-component=\&quot;true\&quot; class=\&quot;flash-action\&quot;>        <a href=\&quot;{{ revealButtonHref }}\&quot; data-view-component=\&quot;true\&quot; class=\&quot;btn-sm btn\&quot;>    Show hidden characters\n</a>\n</div>\n</div></template>\n<template class=\&quot;js-line-alert-template\&quot;>\n  <span aria-label=\&quot;This line has hidden Unicode characters\&quot; data-view-component=\&quot;true\&quot; class=\&quot;line-alert tooltipped tooltipped-e\&quot;>\n    <svg aria-hidden=\&quot;true\&quot; height=\&quot;16\&quot; viewBox=\&quot;0 0 16 16\&quot; version=\&quot;1.1\&quot; width=\&quot;16\&quot; data-view-component=\&quot;true\&quot; class=\&quot;octicon octicon-alert\&quot;>\n    <path d=\&quot;M6.457 1.047c.659-1.234 2.427-1.234 3.086 0l6.082 11.378A1.75 1.75 0 0 1 14.082 15H1.918a1.75 1.75 0 0 1-1.543-2.575Zm1.763.707a.25.25 0 0 0-.44 0L1.698 13.132a.25.25 0 0 0 .22.368h12.164a.25.25 0 0 0 .22-.368Zm.53 3.996v2.5a.75.75 0 0 1-1.5 0v-2.5a.75.75 0 0 1 1.5 0ZM9 11a1 1 0 1 1-2 0 1 1 0 0 1 2 0Z\&quot;></path>\n</svg>\n</span></template>\n\n  <table data-hpc class=\&quot;highlight tab-size js-file-line-container js-code-nav-container js-tagsearch-file\&quot; data-tab-size=\&quot;8\&quot; data-paste-markdown-skip data-tagsearch-lang=\&quot;YAML\&quot; data-tagsearch-path=\&quot;winlogbeat.yml\&quot;>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L1\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;1\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC1\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>##################### Winlogbeat Configuration Example ########################</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L2\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;2\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC2\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L3\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;3\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC3\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> This file is an example configuration file highlighting only the most common</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L4\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;4\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC4\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> options. The winlogbeat.reference.yml file from the same directory contains</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L5\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;5\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC5\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> all the supported options with more comments. You can use it as a reference.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L6\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;6\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC6\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L7\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;7\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC7\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> You can find the full configuration reference here:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L8\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;8\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC8\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> https://www.elastic.co/guide/en/beats/winlogbeat/index.html</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L9\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;9\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC9\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L10\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;10\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC10\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>======================= Winlogbeat specific options ===========================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L11\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;11\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC11\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L12\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;12\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC12\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> event_logs specifies a list of event logs to monitor as well as any</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L13\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;13\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC13\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> accompanying options. The YAML data type of event_logs is a list of</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L14\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;14\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC14\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> dictionaries.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L15\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;15\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC15\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L16\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;16\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC16\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> The supported keys are name (required), tags, fields, fields_under_root,</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L17\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;17\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC17\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> forwarded, ignore_older, level, event_id, provider, and include_xml. Please</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L18\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;18\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC18\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> visit the documentation for the complete details of each option.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L19\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;19\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC19\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> https://go.es.io/WinlogbeatConfig</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L20\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;20\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC20\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-ent\&quot;>winlogbeat.event_logs</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L21\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;21\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC21\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Application</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L22\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;22\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC22\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L23\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;23\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC23\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Security</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L24\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;24\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC24\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L25\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;25\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC25\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>System</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L26\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;26\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC26\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L27\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;27\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC27\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-Sysmon/Operational</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L28\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;28\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC28\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L29\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;29\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC29\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-Windows Defender/Operational</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L30\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;30\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC30\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L31\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;31\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC31\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L32\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;32\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC32\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L33\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;33\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC33\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L34\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;34\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC34\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L35\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;35\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC35\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-RemoteConnectionManager/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L36\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;36\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC36\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L37\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;37\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC37\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L38\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;38\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC38\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L39\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;39\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC39\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-RemoteApp and Desktop Connections/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L40\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;40\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC40\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L41\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;41\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC41\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-ClientUSBDevices/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L42\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;42\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC42\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L43\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;43\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC43\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-LocalSessionManager/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L44\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;44\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC44\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L45\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;45\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC45\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-LocalSessionManager/Operational</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L46\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;46\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC46\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L47\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;47\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC47\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-PnPDevices/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L48\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;48\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC48\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L49\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;49\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC49\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-Printers/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L50\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;50\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC50\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L51\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;51\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC51\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-ServerUSBDevices/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L52\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;52\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC52\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L53\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;53\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC53\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-TerminalServices-SessionBroker-Client/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L54\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;54\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC54\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L55\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;55\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC55\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>name</span>: <span class=\&quot;pl-s\&quot;>Microsoft-Windows-VerifyHardwareSecurity/Admin</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L56\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;56\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC56\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>ignore_older</span>: <span class=\&quot;pl-c1\&quot;>72h</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L57\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;57\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC57\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L58\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;58\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC58\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-ent\&quot;>fields</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L59\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;59\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC59\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-ent\&quot;>logzio_codec</span>: <span class=\&quot;pl-s\&quot;>json</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L60\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;60\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC60\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-ent\&quot;>token</span>: <span class=\&quot;pl-s\&quot;>YOURTOKEN_PLACEHOLDER</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L61\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;61\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC61\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-ent\&quot;>type</span>: <span class=\&quot;pl-s\&quot;>wineventlog</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L62\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;62\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC62\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-ent\&quot;>fields_under_root</span>: <span class=\&quot;pl-c1\&quot;>true</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L63\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;63\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC63\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L64\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;64\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC64\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>==================== Elasticsearch template settings ==========================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L65\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;65\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC65\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L66\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;66\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC66\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-ent\&quot;>setup.template.settings</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L67\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;67\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC67\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-ent\&quot;>index.number_of_shards</span>: <span class=\&quot;pl-c1\&quot;>1</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L68\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;68\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC68\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>index.codec: best_compression</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L69\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;69\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC69\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>_source.enabled: false</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L70\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;70\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC70\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L71\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;71\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC71\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L72\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;72\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC72\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>================================ General =====================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L73\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;73\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC73\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L74\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;74\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC74\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> The name of the shipper that publishes the network data. It can be used to group</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L75\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;75\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC75\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> all the transactions sent by a single shipper in the web interface.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L76\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;76\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC76\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>name:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L77\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;77\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC77\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L78\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;78\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC78\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> The tags of the shipper are included in their own field with each</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L79\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;79\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC79\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> transaction published.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L80\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;80\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC80\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>tags: [&amp;quot;service-X&amp;quot;, &amp;quot;web-tier&amp;quot;]</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L81\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;81\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC81\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L82\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;82\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC82\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Optional fields that you can specify to add additional information to the</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L83\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;83\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC83\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> output.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L84\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;84\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC84\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>fields:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L85\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;85\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC85\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>  env: staging</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L86\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;86\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC86\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L87\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;87\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC87\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L88\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;88\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC88\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>============================== Dashboards =====================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L89\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;89\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC89\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> These settings control loading the sample dashboards to the Kibana index. Loading</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L90\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;90\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC90\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> the dashboards is disabled by default and can be enabled either by setting the</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L91\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;91\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC91\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> options here or by using the `setup` command.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L92\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;92\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC92\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>setup.dashboards.enabled: false</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L93\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;93\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC93\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L94\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;94\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC94\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> The URL from where to download the dashboards archive. By default this URL</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L95\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;95\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC95\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> has a value which is computed based on the Beat name and version. For released</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L96\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;96\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC96\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> versions, this URL points to the dashboard archive on the artifacts.elastic.co</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L97\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;97\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC97\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> website.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L98\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;98\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC98\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>setup.dashboards.url:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L99\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;99\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC99\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L100\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;100\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC100\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>============================== Kibana =====================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L101\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;101\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC101\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L102\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;102\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC102\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L103\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;103\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC103\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> This requires a Kibana endpoint configuration.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L104\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;104\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC104\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-ent\&quot;>setup.kibana</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L105\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;105\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC105\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L106\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;106\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC106\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Kibana Host</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L107\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;107\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC107\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Scheme and port can be left out and will be set to the default (http and 5601)</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L108\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;108\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC108\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> In case you specify and additional path, the scheme is required: http://localhost:5601/path</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L109\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;109\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC109\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> IPv6 addresses should always be defined as: https://[2001:db8::1]:5601</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L110\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;110\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC110\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>host: &amp;quot;localhost:5601&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L111\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;111\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC111\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L112\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;112\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC112\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Kibana Space ID</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L113\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;113\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC113\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> ID of the Kibana Space into which the dashboards should be loaded. By default,</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L114\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;114\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC114\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> the Default Space will be used.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L115\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;115\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC115\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>space.id:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L116\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;116\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC116\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L117\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;117\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC117\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>============================= Elastic Cloud ==================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L118\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;118\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC118\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L119\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;119\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC119\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> These settings simplify using Winlogbeat with the Elastic Cloud (https://cloud.elastic.co/).</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L120\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;120\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC120\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L121\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;121\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC121\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> The cloud.id setting overwrites the `output.elasticsearch.hosts` and</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L122\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;122\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC122\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> `setup.kibana.host` options.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L123\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;123\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC123\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> You can find the `cloud.id` in the Elastic Cloud web UI.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L124\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;124\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC124\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>cloud.id:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L125\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;125\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC125\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L126\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;126\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC126\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> The cloud.auth setting overwrites the `output.elasticsearch.username` and</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L127\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;127\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC127\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> `output.elasticsearch.password` settings. The format is `&amp;lt;user&amp;gt;:&amp;lt;pass&amp;gt;`.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L128\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;128\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC128\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>cloud.auth:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L129\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;129\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC129\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L130\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;130\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC130\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>================================ Outputs =====================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L131\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;131\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC131\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L132\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;132\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC132\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Configure what output to use when sending the data collected by the beat.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L133\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;133\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC133\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L134\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;134\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC134\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>-------------------------- Elasticsearch output ------------------------------</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L135\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;135\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC135\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>output.elasticsearch:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L136\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;136\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC136\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Array of hosts to connect to.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L137\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;137\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC137\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>  hosts: [&amp;quot;&amp;quot;]</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L138\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;138\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC138\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>  password: &amp;quot;&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L139\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;139\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC139\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L140\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;140\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC140\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Protocol - either `http` (default) or `https`.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L141\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;141\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC141\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>protocol: &amp;quot;https&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L142\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;142\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC142\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L143\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;143\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC143\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Authentication credentials - either API key or username/password.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L144\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;144\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC144\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>api_key: &amp;quot;id:api_key&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L145\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;145\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC145\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>username: &amp;quot;elastic&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L146\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;146\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC146\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>password: &amp;quot;changeme&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L147\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;147\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC147\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L148\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;148\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC148\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>----------------------------- Logstash output --------------------------------</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L149\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;149\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC149\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>output.logstash:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L150\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;150\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC150\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> The Logstash hosts</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L151\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;151\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC151\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>hosts: [&amp;quot;localhost:5044&amp;quot;]</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L152\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;152\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC152\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L153\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;153\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC153\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-ent\&quot;>output.logstash</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L154\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;154\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC154\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-ent\&quot;>hosts</span>: <span class=\&quot;pl-s\&quot;>[&amp;quot;listener.logz.io:5015&amp;quot;]</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L155\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;155\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC155\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-ent\&quot;>ssl</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L156\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;156\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC156\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>    <span class=\&quot;pl-ent\&quot;>certificate_authorities</span>: <span class=\&quot;pl-s\&quot;>[&amp;#39;C:\\ProgramData\\Winlogbeat\\COMODORSADomainValidationSecureServerCA.crt&amp;#39;]</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L157\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;157\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC157\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L158\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;158\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC158\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Optional SSL. By default is off.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L159\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;159\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC159\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> List of root certificates for HTTPS server verifications</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L160\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;160\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC160\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>ssl.certificate_authorities: [&amp;quot;/etc/pki/root/ca.pem&amp;quot;]</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L161\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;161\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC161\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L162\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;162\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC162\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Certificate for SSL client authentication</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L163\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;163\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC163\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>ssl.certificate: &amp;quot;/etc/pki/client/cert.pem&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L164\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;164\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC164\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L165\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;165\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC165\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Client Certificate Key</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L166\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;166\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC166\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  <span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>ssl.key: &amp;quot;/etc/pki/client/cert.key&amp;quot;</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L167\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;167\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC167\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L168\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;168\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC168\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>================================ Processors =====================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L169\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;169\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC169\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L170\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;170\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC170\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Configure processors to enhance or manipulate events generated by the beat.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L171\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;171\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC171\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L172\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;172\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC172\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> ... For Winlogbeat 7 only ...</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L173\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;173\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC173\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-ent\&quot;>processors</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L174\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;174\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC174\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>rename</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L175\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;175\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC175\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      <span class=\&quot;pl-ent\&quot;>fields</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L176\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;176\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC176\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      - <span class=\&quot;pl-ent\&quot;>from</span>: <span class=\&quot;pl-s\&quot;><span class=\&quot;pl-pds\&quot;>&amp;quot;</span>agent<span class=\&quot;pl-pds\&quot;>&amp;quot;</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L177\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;177\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC177\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>        <span class=\&quot;pl-ent\&quot;>to</span>: <span class=\&quot;pl-s\&quot;><span class=\&quot;pl-pds\&quot;>&amp;quot;</span>beat_agent<span class=\&quot;pl-pds\&quot;>&amp;quot;</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L178\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;178\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC178\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      <span class=\&quot;pl-ent\&quot;>ignore_missing</span>: <span class=\&quot;pl-c1\&quot;>true</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L179\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;179\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC179\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>rename</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L180\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;180\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC180\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      <span class=\&quot;pl-ent\&quot;>fields</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L181\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;181\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC181\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      - <span class=\&quot;pl-ent\&quot;>from</span>: <span class=\&quot;pl-s\&quot;><span class=\&quot;pl-pds\&quot;>&amp;quot;</span>log.file.path<span class=\&quot;pl-pds\&quot;>&amp;quot;</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L182\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;182\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC182\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>        <span class=\&quot;pl-ent\&quot;>to</span>: <span class=\&quot;pl-s\&quot;><span class=\&quot;pl-pds\&quot;>&amp;quot;</span>source<span class=\&quot;pl-pds\&quot;>&amp;quot;</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L183\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;183\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC183\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      <span class=\&quot;pl-ent\&quot;>ignore_missing</span>: <span class=\&quot;pl-c1\&quot;>true</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L184\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;184\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC184\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>  - <span class=\&quot;pl-ent\&quot;>rename</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L185\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;185\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC185\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      <span class=\&quot;pl-ent\&quot;>fields</span>:</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L186\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;186\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC186\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      - <span class=\&quot;pl-ent\&quot;>from</span>: <span class=\&quot;pl-s\&quot;><span class=\&quot;pl-pds\&quot;>&amp;quot;</span>log<span class=\&quot;pl-pds\&quot;>&amp;quot;</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L187\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;187\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC187\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>        <span class=\&quot;pl-ent\&quot;>to</span>: <span class=\&quot;pl-s\&quot;><span class=\&quot;pl-pds\&quot;>&amp;quot;</span>log_information<span class=\&quot;pl-pds\&quot;>&amp;quot;</span></span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L188\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;188\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC188\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>      <span class=\&quot;pl-ent\&quot;>ignore_missing</span>: <span class=\&quot;pl-c1\&quot;>true</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L189\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;189\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC189\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>================================ Logging =====================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L190\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;190\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC190\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L191\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;191\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC191\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Sets log level. The default log level is info.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L192\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;192\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC192\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Available log levels are: error, warning, info, debug</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L193\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;193\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC193\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>logging.level: debug</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L194\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;194\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC194\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L195\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;195\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC195\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> At debug level, you can selectively enable logging only for some components.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L196\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;196\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC196\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> To enable all selectors use [&amp;quot;*&amp;quot;]. Examples of other selectors are &amp;quot;beat&amp;quot;,</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L197\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;197\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC197\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> &amp;quot;publish&amp;quot;, &amp;quot;service&amp;quot;.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L198\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;198\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC198\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>logging.selectors: [&amp;quot;*&amp;quot;]</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L199\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;199\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC199\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L200\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;200\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC200\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>============================== X-Pack Monitoring ===============================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L201\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;201\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC201\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> winlogbeat can export internal metrics to a central Elasticsearch monitoring</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L202\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;202\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC202\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> cluster.  This requires xpack monitoring to be enabled in Elasticsearch.  The</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L203\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;203\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC203\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> reporting is disabled by default.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L204\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;204\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC204\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L205\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;205\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC205\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Set to true to enable the monitoring reporter.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L206\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;206\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC206\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>monitoring.enabled: false</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L207\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;207\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC207\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L208\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;208\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC208\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Sets the UUID of the Elasticsearch cluster under which monitoring data for this</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L209\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;209\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC209\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Winlogbeat instance will appear in the Stack Monitoring UI. If output.elasticsearch</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L210\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;210\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC210\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> is enabled, the UUID is derived from the Elasticsearch cluster referenced by output.elasticsearch.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L211\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;211\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC211\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>monitoring.cluster_uuid:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L212\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;212\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC212\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L213\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;213\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC213\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Uncomment to send the metrics to Elasticsearch. Most settings from the</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L214\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;214\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC214\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Elasticsearch output are accepted here as well.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L215\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;215\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC215\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Note that the settings should point to your Elasticsearch *monitoring* cluster.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L216\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;216\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC216\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> Any setting that is not set is automatically inherited from the Elasticsearch</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L217\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;217\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC217\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> output configuration, so if you have the Elasticsearch output configured such</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L218\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;218\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC218\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> that it is pointing to your Elasticsearch monitoring cluster, you can simply</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L219\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;219\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC219\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> uncomment the following line.</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L220\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;220\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC220\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>monitoring.elasticsearch:</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L221\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;221\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC221\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L222\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;222\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC222\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>================================= Migration ==================================</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L223\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;223\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC223\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L224\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;224\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC224\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span> This allows to enable 6.7 migration aliases</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L225\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;225\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC225\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;><span class=\&quot;pl-c\&quot;><span class=\&quot;pl-c\&quot;>#</span>migration.6_to_7.enabled: true</span></td>\n        </tr>\n        <tr>\n          <td id=\&quot;file-winlogbeat-yml-L226\&quot; class=\&quot;blob-num js-line-number js-code-nav-line-number js-blob-rnum\&quot; data-line-number=\&quot;226\&quot;></td>\n          <td id=\&quot;file-winlogbeat-yml-LC226\&quot; class=\&quot;blob-code blob-code-inner js-file-line\&quot;>\n</td>\n        </tr>\n  </table>\n</div>\n\n\n    </div>\n\n  </div>\n</div>\n\n      </div>\n      <div class=\&quot;gist-meta\&quot;>\n        <a href=\&quot;https://gist.github.com/tristandostaler/dcd092192409c7a29cb6489eddbca4b7/raw/5db7beebb8e808e4c1b9cdd2131c4717cbd95856/winlogbeat.yml\&quot; style=\&quot;float:right\&quot; class=\&quot;Link--inTextBlock\&quot;>view raw</a>\n        <a href=\&quot;https://gist.github.com/tristandostaler/dcd092192409c7a29cb6489eddbca4b7#file-winlogbeat-yml\&quot; class=\&quot;Link--inTextBlock\&quot;>\n          winlogbeat.yml\n        </a>\n        hosted with &amp;#10084; by <a class=\&quot;Link--inTextBlock\&quot; href=\&quot;https://github.com\&quot;>GitHub</a>\n      </div>\n    </div>\n</div>\n&quot;,&quot;stylesheet&quot;:&quot;https://github.githubassets.com/assets/gist-embed-2f1fe3feee2d.css&quot;}" data-component-name="GitgistToDOM"><link rel="stylesheet" href="https://github.githubassets.com/assets/gist-embed-2f1fe3feee2d.css"><div id="gist106591899" class="gist">
    <div class="gist-file" data-color-mode="light" data-light-theme="light">
      <div class="gist-data">
        <div class="js-gist-file-update-container js-task-list-container">
  <div id="file-winlogbeat-yml" class="file my-2">
    
    <div itemprop="text" class="Box-body p-0 blob-wrapper data type-yaml  ">

        
<div class="js-check-bidi js-blob-code-container blob-code-content">

  
  <div data-view-component="true" class="flash flash-warn flash-full d-flex flex-items-center">
  
    

    <span>
      This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      <a class="Link--inTextBlock" href="https://github.co/hiddenchars" target="_blank">Learn more about bidirectional Unicode characters</a>
    </span>


  <div data-view-component="true" class="flash-action">        <a href="{{ revealButtonHref }}" data-view-component="true" class="btn-sm btn">    Show hidden characters
</a>
</div>
</div>

  <span data-view-component="true" class="line-alert tooltipped tooltipped-e">
    
    

</span>

  <table data-hpc="" class="highlight tab-size js-file-line-container js-code-nav-container js-tagsearch-file" data-tab-size="8" data-paste-markdown-skip="" data-tagsearch-lang="YAML" data-tagsearch-path="winlogbeat.yml">
        <tbody><tr>
          <td id="file-winlogbeat-yml-L1" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="1"></td>
          <td id="file-winlogbeat-yml-LC1" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>##################### Winlogbeat Configuration Example ########################</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L2" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="2"></td>
          <td id="file-winlogbeat-yml-LC2" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L3" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="3"></td>
          <td id="file-winlogbeat-yml-LC3" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> This file is an example configuration file highlighting only the most common</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L4" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="4"></td>
          <td id="file-winlogbeat-yml-LC4" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> options. The winlogbeat.reference.yml file from the same directory contains</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L5" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="5"></td>
          <td id="file-winlogbeat-yml-LC5" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> all the supported options with more comments. You can use it as a reference.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L6" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="6"></td>
          <td id="file-winlogbeat-yml-LC6" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L7" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="7"></td>
          <td id="file-winlogbeat-yml-LC7" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> You can find the full configuration reference here:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L8" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="8"></td>
          <td id="file-winlogbeat-yml-LC8" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> https://www.elastic.co/guide/en/beats/winlogbeat/index.html</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L9" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="9"></td>
          <td id="file-winlogbeat-yml-LC9" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L10" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="10"></td>
          <td id="file-winlogbeat-yml-LC10" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>======================= Winlogbeat specific options ===========================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L11" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="11"></td>
          <td id="file-winlogbeat-yml-LC11" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L12" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="12"></td>
          <td id="file-winlogbeat-yml-LC12" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> event_logs specifies a list of event logs to monitor as well as any</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L13" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="13"></td>
          <td id="file-winlogbeat-yml-LC13" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> accompanying options. The YAML data type of event_logs is a list of</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L14" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="14"></td>
          <td id="file-winlogbeat-yml-LC14" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> dictionaries.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L15" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="15"></td>
          <td id="file-winlogbeat-yml-LC15" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L16" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="16"></td>
          <td id="file-winlogbeat-yml-LC16" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> The supported keys are name (required), tags, fields, fields_under_root,</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L17" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="17"></td>
          <td id="file-winlogbeat-yml-LC17" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> forwarded, ignore_older, level, event_id, provider, and include_xml. Please</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L18" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="18"></td>
          <td id="file-winlogbeat-yml-LC18" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> visit the documentation for the complete details of each option.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L19" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="19"></td>
          <td id="file-winlogbeat-yml-LC19" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> https://go.es.io/WinlogbeatConfig</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L20" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="20"></td>
          <td id="file-winlogbeat-yml-LC20" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">winlogbeat.event_logs</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L21" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="21"></td>
          <td id="file-winlogbeat-yml-LC21" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Application</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L22" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="22"></td>
          <td id="file-winlogbeat-yml-LC22" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L23" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="23"></td>
          <td id="file-winlogbeat-yml-LC23" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Security</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L24" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="24"></td>
          <td id="file-winlogbeat-yml-LC24" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L25" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="25"></td>
          <td id="file-winlogbeat-yml-LC25" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">System</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L26" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="26"></td>
          <td id="file-winlogbeat-yml-LC26" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L27" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="27"></td>
          <td id="file-winlogbeat-yml-LC27" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-Sysmon/Operational</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L28" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="28"></td>
          <td id="file-winlogbeat-yml-LC28" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L29" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="29"></td>
          <td id="file-winlogbeat-yml-LC29" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-Windows Defender/Operational</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L30" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="30"></td>
          <td id="file-winlogbeat-yml-LC30" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L31" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="31"></td>
          <td id="file-winlogbeat-yml-LC31" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L32" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="32"></td>
          <td id="file-winlogbeat-yml-LC32" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L33" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="33"></td>
          <td id="file-winlogbeat-yml-LC33" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-RemoteDesktopServices-RdpCoreTS/Operational</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L34" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="34"></td>
          <td id="file-winlogbeat-yml-LC34" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L35" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="35"></td>
          <td id="file-winlogbeat-yml-LC35" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-RemoteConnectionManager/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L36" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="36"></td>
          <td id="file-winlogbeat-yml-LC36" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L37" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="37"></td>
          <td id="file-winlogbeat-yml-LC37" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-RemoteConnectionManager/Operational</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L38" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="38"></td>
          <td id="file-winlogbeat-yml-LC38" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L39" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="39"></td>
          <td id="file-winlogbeat-yml-LC39" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-RemoteApp and Desktop Connections/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L40" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="40"></td>
          <td id="file-winlogbeat-yml-LC40" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L41" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="41"></td>
          <td id="file-winlogbeat-yml-LC41" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-ClientUSBDevices/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L42" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="42"></td>
          <td id="file-winlogbeat-yml-LC42" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L43" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="43"></td>
          <td id="file-winlogbeat-yml-LC43" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-LocalSessionManager/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L44" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="44"></td>
          <td id="file-winlogbeat-yml-LC44" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L45" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="45"></td>
          <td id="file-winlogbeat-yml-LC45" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-LocalSessionManager/Operational</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L46" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="46"></td>
          <td id="file-winlogbeat-yml-LC46" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L47" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="47"></td>
          <td id="file-winlogbeat-yml-LC47" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-PnPDevices/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L48" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="48"></td>
          <td id="file-winlogbeat-yml-LC48" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L49" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="49"></td>
          <td id="file-winlogbeat-yml-LC49" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-Printers/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L50" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="50"></td>
          <td id="file-winlogbeat-yml-LC50" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L51" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="51"></td>
          <td id="file-winlogbeat-yml-LC51" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-ServerUSBDevices/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L52" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="52"></td>
          <td id="file-winlogbeat-yml-LC52" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L53" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="53"></td>
          <td id="file-winlogbeat-yml-LC53" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-TerminalServices-SessionBroker-Client/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L54" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="54"></td>
          <td id="file-winlogbeat-yml-LC54" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L55" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="55"></td>
          <td id="file-winlogbeat-yml-LC55" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">name</span>: <span class="pl-s">Microsoft-Windows-VerifyHardwareSecurity/Admin</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L56" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="56"></td>
          <td id="file-winlogbeat-yml-LC56" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">ignore_older</span>: <span class="pl-c1">72h</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L57" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="57"></td>
          <td id="file-winlogbeat-yml-LC57" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L58" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="58"></td>
          <td id="file-winlogbeat-yml-LC58" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">fields</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L59" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="59"></td>
          <td id="file-winlogbeat-yml-LC59" class="blob-code blob-code-inner js-file-line">  <span class="pl-ent">logzio_codec</span>: <span class="pl-s">json</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L60" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="60"></td>
          <td id="file-winlogbeat-yml-LC60" class="blob-code blob-code-inner js-file-line">  <span class="pl-ent">token</span>: <span class="pl-s">YOURTOKEN_PLACEHOLDER</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L61" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="61"></td>
          <td id="file-winlogbeat-yml-LC61" class="blob-code blob-code-inner js-file-line">  <span class="pl-ent">type</span>: <span class="pl-s">wineventlog</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L62" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="62"></td>
          <td id="file-winlogbeat-yml-LC62" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">fields_under_root</span>: <span class="pl-c1">true</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L63" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="63"></td>
          <td id="file-winlogbeat-yml-LC63" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L64" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="64"></td>
          <td id="file-winlogbeat-yml-LC64" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>==================== Elasticsearch template settings ==========================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L65" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="65"></td>
          <td id="file-winlogbeat-yml-LC65" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L66" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="66"></td>
          <td id="file-winlogbeat-yml-LC66" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">setup.template.settings</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L67" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="67"></td>
          <td id="file-winlogbeat-yml-LC67" class="blob-code blob-code-inner js-file-line">  <span class="pl-ent">index.number_of_shards</span>: <span class="pl-c1">1</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L68" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="68"></td>
          <td id="file-winlogbeat-yml-LC68" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>index.codec: best_compression</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L69" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="69"></td>
          <td id="file-winlogbeat-yml-LC69" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>_source.enabled: false</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L70" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="70"></td>
          <td id="file-winlogbeat-yml-LC70" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L71" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="71"></td>
          <td id="file-winlogbeat-yml-LC71" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L72" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="72"></td>
          <td id="file-winlogbeat-yml-LC72" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>================================ General =====================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L73" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="73"></td>
          <td id="file-winlogbeat-yml-LC73" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L74" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="74"></td>
          <td id="file-winlogbeat-yml-LC74" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> The name of the shipper that publishes the network data. It can be used to group</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L75" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="75"></td>
          <td id="file-winlogbeat-yml-LC75" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> all the transactions sent by a single shipper in the web interface.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L76" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="76"></td>
          <td id="file-winlogbeat-yml-LC76" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>name:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L77" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="77"></td>
          <td id="file-winlogbeat-yml-LC77" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L78" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="78"></td>
          <td id="file-winlogbeat-yml-LC78" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> The tags of the shipper are included in their own field with each</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L79" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="79"></td>
          <td id="file-winlogbeat-yml-LC79" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> transaction published.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L80" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="80"></td>
          <td id="file-winlogbeat-yml-LC80" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>tags: ["service-X", "web-tier"]</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L81" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="81"></td>
          <td id="file-winlogbeat-yml-LC81" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L82" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="82"></td>
          <td id="file-winlogbeat-yml-LC82" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Optional fields that you can specify to add additional information to the</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L83" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="83"></td>
          <td id="file-winlogbeat-yml-LC83" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> output.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L84" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="84"></td>
          <td id="file-winlogbeat-yml-LC84" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>fields:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L85" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="85"></td>
          <td id="file-winlogbeat-yml-LC85" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>  env: staging</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L86" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="86"></td>
          <td id="file-winlogbeat-yml-LC86" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L87" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="87"></td>
          <td id="file-winlogbeat-yml-LC87" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L88" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="88"></td>
          <td id="file-winlogbeat-yml-LC88" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>============================== Dashboards =====================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L89" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="89"></td>
          <td id="file-winlogbeat-yml-LC89" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> These settings control loading the sample dashboards to the Kibana index. Loading</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L90" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="90"></td>
          <td id="file-winlogbeat-yml-LC90" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> the dashboards is disabled by default and can be enabled either by setting the</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L91" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="91"></td>
          <td id="file-winlogbeat-yml-LC91" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> options here or by using the `setup` command.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L92" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="92"></td>
          <td id="file-winlogbeat-yml-LC92" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>setup.dashboards.enabled: false</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L93" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="93"></td>
          <td id="file-winlogbeat-yml-LC93" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L94" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="94"></td>
          <td id="file-winlogbeat-yml-LC94" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> The URL from where to download the dashboards archive. By default this URL</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L95" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="95"></td>
          <td id="file-winlogbeat-yml-LC95" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> has a value which is computed based on the Beat name and version. For released</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L96" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="96"></td>
          <td id="file-winlogbeat-yml-LC96" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> versions, this URL points to the dashboard archive on the artifacts.elastic.co</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L97" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="97"></td>
          <td id="file-winlogbeat-yml-LC97" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> website.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L98" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="98"></td>
          <td id="file-winlogbeat-yml-LC98" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>setup.dashboards.url:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L99" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="99"></td>
          <td id="file-winlogbeat-yml-LC99" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L100" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="100"></td>
          <td id="file-winlogbeat-yml-LC100" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>============================== Kibana =====================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L101" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="101"></td>
          <td id="file-winlogbeat-yml-LC101" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L102" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="102"></td>
          <td id="file-winlogbeat-yml-LC102" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Starting with Beats version 6.0.0, the dashboards are loaded via the Kibana API.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L103" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="103"></td>
          <td id="file-winlogbeat-yml-LC103" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> This requires a Kibana endpoint configuration.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L104" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="104"></td>
          <td id="file-winlogbeat-yml-LC104" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">setup.kibana</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L105" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="105"></td>
          <td id="file-winlogbeat-yml-LC105" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L106" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="106"></td>
          <td id="file-winlogbeat-yml-LC106" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Kibana Host</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L107" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="107"></td>
          <td id="file-winlogbeat-yml-LC107" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Scheme and port can be left out and will be set to the default (http and 5601)</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L108" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="108"></td>
          <td id="file-winlogbeat-yml-LC108" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> In case you specify and additional path, the scheme is required: http://localhost:5601/path</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L109" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="109"></td>
          <td id="file-winlogbeat-yml-LC109" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> IPv6 addresses should always be defined as: https://[2001:db8::1]:5601</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L110" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="110"></td>
          <td id="file-winlogbeat-yml-LC110" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>host: "localhost:5601"</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L111" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="111"></td>
          <td id="file-winlogbeat-yml-LC111" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L112" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="112"></td>
          <td id="file-winlogbeat-yml-LC112" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Kibana Space ID</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L113" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="113"></td>
          <td id="file-winlogbeat-yml-LC113" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> ID of the Kibana Space into which the dashboards should be loaded. By default,</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L114" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="114"></td>
          <td id="file-winlogbeat-yml-LC114" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> the Default Space will be used.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L115" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="115"></td>
          <td id="file-winlogbeat-yml-LC115" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>space.id:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L116" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="116"></td>
          <td id="file-winlogbeat-yml-LC116" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L117" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="117"></td>
          <td id="file-winlogbeat-yml-LC117" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>============================= Elastic Cloud ==================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L118" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="118"></td>
          <td id="file-winlogbeat-yml-LC118" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L119" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="119"></td>
          <td id="file-winlogbeat-yml-LC119" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> These settings simplify using Winlogbeat with the Elastic Cloud (https://cloud.elastic.co/).</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L120" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="120"></td>
          <td id="file-winlogbeat-yml-LC120" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L121" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="121"></td>
          <td id="file-winlogbeat-yml-LC121" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> The cloud.id setting overwrites the `output.elasticsearch.hosts` and</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L122" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="122"></td>
          <td id="file-winlogbeat-yml-LC122" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> `setup.kibana.host` options.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L123" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="123"></td>
          <td id="file-winlogbeat-yml-LC123" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> You can find the `cloud.id` in the Elastic Cloud web UI.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L124" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="124"></td>
          <td id="file-winlogbeat-yml-LC124" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>cloud.id:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L125" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="125"></td>
          <td id="file-winlogbeat-yml-LC125" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L126" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="126"></td>
          <td id="file-winlogbeat-yml-LC126" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> The cloud.auth setting overwrites the `output.elasticsearch.username` and</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L127" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="127"></td>
          <td id="file-winlogbeat-yml-LC127" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> `output.elasticsearch.password` settings. The format is `&lt;user&gt;:&lt;pass&gt;`.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L128" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="128"></td>
          <td id="file-winlogbeat-yml-LC128" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>cloud.auth:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L129" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="129"></td>
          <td id="file-winlogbeat-yml-LC129" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L130" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="130"></td>
          <td id="file-winlogbeat-yml-LC130" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>================================ Outputs =====================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L131" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="131"></td>
          <td id="file-winlogbeat-yml-LC131" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L132" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="132"></td>
          <td id="file-winlogbeat-yml-LC132" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Configure what output to use when sending the data collected by the beat.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L133" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="133"></td>
          <td id="file-winlogbeat-yml-LC133" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L134" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="134"></td>
          <td id="file-winlogbeat-yml-LC134" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>-------------------------- Elasticsearch output ------------------------------</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L135" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="135"></td>
          <td id="file-winlogbeat-yml-LC135" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>output.elasticsearch:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L136" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="136"></td>
          <td id="file-winlogbeat-yml-LC136" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Array of hosts to connect to.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L137" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="137"></td>
          <td id="file-winlogbeat-yml-LC137" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>  hosts: [""]</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L138" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="138"></td>
          <td id="file-winlogbeat-yml-LC138" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>  password: ""</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L139" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="139"></td>
          <td id="file-winlogbeat-yml-LC139" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L140" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="140"></td>
          <td id="file-winlogbeat-yml-LC140" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Protocol - either `http` (default) or `https`.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L141" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="141"></td>
          <td id="file-winlogbeat-yml-LC141" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>protocol: "https"</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L142" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="142"></td>
          <td id="file-winlogbeat-yml-LC142" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L143" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="143"></td>
          <td id="file-winlogbeat-yml-LC143" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Authentication credentials - either API key or username/password.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L144" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="144"></td>
          <td id="file-winlogbeat-yml-LC144" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>api_key: "id:api_key"</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L145" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="145"></td>
          <td id="file-winlogbeat-yml-LC145" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>username: "elastic"</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L146" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="146"></td>
          <td id="file-winlogbeat-yml-LC146" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>password: "changeme"</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L147" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="147"></td>
          <td id="file-winlogbeat-yml-LC147" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L148" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="148"></td>
          <td id="file-winlogbeat-yml-LC148" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>----------------------------- Logstash output --------------------------------</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L149" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="149"></td>
          <td id="file-winlogbeat-yml-LC149" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>output.logstash:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L150" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="150"></td>
          <td id="file-winlogbeat-yml-LC150" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> The Logstash hosts</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L151" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="151"></td>
          <td id="file-winlogbeat-yml-LC151" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>hosts: ["localhost:5044"]</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L152" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="152"></td>
          <td id="file-winlogbeat-yml-LC152" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L153" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="153"></td>
          <td id="file-winlogbeat-yml-LC153" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">output.logstash</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L154" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="154"></td>
          <td id="file-winlogbeat-yml-LC154" class="blob-code blob-code-inner js-file-line">  <span class="pl-ent">hosts</span>: <span class="pl-s">["listener.logz.io:5015"]</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L155" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="155"></td>
          <td id="file-winlogbeat-yml-LC155" class="blob-code blob-code-inner js-file-line">  <span class="pl-ent">ssl</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L156" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="156"></td>
          <td id="file-winlogbeat-yml-LC156" class="blob-code blob-code-inner js-file-line">    <span class="pl-ent">certificate_authorities</span>: <span class="pl-s">['C:\ProgramData\Winlogbeat\COMODORSADomainValidationSecureServerCA.crt']</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L157" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="157"></td>
          <td id="file-winlogbeat-yml-LC157" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L158" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="158"></td>
          <td id="file-winlogbeat-yml-LC158" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Optional SSL. By default is off.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L159" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="159"></td>
          <td id="file-winlogbeat-yml-LC159" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> List of root certificates for HTTPS server verifications</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L160" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="160"></td>
          <td id="file-winlogbeat-yml-LC160" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>ssl.certificate_authorities: ["/etc/pki/root/ca.pem"]</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L161" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="161"></td>
          <td id="file-winlogbeat-yml-LC161" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L162" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="162"></td>
          <td id="file-winlogbeat-yml-LC162" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Certificate for SSL client authentication</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L163" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="163"></td>
          <td id="file-winlogbeat-yml-LC163" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>ssl.certificate: "/etc/pki/client/cert.pem"</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L164" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="164"></td>
          <td id="file-winlogbeat-yml-LC164" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L165" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="165"></td>
          <td id="file-winlogbeat-yml-LC165" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span> Client Certificate Key</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L166" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="166"></td>
          <td id="file-winlogbeat-yml-LC166" class="blob-code blob-code-inner js-file-line">  <span class="pl-c"><span class="pl-c">#</span>ssl.key: "/etc/pki/client/cert.key"</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L167" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="167"></td>
          <td id="file-winlogbeat-yml-LC167" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L168" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="168"></td>
          <td id="file-winlogbeat-yml-LC168" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>================================ Processors =====================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L169" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="169"></td>
          <td id="file-winlogbeat-yml-LC169" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L170" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="170"></td>
          <td id="file-winlogbeat-yml-LC170" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Configure processors to enhance or manipulate events generated by the beat.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L171" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="171"></td>
          <td id="file-winlogbeat-yml-LC171" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L172" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="172"></td>
          <td id="file-winlogbeat-yml-LC172" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> ... For Winlogbeat 7 only ...</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L173" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="173"></td>
          <td id="file-winlogbeat-yml-LC173" class="blob-code blob-code-inner js-file-line"><span class="pl-ent">processors</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L174" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="174"></td>
          <td id="file-winlogbeat-yml-LC174" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">rename</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L175" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="175"></td>
          <td id="file-winlogbeat-yml-LC175" class="blob-code blob-code-inner js-file-line">      <span class="pl-ent">fields</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L176" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="176"></td>
          <td id="file-winlogbeat-yml-LC176" class="blob-code blob-code-inner js-file-line">      - <span class="pl-ent">from</span>: <span class="pl-s"><span class="pl-pds">"</span>agent<span class="pl-pds">"</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L177" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="177"></td>
          <td id="file-winlogbeat-yml-LC177" class="blob-code blob-code-inner js-file-line">        <span class="pl-ent">to</span>: <span class="pl-s"><span class="pl-pds">"</span>beat_agent<span class="pl-pds">"</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L178" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="178"></td>
          <td id="file-winlogbeat-yml-LC178" class="blob-code blob-code-inner js-file-line">      <span class="pl-ent">ignore_missing</span>: <span class="pl-c1">true</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L179" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="179"></td>
          <td id="file-winlogbeat-yml-LC179" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">rename</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L180" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="180"></td>
          <td id="file-winlogbeat-yml-LC180" class="blob-code blob-code-inner js-file-line">      <span class="pl-ent">fields</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L181" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="181"></td>
          <td id="file-winlogbeat-yml-LC181" class="blob-code blob-code-inner js-file-line">      - <span class="pl-ent">from</span>: <span class="pl-s"><span class="pl-pds">"</span>log.file.path<span class="pl-pds">"</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L182" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="182"></td>
          <td id="file-winlogbeat-yml-LC182" class="blob-code blob-code-inner js-file-line">        <span class="pl-ent">to</span>: <span class="pl-s"><span class="pl-pds">"</span>source<span class="pl-pds">"</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L183" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="183"></td>
          <td id="file-winlogbeat-yml-LC183" class="blob-code blob-code-inner js-file-line">      <span class="pl-ent">ignore_missing</span>: <span class="pl-c1">true</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L184" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="184"></td>
          <td id="file-winlogbeat-yml-LC184" class="blob-code blob-code-inner js-file-line">  - <span class="pl-ent">rename</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L185" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="185"></td>
          <td id="file-winlogbeat-yml-LC185" class="blob-code blob-code-inner js-file-line">      <span class="pl-ent">fields</span>:</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L186" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="186"></td>
          <td id="file-winlogbeat-yml-LC186" class="blob-code blob-code-inner js-file-line">      - <span class="pl-ent">from</span>: <span class="pl-s"><span class="pl-pds">"</span>log<span class="pl-pds">"</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L187" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="187"></td>
          <td id="file-winlogbeat-yml-LC187" class="blob-code blob-code-inner js-file-line">        <span class="pl-ent">to</span>: <span class="pl-s"><span class="pl-pds">"</span>log_information<span class="pl-pds">"</span></span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L188" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="188"></td>
          <td id="file-winlogbeat-yml-LC188" class="blob-code blob-code-inner js-file-line">      <span class="pl-ent">ignore_missing</span>: <span class="pl-c1">true</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L189" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="189"></td>
          <td id="file-winlogbeat-yml-LC189" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>================================ Logging =====================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L190" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="190"></td>
          <td id="file-winlogbeat-yml-LC190" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L191" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="191"></td>
          <td id="file-winlogbeat-yml-LC191" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Sets log level. The default log level is info.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L192" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="192"></td>
          <td id="file-winlogbeat-yml-LC192" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Available log levels are: error, warning, info, debug</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L193" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="193"></td>
          <td id="file-winlogbeat-yml-LC193" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>logging.level: debug</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L194" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="194"></td>
          <td id="file-winlogbeat-yml-LC194" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L195" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="195"></td>
          <td id="file-winlogbeat-yml-LC195" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> At debug level, you can selectively enable logging only for some components.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L196" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="196"></td>
          <td id="file-winlogbeat-yml-LC196" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> To enable all selectors use ["*"]. Examples of other selectors are "beat",</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L197" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="197"></td>
          <td id="file-winlogbeat-yml-LC197" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> "publish", "service".</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L198" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="198"></td>
          <td id="file-winlogbeat-yml-LC198" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>logging.selectors: ["*"]</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L199" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="199"></td>
          <td id="file-winlogbeat-yml-LC199" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L200" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="200"></td>
          <td id="file-winlogbeat-yml-LC200" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>============================== X-Pack Monitoring ===============================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L201" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="201"></td>
          <td id="file-winlogbeat-yml-LC201" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> winlogbeat can export internal metrics to a central Elasticsearch monitoring</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L202" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="202"></td>
          <td id="file-winlogbeat-yml-LC202" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> cluster.  This requires xpack monitoring to be enabled in Elasticsearch.  The</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L203" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="203"></td>
          <td id="file-winlogbeat-yml-LC203" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> reporting is disabled by default.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L204" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="204"></td>
          <td id="file-winlogbeat-yml-LC204" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L205" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="205"></td>
          <td id="file-winlogbeat-yml-LC205" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Set to true to enable the monitoring reporter.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L206" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="206"></td>
          <td id="file-winlogbeat-yml-LC206" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>monitoring.enabled: false</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L207" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="207"></td>
          <td id="file-winlogbeat-yml-LC207" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L208" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="208"></td>
          <td id="file-winlogbeat-yml-LC208" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Sets the UUID of the Elasticsearch cluster under which monitoring data for this</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L209" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="209"></td>
          <td id="file-winlogbeat-yml-LC209" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Winlogbeat instance will appear in the Stack Monitoring UI. If output.elasticsearch</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L210" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="210"></td>
          <td id="file-winlogbeat-yml-LC210" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> is enabled, the UUID is derived from the Elasticsearch cluster referenced by output.elasticsearch.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L211" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="211"></td>
          <td id="file-winlogbeat-yml-LC211" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>monitoring.cluster_uuid:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L212" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="212"></td>
          <td id="file-winlogbeat-yml-LC212" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L213" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="213"></td>
          <td id="file-winlogbeat-yml-LC213" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Uncomment to send the metrics to Elasticsearch. Most settings from the</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L214" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="214"></td>
          <td id="file-winlogbeat-yml-LC214" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Elasticsearch output are accepted here as well.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L215" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="215"></td>
          <td id="file-winlogbeat-yml-LC215" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Note that the settings should point to your Elasticsearch *monitoring* cluster.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L216" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="216"></td>
          <td id="file-winlogbeat-yml-LC216" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> Any setting that is not set is automatically inherited from the Elasticsearch</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L217" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="217"></td>
          <td id="file-winlogbeat-yml-LC217" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> output configuration, so if you have the Elasticsearch output configured such</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L218" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="218"></td>
          <td id="file-winlogbeat-yml-LC218" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> that it is pointing to your Elasticsearch monitoring cluster, you can simply</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L219" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="219"></td>
          <td id="file-winlogbeat-yml-LC219" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> uncomment the following line.</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L220" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="220"></td>
          <td id="file-winlogbeat-yml-LC220" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>monitoring.elasticsearch:</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L221" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="221"></td>
          <td id="file-winlogbeat-yml-LC221" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L222" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="222"></td>
          <td id="file-winlogbeat-yml-LC222" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>================================= Migration ==================================</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L223" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="223"></td>
          <td id="file-winlogbeat-yml-LC223" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L224" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="224"></td>
          <td id="file-winlogbeat-yml-LC224" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span> This allows to enable 6.7 migration aliases</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L225" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="225"></td>
          <td id="file-winlogbeat-yml-LC225" class="blob-code blob-code-inner js-file-line"><span class="pl-c"><span class="pl-c">#</span>migration.6_to_7.enabled: true</span></td>
        </tr>
        <tr>
          <td id="file-winlogbeat-yml-L226" class="blob-num js-line-number js-code-nav-line-number js-blob-rnum" data-line-number="226"></td>
          <td id="file-winlogbeat-yml-LC226" class="blob-code blob-code-inner js-file-line">
</td>
        </tr>
  </tbody></table>
</div>


    </div>

  </div>
</div>

      </div>
      <div class="gist-meta">
        <a href="https://gist.github.com/tristandostaler/dcd092192409c7a29cb6489eddbca4b7/raw/5db7beebb8e808e4c1b9cdd2131c4717cbd95856/winlogbeat.yml" style="float:right" class="Link--inTextBlock">view raw</a>
        <a href="https://gist.github.com/tristandostaler/dcd092192409c7a29cb6489eddbca4b7#file-winlogbeat-yml" class="Link--inTextBlock">
          winlogbeat.yml
        </a>
        hosted with &#10084; by <a class="Link--inTextBlock" href="https://github.com">GitHub</a>
      </div>
    </div>
</div>
</div><p>In this content, you&#8217;ll find the text &#8220;YOURTOKEN_PLACEHOLDER&#8221;; replace this with the token they provide in the&nbsp;<a href="https://app.logz.io/#/dashboard/settings/general">Logz.io settings page</a>&nbsp;in the section &#8220;Account settings&#8221;:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!T8j0!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!T8j0!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 424w, https://substackcdn.com/image/fetch/$s_!T8j0!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 848w, https://substackcdn.com/image/fetch/$s_!T8j0!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 1272w, https://substackcdn.com/image/fetch/$s_!T8j0!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!T8j0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp" width="532" height="245.9497487437186" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bae50920-604f-4219-8f29-7a83595fdfca_995x460.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:460,&quot;width&quot;:995,&quot;resizeWidth&quot;:532,&quot;bytes&quot;:13694,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!T8j0!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 424w, https://substackcdn.com/image/fetch/$s_!T8j0!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 848w, https://substackcdn.com/image/fetch/$s_!T8j0!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 1272w, https://substackcdn.com/image/fetch/$s_!T8j0!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbae50920-604f-4219-8f29-7a83595fdfca_995x460.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><em>Becareful, this token is secret! If someone get his/her hand on this token, they can send fake data to your account and overload it with garbage data.</em></p><p>Now, download the Logz.io public certificate and place it in &#8220;C:\ProgramData\Winlogbeat\COMODORSADomainValidationSecureServerCA.crt&#8220;. This certificate is available at&nbsp;<a href="https://raw.githubusercontent.com/logzio/public-certificates/master/AAACertificateServices.crt">https://raw.githubusercontent.com/logzio/public-certificates/master/AAACertificateServices.crt</a>. You&#8217;ll need to do this using your text editor as Administrator.</p><p>When this is done, run the following command in a PowerShell window as Administrator:&nbsp;Restart-Service winlogbeat</p><p>That&#8217;s it, you should now receive your Windows logs in Logz.io! Head over to &#8220;Kibana&#8221; to see them come in (click &#8220;Refresh&#8221; if you don&#8217;t see them right away).</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!UODt!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 424w, https://substackcdn.com/image/fetch/$s_!UODt!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 848w, https://substackcdn.com/image/fetch/$s_!UODt!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 1272w, https://substackcdn.com/image/fetch/$s_!UODt!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!UODt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp" width="1456" height="251" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/c800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:251,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:14484,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!UODt!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 424w, https://substackcdn.com/image/fetch/$s_!UODt!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 848w, https://substackcdn.com/image/fetch/$s_!UODt!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 1272w, https://substackcdn.com/image/fetch/$s_!UODt!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fc800915a-dcea-480e-81c1-b88d3355c837_1522x262.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p><em>Note: You might have noticed that in the winlogbeat.yml I enabled logging of Sysmon. I plan to make a blog post to explain what is Sysmon and how to use it. For the moment, it doesn&#8217;t mather if Sysmon is not installed, Winlogbeat will simply ignore this config line.</em></p><p><em>Hint: You can enable the Dark Theme for Kibana in the&nbsp;<a href="https://app.logz.io/#/dashboard/settings/general">Logz.io settings page</a></em></p><h3>Ubuntu</h3><p><em>Note: There is a TL;DR; section at the end.</em>&nbsp;For this section, I assume you know how to use the&nbsp;<a href="https://en.wikipedia.org/wiki/Command-line_interface">Command Line Interface (CLI)</a>. For Ubuntu, we will be using Filebeat. By default, if you send logs using rsyslog, the data will&nbsp;not&nbsp;be encrypted over the internet, which is not recomended. By using filebeat, we can send encrypted data easily. On the left navigation, in &#8220;Log Shippers&#8221; that should be opened (if not, open it), click on &#8220;Filebeat&#8221;. As they explain in the page, you first need to install Filebeat. So that&#8217;s what we&#8217;ll do. Run the following commands:&nbsp;<em>Note: here, my link is slightly different than the one they propose on their website. This is because I recommend using the OpenSource version (oss).</em></p><pre><code>curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-oss-7.10.0-amd64.deb
sudo dpkg -i filebeat-oss-7.10.0-amd64.deb
rm filebeat-oss-7.10.0-amd64.deb</code></pre><p>We also need the Logz.io public certificate. Run the following command:</p><pre><code>sudo curl https://raw.githubusercontent.com/logzio/public-certificates/master/AAACertificateServices.crt --create-dirs -o /etc/pki/tls/certs/COMODORSADomainValidationSecureServerCA.crt</code></pre><p>Next, we&#8217;ll configure filebeat to ship the logs to Logz.io using my default template and some bash-foo. When asked for the token, provide the token available&nbsp;in the&nbsp;<a href="https://app.logz.io/#/dashboard/settings/general">Logz.io settings page</a>&nbsp;in the section &#8220;Account settings&#8221;:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Zyvo!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Zyvo!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 424w, https://substackcdn.com/image/fetch/$s_!Zyvo!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 848w, https://substackcdn.com/image/fetch/$s_!Zyvo!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 1272w, https://substackcdn.com/image/fetch/$s_!Zyvo!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!Zyvo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp" width="995" height="460" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:460,&quot;width&quot;:995,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:13694,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!Zyvo!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 424w, https://substackcdn.com/image/fetch/$s_!Zyvo!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 848w, https://substackcdn.com/image/fetch/$s_!Zyvo!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 1272w, https://substackcdn.com/image/fetch/$s_!Zyvo!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2d709029-dfbd-4d94-819b-6ddbe5f4b577_995x460.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p><em>Becareful, this token is secret! If someone get his/her hand on this token, they can send fake data to your account and overload it with garbage data.</em></p><p>Run the following commands:</p><pre><code>sudo curl <a href="https://gist.githubusercontent.com/tristandostaler/7a212a0ba23b97c97a5e2c6925bde240/raw/72c90076cf4aa16179c123316b3ef8cec775d576/filebeat.yml">https://gist.githubusercontent.com/tristandostaler/7a212a0ba23b97c97a5e2c6925bde240/raw/72c90076cf4aa16179c123316b3ef8cec775d576/filebeat.yml</a> --create-dirs -o /etc/filebeat/filebeat.yml
echo -n "Please enter your logz.io Token: " &amp;&amp; read -s LOGZ_TOKEN &amp;&amp; sudo sed -i "s|YOURTOKEN_PLACEHOLDER|$LOGZ_TOKEN|g" /etc/filebeat/filebeat.yml
</code></pre><p>Now we only need to start FIlebeat and the logs will start shipping! Run the following command:</p><pre><code>sudo systemctl start filebeat || sudo service filebeat start
(sudo systemctl enable filebeat) || (sudo update-rc.d filebeat defaults &amp;&amp; sudo update-rc.d filebeat enable)
</code></pre><p>That&#8217;s it, you should now receive your Ubuntu logs in Logz.io! Head over to &#8220;Kibana&#8221; to see them come in (click &#8220;Refresh&#8221; if you don&#8217;t see them right away).</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ccCD!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 424w, https://substackcdn.com/image/fetch/$s_!ccCD!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 848w, https://substackcdn.com/image/fetch/$s_!ccCD!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 1272w, https://substackcdn.com/image/fetch/$s_!ccCD!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!ccCD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp" width="1456" height="251" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:251,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:14484,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ccCD!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 424w, https://substackcdn.com/image/fetch/$s_!ccCD!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 848w, https://substackcdn.com/image/fetch/$s_!ccCD!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 1272w, https://substackcdn.com/image/fetch/$s_!ccCD!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7457ab19-4a96-48b7-b4a9-3aa93fb1cd34_1522x262.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p><em>Note: You might have noticed that in the filebeat.yml I enabled logging of many systems that are not installed by default, like auditd. I plan to make a blog post to explain what is auditd and how to use it. For the moment, it doesn&#8217;t mather if auditd is not installed, filebeat will simply ignore this config line.</em></p><p><em>Hint: You can enable the Dark Theme for Kibana in the&nbsp;<a href="https://app.logz.io/#/dashboard/settings/general">Logz.io settings page</a></em></p><p>TL;DR; putting all the commands together:</p><pre><code>curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-oss-7.10.0-amd64.deb
sudo dpkg -i filebeat-oss-7.10.0-amd64.deb
rm filebeat-oss-7.10.0-amd64.deb
sudo curl https://raw.githubusercontent.com/logzio/public-certificates/master/AAACertificateServices.crt --create-dirs -o /etc/pki/tls/certs/COMODORSADomainValidationSecureServerCA.crt
sudo curl <a href="https://gist.githubusercontent.com/tristandostaler/7a212a0ba23b97c97a5e2c6925bde240/raw/72c90076cf4aa16179c123316b3ef8cec775d576/filebeat.yml">https://gist.githubusercontent.com/tristandostaler/7a212a0ba23b97c97a5e2c6925bde240/raw/72c90076cf4aa16179c123316b3ef8cec775d576/filebeat.yml</a> --create-dirs -o /etc/filebeat/filebeat.yml
echo -n "Please enter your logz.io Token: " &amp;&amp; read -s LOGZ_TOKEN &amp;&amp; sudo sed -i "s|YOURTOKEN_PLACEHOLDER|$LOGZ_TOKEN|g" /etc/filebeat/filebeat.yml
sudo systemctl start filebeat || sudo service filebeat start
(sudo systemctl enable filebeat) || (sudo update-rc.d filebeat defaults &amp;&amp; sudo update-rc.d filebeat enable)
</code></pre><h2>Conclusion</h2><p>That&#8217;s it, you now have your initial setup for a SIEM, with logs being sent! Of course, at the moment there are no alerts and the platform we are using don&#8217;t offer all the features we would like from a SIEM. But this is perfect to start learning to use a SIEM! In the next blog post&nbsp;<a href="https://www.tristandostaler.com/siem-101-basic-usage/">SIEM 101 &#8212; Basic usage</a>, I explain the basic usage of Logz.io,&nbsp;how to search logs, how to create an alert, etc.</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3><strong>Donation</strong></h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[SIEM 202 — Detecting remote PsExec]]></title><description><![CDATA[In this post I&#8217;ll explain how to detect an attacker that uses PsExec to connect to your computer when you don&#8217;t have visibility over the attacker&#8217;s computer.]]></description><link>https://www.tristandostaler.com/p/siem-202-detecting-remote-psexec</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-202-detecting-remote-psexec</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Thu, 14 Nov 2024 13:57:12 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!ssF3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post I&#8217;ll explain how to detect an attacker that uses PsExec to connect to your computer when you don&#8217;t have visibility over the attacker&#8217;s computer.</p><p><em>Note: In this post I use Logz.io for my examples, but I recently switched to Humio. For more details: <a href="https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/">https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/</a></em></p><div><hr></div><p>For this post, I assume you&#8217;ve read my&nbsp;<a href="https://www.tristandostaler.com/category/information-technology/infosec/siem/siem-100-series/">SIEM 100 series</a>&nbsp;where I explain the basics of Logz.io. I&#8217;ll be using the stack I created in this series to demonstrate what to do.</p><div><hr></div><p>PsExec is a tool provided by Microsoft in the Sysinternals suite:&nbsp;<a href="https://docs.microsoft.com/en-us/sysinternals/downloads/psexec">https://docs.microsoft.com/en-us/sysinternals/downloads/psexec</a><br>Like they explain:<br>&nbsp;</p><blockquote><p>PsExec is a light-weight telnet-replacement that lets you execute processes on other systems, complete with full interactivity for console applications, without having to manually install client software. PsExec&#8217;s most powerful uses include launching interactive command-prompts on remote systems and remote-enabling tools like IpConfig that otherwise do not have the ability to show information about remote systems.</p><p><a href="https://docs.microsoft.com/en-us/sysinternals/downloads/psexec">https://docs.microsoft.com/en-us/sysinternals/downloads/psexec</a></p></blockquote><p>PsExec can be use as an adversary to pivot between computers and/or elevate privileges. It is rather easy to detect when executed on a monitored endpoint, but what happens when a remote computer not monitored use it to connect to a monitored endpoint?</p><p>It turns out it can be detected by looking for a chain of 3 events, distinctive of PsExec behavior when remote connecting.</p><p><em>Note: Sysmon is needed to detect this behavior. You can read my post&nbsp;<a href="https://www.tristandostaler.com/siem-201-what-is-sysmon/">SIEM 201 &#8212; What is Sysmon</a>&nbsp;on the subject.</em></p><p>The 3 events are:</p><ol><li><p>An incoming connection is made on the port 445 or 135 (Sysmon event ID 3 AND destination port: 445 OR 135)</p></li><li><p>An executable file is created in C:\Windows\ (Sysmon event ID 11 AND target filename: C:\Windows\[^\]+\.exe)</p></li><li><p>The executable from the step 2 is executed (Sysmon event ID 1 AND image: C:\Windows\[^\]+\.exe. The image should be the same as the target filename of the step 2)</p></li></ol><p>The result should have no false positive (it would detect the normal usage of PsExec, so make sure to whitelist your allowed users).</p><p>In a&nbsp;<a href="https://www.elastic.co/guide/en/elasticsearch/reference/7.6/query-dsl-query-string-query.html#query-string-syntax">Lucene</a>&nbsp;query format, it should give something like this (adapt the field names to your context):</p><pre><code>(event.code: 3 AND winlog.event_data.DestinationPort: (135 OR 445)) OR (event.code: 11 AND winlog.event_data.TargetFilename: /C:\\Windows\\[^\\]+\.exe/) OR (event.code: 1 AND winlog.event_data.Image: /C:\\Windows\\[^\\]+\.exe/)</code></pre><p>Then, you can correlate the&nbsp;winlog.event_data.Image&nbsp;with the&nbsp;winlog.event_data.TargetFilename, but with a simple hack that don&#8217;t give a lot of false positive, that&#8217;s not necessary: you can simply make sure that the number of unique&nbsp;event.code&nbsp;in your results is equal to 3. This is what I&#8217;ll be doing. Head over to&nbsp;<a href="https://app.logz.io/#/login">Logz.io and login</a>&nbsp;to your account.</p><p>The same logic can be applied to detect SCShell, WMIExec and SMBExec, but the detection details are a bit different; I might write another blog for these ones.</p><h2>In practice</h2><p>The first thing to do is to simulate a remote PsExec execution so we can detect it. First download and extract PsExec which is bundled with a few tools called the PsTools:&nbsp;<a href="https://download.sysinternals.com/files/PSTools.zip">https://download.sysinternals.com/files/PSTools.zip</a></p><p>In the location of the extraction, open PowerShell as Administrator (File -&gt; Open Windows PowerShell -&gt; Open Windows PowerShell as administrator). For me the working directory of PowerShell is &#8220;C:\Users\User\Downloads\PSTools&#8221;. Then execute the following command:</p><pre><code>(Get-NetIPAddress).IPAddress | Where-Object {($_ -ne "127.0.0.1") -and ($_ -ne "::1") -and ($_ -notlike "*:*")} | %{.\PsExec.exe \\$_ cmd}</code></pre><p>After running this command, you will be in a cmd.exe context. You can simply write &#8220;exit&#8221; to go back to PowerShell. At this point you generated a remote PsExec execution, we now need to find it in the logs.</p><p>Now in Kibana search the query (it&#8217;s the same as above):</p><pre><code>(event.code: 3 AND winlog.event_data.DestinationPort: (135 OR 445)) OR (event.code: 11 AND winlog.event_data.TargetFilename: /C:\\Windows\\[^\\]+\.exe/) OR (event.code: 1 AND winlog.event_data.Image: /C:\\Windows\\[^\\]+\.exe/)</code></pre><p>We can see that we get the pattern I described above:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ssF3!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ssF3!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 424w, https://substackcdn.com/image/fetch/$s_!ssF3!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 848w, https://substackcdn.com/image/fetch/$s_!ssF3!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 1272w, https://substackcdn.com/image/fetch/$s_!ssF3!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!ssF3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp" width="1456" height="663" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/b3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:663,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:62818,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ssF3!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 424w, https://substackcdn.com/image/fetch/$s_!ssF3!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 848w, https://substackcdn.com/image/fetch/$s_!ssF3!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 1272w, https://substackcdn.com/image/fetch/$s_!ssF3!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fb3c682f8-e683-4f65-963e-c1a7e7a13082_1901x866.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now click on Create alert.</p><p>I recommend using a Group by on &#8220;beat_agent.hostname&#8221; because if you have more than 1 computer or server, the event could get mixed between computers and you could get a lot of false positives.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!b032!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!b032!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 424w, https://substackcdn.com/image/fetch/$s_!b032!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 848w, https://substackcdn.com/image/fetch/$s_!b032!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 1272w, https://substackcdn.com/image/fetch/$s_!b032!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!b032!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp" width="1236" height="833" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:833,&quot;width&quot;:1236,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:31388,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!b032!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 424w, https://substackcdn.com/image/fetch/$s_!b032!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 848w, https://substackcdn.com/image/fetch/$s_!b032!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 1272w, https://substackcdn.com/image/fetch/$s_!b032!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F26b64cf8-ded1-44c5-8e1d-de69cb0cd33e_1236x833.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Now, to use the small hack I described above, so we don&#8217;t have to correlate events, in the &#8220;Trigger if&#8230;&#8221; section, check that the unique count of event.code is equal to 3. That way, the alert will trigger&nbsp;if and only if&nbsp;the 3 events are met in a small period of time:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!TGcS!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 424w, https://substackcdn.com/image/fetch/$s_!TGcS!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 848w, https://substackcdn.com/image/fetch/$s_!TGcS!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 1272w, https://substackcdn.com/image/fetch/$s_!TGcS!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!TGcS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp" width="1413" height="298" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/bf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:298,&quot;width&quot;:1413,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:9950,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!TGcS!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 424w, https://substackcdn.com/image/fetch/$s_!TGcS!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 848w, https://substackcdn.com/image/fetch/$s_!TGcS!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 1272w, https://substackcdn.com/image/fetch/$s_!TGcS!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fbf223fc1-fa89-44f6-bc02-7c7d1273109f_1413x298.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>We need this little hack because on Logz.io we can only do 2 step correlations and we would need 3 steps for this specific detection case. There are other platforms that allow to correlate more events, so you could do the correlation logic, but there are also some platform that don&#8217;t allow correlation so this hack could come in handy.</p><h2>Conclusion</h2><p>That&#8217;s it, you can now detect when a hacker uses PsExec to move laterally. Of course, you might need to whitelist some source IP or source IP range if you use PsExec legitimately in your context to allow known Administrators&nbsp;<a href="https://en.wikipedia.org/wiki/Virtual_LAN">VLAN</a>&nbsp;to use it.</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3><strong>Donation</strong></h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[SIEM 102 — Detect Windows bruteforce]]></title><description><![CDATA[In this post I&#8217;ll explain how to detect a bruteforce on Windows.]]></description><link>https://www.tristandostaler.com/p/siem-102-detect-windows-bruteforce</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-102-detect-windows-bruteforce</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Wed, 13 Nov 2024 15:17:28 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!X86C!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post I&#8217;ll explain how to detect a bruteforce on Windows. This is a simple case so it&#8217;s a good use case to start learning to create alerts.</p><p><em>Note: In this post I use Logz.io for my examples, but I recently switched to Humio. For more details: <a href="https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/">https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/</a></em></p><div><hr></div><p>For this post, I assume you&#8217;ve read my&nbsp;<a href="https://www.tristandostaler.com/category/information-technology/infosec/siem/siem-100-series/">SIEM 100 series</a>&nbsp;where I explain the basics of Logz.io. I&#8217;ll be using the stack I created in this series to demonstrate what to do.</p><div><hr></div><h3>Why we need to detect Windows bruteforce</h3><p>When we have a lot of Windows machine in our environment, it can be useful to be able to detect a bruteforce on a machine, be it over <a href="https://en.wikipedia.org/wiki/Remote_Desktop_Protocol">RDP</a> or not. For example, with this Use Case, we could detect an attacker trying to login on a sensitive computer or trying to pivot between machine.</p><p>This Use Case is really simple so it&#8217;s rather easy to develop and test. But it&#8217;s also prone to false positive, so it&#8217;s a good Use Case to learn to reduce the false positives.</p><h3>How</h3><p>As I explained, this use case is really really simple. We&#8217;ll send an email if the event for a failed logon is triggered at least 5 times in a 5 minutes period. The <a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4625">Event ID for a failed logon in Windows is 4625</a> so the query is pretty simple: event.code: 4625. When creating the alert, we simply need to Group by beat_agent.hostname and winlog.event_data.TargetUserName and check if the number of logs in the last 5 minutes is &#8805; than 5.</p><p>The group by beat_agent.hostname is necessary because if we have more than 1 Windows in our SIEM, as soon as 5 computers or less do 5 failed logon in the same 5 minutes block, the alert would trigger, and this is not a bruteforce and happens pretty often. The group by winlog.event_data.TargetUserName is necessary if you have some user that connects from time to time to different machines. If you were to not group by winlog.event_data.TargetUserName, you would detect a <a href="https://doubleoctopus.com/security-wiki/threats-and-tools/password-spraying/">password spray attack</a> which is an interesting Use Case but it&#8217;s not the purpose of this post.</p><p>For the sensitivity (5 failed logon in 5 minutes), I&#8217;ll explain how we can tweak it and reduce the false positive later in this post.</p><p>For the next part, head over to&nbsp;<a href="https://app.logz.io/#/login">Logz.io and login</a>&nbsp;to your account.</p><h3>In practice</h3><p>The first thing to do is simulate a bruteforce.</p><p>If you don&#8217;t have winrm enable on your computer, like it was the case for my test machine, open a PowerShell window as Administrator, and enter the following command:</p><pre><code><code>Enable-PSRemoting -SkipNetworkProfileCheck -Force
Set-Item wsman:\localhost\Client\TrustedHosts -Value * -Force
Restart-Service WinRM</code></code></pre><p>Next, enter this command to generate 5 failed logon on your computer:</p><pre><code><code>[pscredential]$credObject = New-Object System.Management.Automation.PSCredential ("Non existent", (ConvertTo-SecureString "Bad password" -AsPlainText -Force))
for ($i=0; $i -lt 5; $i++) { Enter-PSSession -ComputerName localhost -Credential $credObject }</code></code></pre><p>Now in Kibana, search the query:</p><pre><code><code>event.code: 4625</code></code></pre><p>You can add the following fields as columns: winlog.event_data.TargetUserName and beat_agent.hostname. You will get something similar to this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!X86C!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!X86C!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 424w, https://substackcdn.com/image/fetch/$s_!X86C!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 848w, https://substackcdn.com/image/fetch/$s_!X86C!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 1272w, https://substackcdn.com/image/fetch/$s_!X86C!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!X86C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp" width="1281" height="705" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/5514351d-d519-4be3-867f-46c172d59229_1281x705.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:705,&quot;width&quot;:1281,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:41968,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!X86C!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 424w, https://substackcdn.com/image/fetch/$s_!X86C!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 848w, https://substackcdn.com/image/fetch/$s_!X86C!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 1272w, https://substackcdn.com/image/fetch/$s_!X86C!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F5514351d-d519-4be3-867f-46c172d59229_1281x705.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Kibana Windows bruteforce search result</figcaption></figure></div><p>Now click on Create alert and enter the alert name &#8220;Windows bruteforce&#8221;.</p><p>In the Group by field, add winlog.event_data.TargetUserName and beat_agent.hostname.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!fYYe!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!fYYe!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 424w, https://substackcdn.com/image/fetch/$s_!fYYe!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 848w, https://substackcdn.com/image/fetch/$s_!fYYe!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 1272w, https://substackcdn.com/image/fetch/$s_!fYYe!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!fYYe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp" width="1262" height="712" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:712,&quot;width&quot;:1262,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:25840,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!fYYe!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 424w, https://substackcdn.com/image/fetch/$s_!fYYe!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 848w, https://substackcdn.com/image/fetch/$s_!fYYe!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 1272w, https://substackcdn.com/image/fetch/$s_!fYYe!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F51a4573f-e3f1-464e-ae43-3f0d8e456b53_1262x712.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Alert title and group by</figcaption></figure></div><p>In the &#8220;Trigger if&#8221; section, change the values to match the following image:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!iLmz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 424w, https://substackcdn.com/image/fetch/$s_!iLmz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 848w, https://substackcdn.com/image/fetch/$s_!iLmz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 1272w, https://substackcdn.com/image/fetch/$s_!iLmz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!iLmz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png" width="1024" height="202" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:202,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:26074,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!iLmz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 424w, https://substackcdn.com/image/fetch/$s_!iLmz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 848w, https://substackcdn.com/image/fetch/$s_!iLmz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 1272w, https://substackcdn.com/image/fetch/$s_!iLmz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6628394b-ac21-4125-ab01-59cbb90aeb81_1024x202.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div><figcaption class="image-caption">Trigger if</figcaption></figure></div><p>In the Notify section, add your email and then save your new alert.</p><h3>Managing false positives</h3><p>When we first create this alert, the level of false positive we&#8217;ll receive is directly proportional to the size of the environment. The more Windows machines we have linked to the SIEM (inherently linked to the number of users) , the more likely false positives will arise.</p><p>There are a few strategies we can use to reduce the level of false positives:</p><ol><li><p>We can reduce the sensitivity. Increase the threshold by reducing the time frame we look at, or increase the number of failed attempt.</p></li><li><p>Exclude some users from this specific alert and create a new alert less sensitive for these users.</p></li><li><p>Look only at bruteforce over RDP (query: &#8220;winlog.event_data.LogonType: 10&#8221;). And/or only at bruteforce over the nerwork (like in this example) (query: &#8220;winlog.event_data.LogonType: 3&#8221;). By doing this, we won&#8217;t alert when someone fails to enter his password on his own computer, which is the most frequent case of false positive we would get.</p></li><li><p>Whatever fits your environment. When creating an alert, it&#8217;s important to be creative and understand the usage patterns in our environments to reduce the level of false positive.</p></li></ol><p><em>Note: you can see the logon types here: <a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4624">https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4624</a></em></p><p>Edit: since I originally wrote this post, I found better ways to minimize False Positives. I summed them up in this post: <a href="https://www.tristandostaler.com/siem-103-detect-windows-bruteforce-part-2/">https://www.tristandostaler.com/siem-103-detect-windows-bruteforce-part-2/</a></p><h3>Conclusion</h3><p>That&#8217;s it, you can now detect a Windows bruteforce and know how to manage false positives!</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation </h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[SIEM 201 — What is Sysmon]]></title><description><![CDATA[In this post I&#8217;ll explain what is Sysmon, how to install it and how to use it to detect important pattern.]]></description><link>https://www.tristandostaler.com/p/siem-201-what-is-sysmon</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-201-what-is-sysmon</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Wed, 13 Nov 2024 14:41:58 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!LQlj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post I&#8217;ll explain what is Sysmon, how to install it and how to use it to detect important pattern.</p><p><em>Note: In this post I use Logz.io for my examples, but I recently switched to Humio. For more details: <a href="https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/">https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/</a></em></p><div><hr></div><p>For this post, I assume you&#8217;ve read my&nbsp;<a href="https://www.tristandostaler.com/category/information-technology/infosec/siem/siem-100-series/">SIEM 100 series</a>&nbsp;where I explain the basics of Logz.io. I&#8217;ll be using the stack I created in this series to demonstate what to do.</p><div><hr></div><p>Sysmon is a tool provided by Microsoft in the Sysinternals suite:&nbsp;<a href="https://docs.microsoft.com/en-us/sysinternals/downloads/sysmon">https://docs.microsoft.com/en-us/sysinternals/downloads/sysmon.&nbsp;</a>&nbsp;</p><p>Like they explain:</p><blockquote><p><em>System Monitor</em>&nbsp;(<em>Sysmon</em>) is a Windows system service and device driver that, once installed on a system, remains resident across system reboots to monitor and log system activity to the Windows event log. It provides detailed information about process creations, network connections, and changes to file creation time. By collecting the events it generates using&nbsp;<a href="https://msdn.microsoft.com/library/windows/desktop/bb427443(v=vs.85).aspx">Windows Event Collection</a>&nbsp;or&nbsp;<a href="https://en.wikipedia.org/wiki/security_information_and_event_management">SIEM</a>&nbsp;agents and subsequently analyzing them, you can identify malicious or anomalous activity and understand how intruders and malware operate on your network.</p></blockquote><p>Sysmon can be used to detect suspicious and malicious events that would normaly not be visible in the default Windows logs. You can see all it can do and it&#8217;s corresponding event IDs here:&nbsp;<a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx?i=j">https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx?i=j</a>&nbsp;and select Sysmon from the list. &nbsp;</p><h3>Installation</h3><p><em>Note: There is a TL;DR; section at the end of this section.</em>&nbsp;</p><p>First download Sysmon here:&nbsp;<a href="https://download.sysinternals.com/files/Sysmon.zip">https://download.sysinternals.com/files/Sysmon.zip</a>&nbsp;Once downloaded, extract the content. In the Explorer window that opened after the extraction, open a PowerShell window as Administrator (FIle -&gt; Open Windows PowerShell -&gt; Open Windows PowerShell as administrator). For me, the working directory is &#8220;C:\Users\User\Downloads\Sysmon&#8221;. Next, we&#8217;ll use a config file that reduces the noise sent to the SIEM and that adds some useful logs not enabled by default. The detail of the config file we&#8217;ll use can be found at&nbsp;<a href="https://github.com/SwiftOnSecurity/sysmon-config">https://github.com/SwiftOnSecurity/sysmon-config</a>. In the PowerShell window opened as Administrator, run the command:</p><pre><code><code>Invoke-WebRequest -URI https://raw.githubusercontent.com/SwiftOnSecurity/sysmon-config/master/sysmonconfig-export.xml -OutFile sysmonconfig-export.xml</code></code></pre><p>Now we simply need to install Sysmon giving it this config file. Always in the PowerShell window opened as Administrator, run the command:</p><pre><code><code>./sysmon.exe -accepteula -i .\sysmonconfig-export.xml</code></code></pre><p>If you already had Sysmon installed, you can update the configuration with the following command:</p><pre><code><code>./sysmon.exe -c .\sysmonconfig-export.xml</code></code></pre><p>Now that we installed Sysmon, if you didn&#8217;t have it installed before, we need to restart Winlogbeat so it now sends the logs from Sysmon. Always in the PowerShell window opened as Administrator, run the following command:</p><pre><code>Restart-Service winlogbeat</code></pre><p>That&#8217;s it, you should now be receiving the Sysmon logs.</p><h4>TL;DR;</h4><p>Putting all the commands together for easy installation, in a PowerShell window as Administrator, run the following commands:</p><pre><code>cd C:\Windows\Temp\
<code>Invoke-WebRequest -URI https://download.sysinternals.com/files/Sysmon.zip&nbsp;-OutFile Sysmon.zip
Expand-Archive .\Sysmon.zip
cd .\Sysmon\
Invoke-WebRequest -URI https://raw.githubusercontent.com/SwiftOnSecurity/sysmon-config/master/sysmonconfig-export.xml -OutFile sysmonconfig-export.xml
./sysmon.exe -accepteula -i .\sysmonconfig-export.xml
./sysmon.exe -c .\sysmonconfig-export.xml
Restart-Service winlogbeat</code></code></pre><h3>How it can be used</h3><p>The number of detection patterns that Sysmon allows are to numerous to talk about in one post, so I&#8217;ll only do a quick summary. I&#8217;ll use this site as a reference (select &#8220;Sysmon&#8221; once on the page):&nbsp;<a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/default.aspx?i=j">ultimatewindowssecurity.com</a>&nbsp;</p><p>Sysmon can log every process creation that happens in Windows. The processes that actually get logged depends on the config file we gave. With the config we gave in this post, we only exclude some known noisy processes so most of the activity we do can be logged. The event ID for a process creation is 1, as we can see in the&nbsp;ultimatewindowssecurity.com website. So if we go in our&nbsp;<a href="https://app.logz.io/">Logz.io account</a>&nbsp;and search for &#8220;event.code: 1&#8221; (without the quotes), we can see all the process creation logs:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!LQlj!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!LQlj!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 424w, https://substackcdn.com/image/fetch/$s_!LQlj!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 848w, https://substackcdn.com/image/fetch/$s_!LQlj!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 1272w, https://substackcdn.com/image/fetch/$s_!LQlj!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!LQlj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp" width="1423" height="907" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:907,&quot;width&quot;:1423,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:64504,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!LQlj!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 424w, https://substackcdn.com/image/fetch/$s_!LQlj!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 848w, https://substackcdn.com/image/fetch/$s_!LQlj!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 1272w, https://substackcdn.com/image/fetch/$s_!LQlj!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F2c9c15dc-3756-4eb9-8ec6-06a417a7d464_1423x907.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>In this picture, I added relevant fields in the columns, here is what they mean:</p><ul><li><p><strong>winlog.event_data.Image</strong>: This is the name of the process created</p></li><li><p><strong>winlog.event_data.CommandLine</strong>: This is the command line that was used when creating the process</p></li><li><p><strong>winlog.event_data.ParentImage</strong>: This is the Parent process; the process that created the current process creation log</p></li><li><p><strong>winlog.event_data.User</strong>: This is the user that created the process</p></li></ul><p>If we look at all the available fields, we can see some interesting one:</p><ul><li><p><strong>winlog.event_data.Hash.MD5</strong>: This is the MD5 of the current process that was created. This is useful to compare against a list of known malicious MD5. For example, we can look at this file tested in Virus Total:&nbsp;<a href="https://www.virustotal.com/gui/file/fb55414848281f804858ce188c3dc659d129e283bd62d58d34f6e6f568feab37/details">https://www.virustotal.com/gui/file/fb55414848281f804858ce188c3dc659d129e283bd62d58d34f6e6f568feab37/details</a>. The process here is mimikatz, which is a really popular tool used by hackers. It&#8217;s MD5 is &#8220;2c527d980eb30daa789492283f9bf69e&#8221;, so if we were to see this hash in a process creation log, we would know it&#8217;s this specific mimikatz process.</p></li><li><p><strong>winlog.event_data.Hash.SHA256</strong>: This is the same as the MD5, but instead of a MD5, it uses SHA256 to hash the process. It can be used the same way.</p></li><li><p><strong>winlog.event_data.Hash.IMPHASH</strong>: This is similar to the last 2 fields, but a bit different. This is more advance so I won&#8217;t get in the details, but if you&#8217;re curious, there is a good article here:&nbsp;<a href="https://medium.com/@malcomvetter/defeating-imphash-fb7cf0183ac">https://medium.com/@malcomvetter/defeating-imphash-fb7cf0183ac</a></p></li></ul><p><em>Hint: Remember the website virustotal.com, it&#8217;s really useful! I might write a blog about it one day, but there is plenty of information online if you want to know more.Note: A process hash can be changed really easily, so don&#8217;t rely solely on these to detect bad behavior. Although they can be really useful for basics attacks, they are not perfect.</em>&nbsp;</p><p>So at this point, we could create an alert to detect specific process name or parent process name, or look at the hashes of the process that was created. For example, you could alert when you detect the creation of PsExec by looking at the process name, or when PsExec is used with a specific utility (like PowerShell), etc.</p><h3>Conclusion</h3><p>Sysmon is one of the best tool for a Blue Teamer. It&#8217;s usage will come back a lot. Altough it can&#8217;t do everything, it&#8217;s one of the best tool in your toolset. In my next blog posts, I&#8217;ll often reference to it. I suggest you read more on Sysmon and the patterns you can detect with it. You can also read on it&#8217;s configuration file format; I gave you a decent but basic configuration file and it could be enhanced and adapted to your context.</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation </h3><p>If you like my blog and my posts, please consider donating! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[SIEM Solutions 101 — Basic usage]]></title><description><![CDATA[In this post I&#8217;ll explain the basics on using a SIEM: how to search logs and how to send alerts.]]></description><link>https://www.tristandostaler.com/p/siem-101-basic-usage</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-101-basic-usage</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Wed, 13 Nov 2024 13:24:07 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/06aad0b0-28cb-46b1-8798-8114f746cc84_1488x863.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>In this post I&#8217;ll explain the basics on using a SIEM: how to search logs and how to send alerts.</p><p><em>Note: In this post I use Logz.io for my examples, but I recently switched to Humio. For more details: <a href="https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/">https://www.tristandostaler.com/why-i-switched-from-logz-io-to-humio/</a></em></p><div><hr></div><p>This is the third post of the series &#8220;SIEM 101&#8221; where I explain the basics of a SIEM, from installation to simple usage. You can see the previous post&nbsp;<a href="https://www.tristandostaler.com/siem-101-initial-setup/">SIEM 101&#8202;&#8212;&#8202;Initial setup</a>.</p><div><hr></div><p>Now that we receive our logs in our&nbsp;<a href="https://logz.io/">Logz.io</a>&nbsp;account, it&#8217;s time to learn how we can navigate the logs, how they are organized and how to search for specific patterns. Once we know how to search patterns, we&#8217;ll be able to start creating alerts on specific pattern, like SSH bruteforce or Windows bruteforce.</p><h3>The technology used by this SIEM</h3><p>Let&#8217;s start with the technology. Logz.io is based on&nbsp;<a href="https://www.elastic.co/what-is/elasticsearch">Elasticsearch</a>&nbsp;as a database and uses&nbsp;<a href="https://www.elastic.co/kibana">Kibana</a>&nbsp;to interact and visualize the data in the database. They added some custom features around these two tools to provide alerting and other things.</p><h4>Elasticsearch &#8211; an ideal SIEM database</h4><p>Elasticsearch is a &#8220;<a href="https://en.wikipedia.org/wiki/NoSQL">NoSQL</a>&#8221; database that stores, indexes and provides analytics tools for&nbsp;<a href="https://en.wikipedia.org/wiki/JSON">JSON</a>&nbsp;formatted data. The official description is:</p><blockquote><p>Elasticsearch is a distributed, open source search and analytics engine for all types of data, including textual, numerical, geospatial, structured, and unstructured. Elasticsearch is built on Apache Lucene and was first released in 2010 by Elasticsearch N.V. (now known as Elastic). Known for its simple REST APIs, distributed nature, speed, and scalability, Elasticsearch is the central component of the Elastic Stack, a set of open source tools for data ingestion, enrichment, storage, analysis, and visualization. Commonly referred to as the ELK Stack (after Elasticsearch, Logstash, and Kibana), the Elastic Stack now includes a rich collection of lightweight shipping agents known as Beats for sending data to Elasticsearch.</p><p><em>Source:&nbsp;<a href="https://www.elastic.co/what-is/elasticsearch">https://www.elastic.co/what-is/elasticsearch</a></em></p></blockquote><h4>Kibana &#8211; a basic SIEM interface</h4><p>Kibana is a web-based user interface to visualize the data stored in Elasticsearch. It was designed by the same team that developed Elasticsearch and built specifically to interact with it&#8217;s data. The official description is:</p><blockquote><p>Kibana is an open source frontend application that sits on top of the Elastic Stack, providing search and data visualization capabilities for data indexed in Elasticsearch. Commonly known as the charting tool for the Elastic Stack (previously referred to as the ELK Stack after Elasticsearch, Logstash, and Kibana), Kibana also acts as the user interface for monitoring, managing, and securing an Elastic Stack cluster &#8212; as well as the centralized hub for built-in solutions developed on the Elastic Stack. Developed in 2013 from within the Elasticsearch community, Kibana has grown to become the window into the Elastic Stack itself, offering a portal for users and companies.</p><p><em>Source:&nbsp;<a href="https://www.elastic.co/what-is/kibana">https://www.elastic.co/what-is/kibana</a></em></p></blockquote><h3>The interface</h3><p>For the next steps,&nbsp;<a href="https://app.logz.io/">login in your Logz.io account</a>&nbsp;and head over to Kibana:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!W8pQ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!W8pQ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 424w, https://substackcdn.com/image/fetch/$s_!W8pQ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 848w, https://substackcdn.com/image/fetch/$s_!W8pQ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 1272w, https://substackcdn.com/image/fetch/$s_!W8pQ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!W8pQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png" width="1456" height="844" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:844,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:55430,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!W8pQ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 424w, https://substackcdn.com/image/fetch/$s_!W8pQ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 848w, https://substackcdn.com/image/fetch/$s_!W8pQ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 1272w, https://substackcdn.com/image/fetch/$s_!W8pQ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fac6cc9e0-6c35-4e29-98a3-c6eb317424a2_1488x863.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>As you can see, there are a lot of information available in a compact manner.</p><p>The top section, like in the picture below, allows to navigate in the available Logz.io features / sections</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ih3Z!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 424w, https://substackcdn.com/image/fetch/$s_!ih3Z!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 848w, https://substackcdn.com/image/fetch/$s_!ih3Z!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 1272w, https://substackcdn.com/image/fetch/$s_!ih3Z!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!ih3Z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png" width="1015" height="69" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:69,&quot;width&quot;:1015,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:5694,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ih3Z!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 424w, https://substackcdn.com/image/fetch/$s_!ih3Z!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 848w, https://substackcdn.com/image/fetch/$s_!ih3Z!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 1272w, https://substackcdn.com/image/fetch/$s_!ih3Z!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4981e3e7-d43c-48d6-b417-258e69ad7e0f_1015x69.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>We&#8217;ll talk about each of them in details when the time comes, but in a few words:</p><ul><li><p><strong>Metrics</strong>&nbsp;is used to have an easy and centralized view of your server(s) metrics, like CPU usage, memory usage, etc.</p></li><li><p><strong>Live Tail</strong>&nbsp;is used to look at the logs as they come in the platform, in real-time.</p></li><li><p><strong>Send Your Data</strong>&nbsp;is where you can get details on how to connect many platforms and technologies to Logz.io.</p></li><li><p><strong>Alerts &amp; Events</strong>&nbsp;is where we go to create and modify alerts.</p></li><li><p><strong>Insights</strong>&nbsp;provide useful hints on what problems might be occurring in your server(s).</p></li><li><p><strong>ELK Apps</strong>&nbsp;is a marketplace of Dashboard, Alerts and other useful tools provided by Logz.io and the community.</p></li></ul><p>For the left section, you can press the button to the bottom to expand the section:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!9Uzx!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 424w, https://substackcdn.com/image/fetch/$s_!9Uzx!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 848w, https://substackcdn.com/image/fetch/$s_!9Uzx!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 1272w, https://substackcdn.com/image/fetch/$s_!9Uzx!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!9Uzx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png" width="43" height="45" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:45,&quot;width&quot;:43,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!9Uzx!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 424w, https://substackcdn.com/image/fetch/$s_!9Uzx!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 848w, https://substackcdn.com/image/fetch/$s_!9Uzx!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 1272w, https://substackcdn.com/image/fetch/$s_!9Uzx!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F8ab08f42-085b-4816-afb1-ae6bd03c53d7_43x45.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>Once expanded you get the following :</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!2rtC!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!2rtC!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 424w, https://substackcdn.com/image/fetch/$s_!2rtC!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 848w, https://substackcdn.com/image/fetch/$s_!2rtC!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 1272w, https://substackcdn.com/image/fetch/$s_!2rtC!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!2rtC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png" width="224" height="387" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:387,&quot;width&quot;:224,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:7548,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!2rtC!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 424w, https://substackcdn.com/image/fetch/$s_!2rtC!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 848w, https://substackcdn.com/image/fetch/$s_!2rtC!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 1272w, https://substackcdn.com/image/fetch/$s_!2rtC!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F73c73d5a-cff0-4906-b9b6-cab4024d4b01_224x387.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The&nbsp;<strong>Discover</strong>&nbsp;section is the one you see as you come on the site. It allows to search and browse the data. We&#8217;ll have a look later in this post.</p><p>The&nbsp;<strong>Visualize</strong>&nbsp;section is used to generate aggregated graphs (Pie Chart, Data Table, Heat Map, Region Map, Line Graph, etc.). This is really useful to easily make sense of a lot of data. For example, you could search for the most common processes started on a single server or on all your servers. Or you could draw the total traffic logs over time for your website to better understand your peak hours.</p><p>The&nbsp;<strong>Dashboard</strong>&nbsp;is useful to create, you guess it, dashboards. They are a centralization of multiple saved Visualize graphs. They allow to quickly see different pattern that interest us in a centralized place. Also, any filter you apply on the dashboard will be applied to all the Visualization in the dashboard. For example, if you have a dashboard for your website traffic, you can isolate a single IP and see all the Visualization graphs automatically updated to display info on that single IP.</p><p><strong>Timelion</strong>&nbsp;is useful to overlay and compare different time-based graphs. You could, for example, compare the traffic between 2 servers by having them in a single graph.</p><p>The&nbsp;<strong>Management</strong>&nbsp;section is for, well, management (of Kibana). But this is for advanced users and we don&#8217;t have to go there often, so I won&#8217;t go in details.</p><p><strong>In the top of the center section</strong>&nbsp;we have the search tools:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!a-3N!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 424w, https://substackcdn.com/image/fetch/$s_!a-3N!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 848w, https://substackcdn.com/image/fetch/$s_!a-3N!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 1272w, https://substackcdn.com/image/fetch/$s_!a-3N!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!a-3N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png" width="963" height="127" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:127,&quot;width&quot;:963,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:10194,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!a-3N!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 424w, https://substackcdn.com/image/fetch/$s_!a-3N!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 848w, https://substackcdn.com/image/fetch/$s_!a-3N!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 1272w, https://substackcdn.com/image/fetch/$s_!a-3N!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F9fd15dd5-3812-448f-a51a-907e6cba1388_963x127.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>Here we can use a&nbsp;<a href="https://www.elastic.co/guide/en/elasticsearch/reference/7.6/query-dsl-query-string-query.html#query-string-syntax">Lucene</a>&nbsp;query or a&nbsp;<a href="https://www.elastic.co/guide/en/kibana/7.6/kuery-query.html">Kibana Query Language</a>&nbsp;(KQL) query to search for the data. We can also apply filters (for example: &#8220;IP: 127.0.0.1&#8221;).</p><p>On the right we have the time period over which we apply our&nbsp;<strong>search</strong>&nbsp;(in the picture here the data displayed is from the 15 minutes before the moment the search was launched).</p><p>To refresh the data, we can press the &#8220;<strong>Refresh</strong>&#8221; button. It is possible to <strong>Save a search</strong> so they can be Opened at another time, or Shared.</p><p>The big &#8220;<strong>Create alert</strong>&#8221; button is useful to quickly jump to the section to create an alert from the currently applied query and filters. This is what we&#8217;ll be using later to create an alert.</p><p>In the left of the center section&nbsp;we have all the fields available from our logs. We can interact with these fields (filter, visualize, etc.):</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!U87o!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!U87o!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 424w, https://substackcdn.com/image/fetch/$s_!U87o!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 848w, https://substackcdn.com/image/fetch/$s_!U87o!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 1272w, https://substackcdn.com/image/fetch/$s_!U87o!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!U87o!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png" width="336" height="338" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:338,&quot;width&quot;:336,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:7824,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!U87o!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 424w, https://substackcdn.com/image/fetch/$s_!U87o!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 848w, https://substackcdn.com/image/fetch/$s_!U87o!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 1272w, https://substackcdn.com/image/fetch/$s_!U87o!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F0982881f-a3e5-4610-b8cb-3fc888b03f2e_336x338.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The Selected fields are the one used as columns in the main center section. When you hover on a field, the &#8220;add&#8221; button appears. You can add columns to the main center section by clicking on the &#8220;add&#8221; button. You can also click a field to get a quick view of the top values for that field.</p><p><em>Note: If you get the button &#8220;Field not indexed&#8221;, simply click on it. The page will refresh and the field will be available.</em></p><p><strong>In the center of the center section</strong>&nbsp;we have the main section:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!NZeR!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!NZeR!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 424w, https://substackcdn.com/image/fetch/$s_!NZeR!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 848w, https://substackcdn.com/image/fetch/$s_!NZeR!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 1272w, https://substackcdn.com/image/fetch/$s_!NZeR!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!NZeR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png" width="1456" height="593" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/d5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:593,&quot;width&quot;:1456,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:25746,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!NZeR!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 424w, https://substackcdn.com/image/fetch/$s_!NZeR!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 848w, https://substackcdn.com/image/fetch/$s_!NZeR!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 1272w, https://substackcdn.com/image/fetch/$s_!NZeR!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fd5ebf383-2850-4a17-b5c9-1bfcc6f04afc_1526x621.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>At the top of the main section we have a timeline for the count of messages over a period or time.</p><p>In my picture, we can see I have around 3 messages per period of 20 seconds, for a total of 68 messages (hits). You can use your mouse to select a time period and change your time frame (here being the &#8220;Last 15 minutes&#8221;).</p><p><em>Note: in my blog, &#8220;messages&#8221; and &#8220;logs&#8221; are interchangeable and are used to describe a single event that happened on the server or computer, like a logon.</em></p><p>Then we have the logs.&nbsp;<strong>This is where all the magic happens</strong>:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!BVDq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!BVDq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 424w, https://substackcdn.com/image/fetch/$s_!BVDq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 848w, https://substackcdn.com/image/fetch/$s_!BVDq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 1272w, https://substackcdn.com/image/fetch/$s_!BVDq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!BVDq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png" width="1046" height="312" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/036ab53b-004b-4643-92c7-3524661e1682_1046x312.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:312,&quot;width&quot;:1046,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:7730,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!BVDq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 424w, https://substackcdn.com/image/fetch/$s_!BVDq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 848w, https://substackcdn.com/image/fetch/$s_!BVDq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 1272w, https://substackcdn.com/image/fetch/$s_!BVDq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F036ab53b-004b-4643-92c7-3524661e1682_1046x312.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here I only have 2 columns selected: Time and message. If you where to add more fields as column, they would be visible here.</p><p>When you hover on a field (like &#8220;message&#8221;) you get an X to remove the field from the displayed columns.</p><p>If you click on the small arrow to the left of the row, you can expand the specific log to see all the fields and their values:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!WEkN!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 424w, https://substackcdn.com/image/fetch/$s_!WEkN!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 848w, https://substackcdn.com/image/fetch/$s_!WEkN!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 1272w, https://substackcdn.com/image/fetch/$s_!WEkN!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!WEkN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png" width="300" height="77" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:77,&quot;width&quot;:300,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!WEkN!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 424w, https://substackcdn.com/image/fetch/$s_!WEkN!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 848w, https://substackcdn.com/image/fetch/$s_!WEkN!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 1272w, https://substackcdn.com/image/fetch/$s_!WEkN!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa07f0cb2-5a47-4bfe-a1b6-bf1113adb039_300x77.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!0BXT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!0BXT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 424w, https://substackcdn.com/image/fetch/$s_!0BXT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 848w, https://substackcdn.com/image/fetch/$s_!0BXT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 1272w, https://substackcdn.com/image/fetch/$s_!0BXT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!0BXT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp" width="847" height="656" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:656,&quot;width&quot;:847,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:21576,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!0BXT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 424w, https://substackcdn.com/image/fetch/$s_!0BXT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 848w, https://substackcdn.com/image/fetch/$s_!0BXT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 1272w, https://substackcdn.com/image/fetch/$s_!0BXT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F489a1515-d064-4a34-8c7d-fcd77deb4aab_847x656.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Here, on the left is the name of the field, like &#8220;@metadata.beat&#8221; and on the right is the value, like &#8220;winlogbeat&#8221;. If you hover on the field, you get 4 icons:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!KIbF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 424w, https://substackcdn.com/image/fetch/$s_!KIbF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 848w, https://substackcdn.com/image/fetch/$s_!KIbF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 1272w, https://substackcdn.com/image/fetch/$s_!KIbF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!KIbF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png" width="120" height="37" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:37,&quot;width&quot;:120,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!KIbF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 424w, https://substackcdn.com/image/fetch/$s_!KIbF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 848w, https://substackcdn.com/image/fetch/$s_!KIbF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 1272w, https://substackcdn.com/image/fetch/$s_!KIbF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F6cc9b182-d484-4de2-95db-d9d0544bccf6_120x37.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>The + and &#8211; are used to add a filter to specifically search for the value or to remove the value from the results, respectively. The next icon to the right is used to add the field as a column and the last one is to add a filter to make sure the field is present in the log (for example, exclude the logs that don&#8217;t have an IP).</p><h3>Navigating the logs in a SIEM</h3><p>To learn how to navigate the logs, we&#8217;ll use a useful context in windows environment: we&#8217;ll search for the last user that logged in.</p><p>A quick google for &#8220;windows view the logon events&#8221; give me many results, including&nbsp;<a href="https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/basic-audit-logon-events">https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/basic-audit-logon-events</a>.</p><p>By reading we can understand that Windows logs the logon events. By scrolling a little, we can see the &#8220;Logon events&#8221; number and their matching description. Here &#8220;4624&#8221; looks like what we are looking for: &#8220;A user successfully logged on to a computer.&#8221;.</p><p><em>Hint: learn the event IDs 4624 and 4625, they are used really often in a Windows environment!</em></p><p>So back in Logz, we need to find the field that contains the 4624. What happens if I search for &#8220;4624&#8221;?</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uozF!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uozF!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 424w, https://substackcdn.com/image/fetch/$s_!uozF!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 848w, https://substackcdn.com/image/fetch/$s_!uozF!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 1272w, https://substackcdn.com/image/fetch/$s_!uozF!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!uozF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp" width="958" height="250" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:250,&quot;width&quot;:958,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:16186,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!uozF!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 424w, https://substackcdn.com/image/fetch/$s_!uozF!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 848w, https://substackcdn.com/image/fetch/$s_!uozF!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 1272w, https://substackcdn.com/image/fetch/$s_!uozF!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F4dd3f074-00bd-44e9-aff9-0cda1dbaf765_958x250.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>No results&#8230; Hum&#8230; Ohhh the time frame! I didn&#8217;t login in the last 15 minutes. Let&#8217;s change that to 60 minutes ago and click the Update button.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!ReBT!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!ReBT!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 424w, https://substackcdn.com/image/fetch/$s_!ReBT!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 848w, https://substackcdn.com/image/fetch/$s_!ReBT!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 1272w, https://substackcdn.com/image/fetch/$s_!ReBT!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!ReBT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp" width="984" height="605" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:605,&quot;width&quot;:984,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:37846,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!ReBT!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 424w, https://substackcdn.com/image/fetch/$s_!ReBT!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 848w, https://substackcdn.com/image/fetch/$s_!ReBT!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 1272w, https://substackcdn.com/image/fetch/$s_!ReBT!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa3f35fc1-01ae-48bc-b839-e9d9d207bceb_984x605.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>14 hits! But wait, I didn&#8217;t login 14 times in the last hour? And what are these users with a dollar &#8220;$&#8221; sign I can see in the &#8220;message&#8221; column? Let&#8217;s ask Google. A search for &#8220;windows event id 4624 user with dollar sign&#8221;, first result:&nbsp;<a href="https://www.ultimatewindowssecurity.com/securitylog/book/page.aspx?spid=chapter5">https://www.ultimatewindowssecurity.com/securitylog/book/page.aspx?spid=chapter5</a></p><p><em>Hint: you can save this site for later, ultimatewindowssecurity.com is filled with info on Windows event details, including Sysmon!</em></p><p>This page has a lot of info. Let&#8217;s jump to the explanation of the &#8220;$&#8221; sign with CTRL+F (search in page). We get this description:</p><blockquote><p>DC Security logs contain many Logon/Logoff events that are generated by computer accounts as opposed to user accounts. As with computer-generated account logon events, you can recognize these logon and logoff events because the Account Name field in the New Logon section will list a computer name followed by a dollar sign ($). You can ignore computer-generated Logon/Logoff events.</p></blockquote><p>So the events with these accounts are computer-generated Logon events. But they happen on a Domain Controller (DC). In my case, I am testing on a Windows instance not joined to a domain so this is not what I am looking for.</p><p>Let&#8217;s keep digging. The name of the field was &#8220;winlog.event_data.SubjectUserName&#8221;, I wonder if another field contains &#8220;UserName&#8221;. Looks like it: &#8220;winlog.event_data.TargetUserName&#8221;.</p><p><em>Hint: When DC joined, when you have more than one DC sending logs, you&#8217;ll get more than one user. You can enter the following query to filter our all the users with a dollar sign: &#8220;winlog.event_data.SubjectUserName: /.?$.?/&#8221; (without the quotes), the total query at this point being: &#8220;4624 AND NOT winlog.event_data.SubjectUserName: /.?$.?/&#8221; (without the quotes)</em></p><p>For simplicity, I&#8217;ll add the field &#8220;winlog.event_data.TargetUserName&#8221; as a column:<br><br>There you go, I now have useful details!<br><br>So it looks like my most recent logon was on &#8220;Nov 26, 2020 @ 21:13:04.405&#8221;.</p><p><em>Note: You might have noticed that the logs timestamp change from picture to picture, this is because as I write this post I update and refine my search so I can get useful images.</em></p><h3>Creating an Alert &#8211; the best feature of a SIEM</h3><p>Now we know how to search the logs, the only thing left is to create an alert and send an email. I&#8217;ll use the same context and create an Alert to email me every time I logon.</p><p><em>Note: this is used as an example only. If you create an alert like this, you&#8217;ll receive a lot of emails!</em></p><p>So, starting from my research for the most recent logon for my user named &#8220;User&#8221; (I know, it&#8217;s original!), I&#8217;ll add a filter specifically for my user so I don&#8217;t receive an email every time my computer generates an event:<br><br><br>We are now filtering specifically for the user &#8220;User&#8221;, but I don&#8217;t like the &#8220;4624&#8221; in the search bar, without specifying it&#8217;s field name; it&#8217;s comparing the value to all the values of all the fields! Now that we know we only have the real logon events for my user, let&#8217;s find the field name for the event ID 4624 with a CTRL+F &#8220;4624&#8221;:<br></p><p><em>Note: don&#8217;t forget to open a log so we can see all it&#8217;s field</em></p><p><em>Note: Kibana display the thousands with a comma so we need to search for &#8220;4,624&#8221;&#8230; I am Canadian, I hate this format&nbsp;</em></p><p>Let&#8217;s filter for the value &#8220;4624&#8221; for the field &#8220;event.code&#8221; and remove the &#8220;4624&#8221; from the search bar and click the &#8220;Update&#8221; button:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!m05K!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 424w, https://substackcdn.com/image/fetch/$s_!m05K!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 848w, https://substackcdn.com/image/fetch/$s_!m05K!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 1272w, https://substackcdn.com/image/fetch/$s_!m05K!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!m05K!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp" width="727" height="88" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/f32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:88,&quot;width&quot;:727,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:5406,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!m05K!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 424w, https://substackcdn.com/image/fetch/$s_!m05K!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 848w, https://substackcdn.com/image/fetch/$s_!m05K!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 1272w, https://substackcdn.com/image/fetch/$s_!m05K!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ff32a1140-8767-44d3-92d4-a4fbf368a4b0_727x88.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div></figure></div><p><em>Hint: For performance reasons, it&#8217;s better to use filters than the search bar, but that only work for exact matches.</em></p><p>Now that we have exactly the results we want, we know our query is good. Let&#8217;s click the big blue &#8220;Create alert&#8221; button. We are redirected to the &#8220;Alerts &amp; Events&#8221; section of Logz.io.</p><p>We give the alert a name: &#8220;The user User logged on&#8221;</p><p>Leave everything as is, up to the section &#8220;Notify&#8221; (the query in the section &#8220;Search for&#8230;&#8221; is pre-filled with the filters we prepared before, thanks to the big blue button).</p><p>You can give a useful description if you want, I don&#8217;t as my alert title is clear enough.</p><p>Then in the field &#8220;Who to send it to&#8221;, simply write your email and select it.</p><p>When you&#8217;re satisfied with everything, click the &#8220;Save&#8221; button on the top right:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!d4pq!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!d4pq!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 424w, https://substackcdn.com/image/fetch/$s_!d4pq!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 848w, https://substackcdn.com/image/fetch/$s_!d4pq!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 1272w, https://substackcdn.com/image/fetch/$s_!d4pq!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!d4pq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp" width="973" height="710" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:710,&quot;width&quot;:973,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:26584,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/webp&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!d4pq!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 424w, https://substackcdn.com/image/fetch/$s_!d4pq!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 848w, https://substackcdn.com/image/fetch/$s_!d4pq!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 1272w, https://substackcdn.com/image/fetch/$s_!d4pq!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F625e0b4b-b92b-452b-a9c8-e645aefeadc3_973x710.webp 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>The only thing left is to test the alert. Simply login on your computer and you should receive an email in the next 15 minutes (that&#8217;s the time I defined in the &#8220;Trigger if&#8230;&#8221; section). You will now receive an alert every time you login on your computer!</p><p><em>Note: If you add more computers, because we didn&#8217;t filter for the source, you would get an alert every time the user &#8220;User&#8221; logon on any computer.</em></p><h3>Conclusion</h3><p>That&#8217;s it! You now know the basics of Logz.io, how to search logs and how to create alerts, which is the basis of using a SIEM. I will leave to you the pleasure of discovering how to create Visualize graphs and Dashboards. There are a lot more things to learn, which we&#8217;ll do in time. Everything is now in place for me to start writing blogs on detection patterns! I&#8217;ll do simple patterns in the &#8220;SIEM 102&#8221; series, and more complex detection patterns in the &#8220;SIEM 201&#8221; series. I&#8217;ll eventually talk about how we can automate responses and transform and bonify the data.</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation</h3><p>If you like my blog and my posts, please consider <a href="https://www.paypal.com/paypalme/tristandostaler">donating</a>! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[Information Security synonyms]]></title><description><![CDATA[Information Security, Cybersecurity, IT security, and other synonyms]]></description><link>https://www.tristandostaler.com/p/information-security-synonyms</link><guid isPermaLink="false">https://www.tristandostaler.com/p/information-security-synonyms</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Wed, 13 Nov 2024 13:08:08 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!Zuf4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Information Security, Cybersecurity, IT security, and other synonyms</h2><p>Information Security, Cybersecurity, IT security. We&#8217;ve all heard and read them in interchangeable ways, these synonyms all aim to define what is security. But most of them imply assumptions harmful for the Information Security domain. Let me explain.</p><h3>What we try to do</h3><p>Generally, when we, or often the media, use the term &#8220;Cybersecurity&#8221;, we want to describe the idea that we want to be secure against some kind of &#8220;hacker&#8221;. Most people who use this term imagine a &#8220;hacker&#8221;, in a black hoodie, in front of a screen full of green scribble. But this idea misses the point of what really is Security, or as I prefer to say, Information Security, or InfoSec.</p><p>What a bad actor, often named &#8220;hacker&#8221;, really want to do is to gain access to information that he/she wouldn&#8217;t normally have access otherwise to reach a goal.</p><p>In a ransomware attack, the goal is to keep you from having access to this information and extort money from you. In a phishing attack, the goal could be to steal credentials, which is a kind of information, to use them or sell them.</p><p>So once we understand what the bad actor wants, we understand what we need to protect. At the highest level, the goal is Information. Hence the word &#8220;information&#8221; in &#8220;Information Security&#8221;. The security part imply the idea that we want to protect this information against all kind of attacks.</p><h3>Why it&#8217;s a problem</h3><p>The problem with the words &#8220;Cybersecurity&#8221;, &#8220;IT security&#8221; and other similar terms is that they imply that the security must be done at the technology level: the computers, the servers, the firewalls, the switches, etc. While it is important to secure these technologies, the global strategy needs to be way larger.</p><p>For example, no technology can help us against the CEO fraud if an untrain employee falls for it. The problem in this specific case is the lack of training. Training is not a technological solution but it is one of the most effective strategy to protect the business.</p><p>If we try to reduce the security problem to only the technology, we&#8217;ll fail miserably.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!Zuf4!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!Zuf4!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Zuf4!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Zuf4!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Zuf4!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!Zuf4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg" width="524" height="382" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/fb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:382,&quot;width&quot;:524,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;Data security vs. the people (in a ring). Cybersecurity vs the people (in a ring).&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="Data security vs. the people (in a ring). Cybersecurity vs the people (in a ring)." title="Data security vs. the people (in a ring). Cybersecurity vs the people (in a ring)." srcset="https://substackcdn.com/image/fetch/$s_!Zuf4!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 424w, https://substackcdn.com/image/fetch/$s_!Zuf4!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 848w, https://substackcdn.com/image/fetch/$s_!Zuf4!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 1272w, https://substackcdn.com/image/fetch/$s_!Zuf4!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Ffb64d6b3-a09e-4f32-b1ac-c3cfa3bc67eb_524x382.jpeg 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Data security vs. The people</figcaption></figure></div><p>The reason these terms are harmful to the domain is that they create this idea in the mind of the leaders that security is an IT problem. So it often falls in the hands of an IT officer, like the CTO. Most businesses don&#8217;t have a CISO, and those who do have him/her under the IT department. I could write a complete post on why this is a bad idea.</p><h3>What should we do</h3><p>This is a business culture problem and this is where we need to start the work. Businesses that invest in a Security culture often thrives even more than the ones that put millions on technologies.</p><p>So it is more than time that we start talking about this domain by naming it &#8220;Information Security&#8220;!</p><p><em>Note: I wrote &#8220;hacker&#8221; between quotes when talking about bad actors because this term became pejorative. Initially, a hacker is only someone who finds a way around some limitations, with good or bad intentions; mostly goods. For example, my reading light is too bright and I can&#8217;t dim it enough; so I put black tape on it to cover about 80% so I get just enough light. That&#8217;s hacking applied to something else than technology. It&#8217;s a ridiculous example to demonstrate my idea.</em></p><p><em>As explained in wikipedia:</em></p><blockquote><p>The controversy is usually based on the assertion that the term originally meant someone messing about with something in a positive sense, that is, using playful cleverness to achieve a goal. But then, it is supposed, the meaning of the term shifted over the decades and came to refer to computer criminals</p><p>Source: <a href="https://en.wikipedia.org/wiki/Hacker">https://en.wikipedia.org/wiki/Hacker</a></p></blockquote><p><em>Note 2: because of the way SEO works, I&#8217;ll hack my way to the top results by placing terms like &#8220;Cybersecurity&#8221; in my blog from time to time &#128521;</em></p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation</h3><p>If you like my blog and my posts, please consider <a href="https://www.paypal.com/paypalme/tristandostaler">donating</a>! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[SIEM 102 — Detect WordPress bruteforce]]></title><description><![CDATA[Why we need to detect WordPress bruteforce attack]]></description><link>https://www.tristandostaler.com/p/siem-102-detect-wordpress-bruteforce</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-102-detect-wordpress-bruteforce</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Tue, 12 Nov 2024 15:52:04 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!6ZP2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h2>Why we need to detect WordPress bruteforce attack</h2><p>WordPress is one of the most popular CMS and website server in the world. It handles &#8220;<a href="https://techjury.net/blog/percentage-of-wordpress-websites/">more than 30%</a>&#8221; of the websites on the internet. Because of this, bad actors are really interested in finding ways to get control of them.</p><p>One of the most easy way for them to achieve this is by bruteforcing the login for common username and password combinaisons, including from past leaks. This is a working strategy because by default WordPress doesn&#8217;t protect against bruteforce attacks.</p><h2>How do we detect a WordPress bruteforce attack</h2><p>In the WordPress world, there are many ways to handle bruteforce attacks, as this is rather simple to detect. But because we are in the SIEM series, I&#8217;ll talk about how to detect the attack using a SIEM.</p><p>For this post, I assume you have WordPress installed on linux using Apache and that you are sending Apache&#8217;s logs, as defined in the filebeat configuration I provided in the &#8220;<a href="https://www.tristandostaler.com/siem-101-initial-setup/">Initial Setup</a>&#8221; post.<br><em>(Hint:&nbsp;<a href="https://medium.com/better-programming/how-to-install-lamp-stack-on-ubuntu-db77ac018116">LAMP</a>)</em></p><h3>Some background</h3><p>To understand the next section, we need to understand how WordPress works when someone tries to login and how we can see this in the logs.</p><p>There are two ways to login to wordpress:</p><ol><li><p>Through the standard login page (wp-login.php)</p></li><li><p>Through&nbsp;<a href="https://www.hostinger.com/tutorials/xmlrpc-wordpress">xmlrpc</a> when not disabled</p></li></ol><p>After a successful logon, we get redirected (<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302">302 Found</a>) to the WordPress dashboard. When a failed logon occures, the response is different (we get a 200 OK and the page contains an error message).</p><h3>The detection pattern</h3><p>Now that we know how WordPress behaves when logging in, we know what to look for to detect a bruteforce attack.</p><p>The idea is to count the number of times the same IP sent a request to one of the login pages and got something else than a successful logon response. When the count reaches a defined threshold (like 10) in a defined time window (like 5 minutes), we consider it as being a bruteforce attack. In our case, we&#8217;ll simply send an email, but we could automatically block the attacking IP.</p><p>Here are the useful elements:</p><p>The <strong>query</strong>:&nbsp;request: (/.*<em>wp-login.*</em>/ OR /.<em>*xmlrpc.*</em>/) AND NOT response: 302<br>The field &#8220;request&#8221; is the field, after parsing, that stores the page being accessed. The field &#8220;response&#8221; is the field, after parsing, that stores the response code of the request.</p><p>First&nbsp;<strong>group by</strong>:&nbsp;beat_agent.hostname<br>This group by is necessary if we plan, or do, have more than 1 WordPress website, or any website with these login pages.</p><p>Second <strong>group by</strong>: geoip.ip<br><em>(or simply &#8220;ip&#8221;, depending on your config)</em></p><p>This group by is necessary because we want to know what IP is attacking us so we can eventually take an action. This info could also be usefull in an investigation.</p><p>For the sensitivity (10 failed login in 5 minutes), I find it to be sensitive enough for most attacks and it has a low level of false positives. But you can always tweak it to fit your context.</p><p>For those of you who tells me that &#8220;an attacker could make 9 attemps every 5 minutes to bypass your measure&#8221;, that is true, but a bruteforce attacks that does 9 attemps every 5 minutes will probably never succeed and the attacker will go elsewhere, to a more juicy target.</p><p>For the next part, head over to&nbsp;<a href="https://app.logz.io/#/login">Logz.io and login</a>&nbsp;to your account.</p><h2>In practice</h2><p>The first thing to do is simulate a bruteforce. Because we are only looking for 10 tries in 5 minutes, it&#8217;s feasible manually. If you had a more agressive threshold, you would need to develop a script to send login requests.</p><p>Head over to the login page of your WordPress website. For me that would be <a href="https://www.tristandostaler.com/wp-login.php">https://www.tristandostaler.com/wp-login.php</a>.<br><em>Note: because I have some security plugins, this link is not normally working</em>. <em>I disabled the plugin while writing this post.</em></p><p>You can write anything in the fields Username and Password, then press &#8220;Log In&#8221;. Do this 10 times. You should now have 10 failed logon visible in the logs.</p><p>In Kibana, search the query: <em>request: (/.wp-login./ OR /.xmlrpc./) AND NOT response: 302</em></p><p>You can add the following fields as columns: beat_agent.hostname, geoip.ip (or simply ip) and response (this one is not useful for the alert but we&#8217;ll add it to see the behavior I described). You will get something similar to this:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!6ZP2!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!6ZP2!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 424w, https://substackcdn.com/image/fetch/$s_!6ZP2!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 848w, https://substackcdn.com/image/fetch/$s_!6ZP2!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 1272w, https://substackcdn.com/image/fetch/$s_!6ZP2!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!6ZP2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png" width="1024" height="571" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:571,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!6ZP2!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 424w, https://substackcdn.com/image/fetch/$s_!6ZP2!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 848w, https://substackcdn.com/image/fetch/$s_!6ZP2!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 1272w, https://substackcdn.com/image/fetch/$s_!6ZP2!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F7b03deed-a088-4c67-9bea-c5139577e708_1024x571.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">WordPress bruteforce pattern</figcaption></figure></div><p>Here, we can notice a few things:</p><ol><li><p>My hostname is &#8220;novutech.ca&#8221; and not &#8220;tristandostaler.com&#8221;. This is because I am hosting my site on the same server as the website I use to advertise my <a href="https://novutech.ca/en/">hosting services</a> (the website needs to be updated, I know!)</p></li><li><p>The responses are &#8220;200&#8221;. This is, as I explained, the behavior that happens when a bad logon occurs.</p></li><li><p>We can see the IP 43.250.249.5 trying to bruteforce my site at the same time!</p></li></ol><p>You can now click on <strong>Create alert</strong> and enter the alert name &#8220;WordPress bruteforce&#8221;.</p><p>In the <strong>Group by</strong> field, add <em>geoip.ip</em> (or <em>ip</em>) and <em>beat_agent.hostname</em>.</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!uGHJ!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!uGHJ!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 424w, https://substackcdn.com/image/fetch/$s_!uGHJ!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 848w, https://substackcdn.com/image/fetch/$s_!uGHJ!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 1272w, https://substackcdn.com/image/fetch/$s_!uGHJ!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!uGHJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png" width="1024" height="575" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/133125d1-963a-491b-8769-f229b3e04528_1024x575.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:575,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!uGHJ!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 424w, https://substackcdn.com/image/fetch/$s_!uGHJ!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 848w, https://substackcdn.com/image/fetch/$s_!uGHJ!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 1272w, https://substackcdn.com/image/fetch/$s_!uGHJ!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F133125d1-963a-491b-8769-f229b3e04528_1024x575.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a><figcaption class="image-caption">Alert title and group by</figcaption></figure></div><p>In the&nbsp;<strong>Trigger</strong> if&nbsp;section, change the values to match the following image:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!bU3s!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 424w, https://substackcdn.com/image/fetch/$s_!bU3s!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 848w, https://substackcdn.com/image/fetch/$s_!bU3s!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 1272w, https://substackcdn.com/image/fetch/$s_!bU3s!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 1456w" sizes="auto, 100vw"><img src="https://substackcdn.com/image/fetch/$s_!bU3s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png" width="1024" height="191" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/a723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:191,&quot;width&quot;:1024,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!bU3s!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 424w, https://substackcdn.com/image/fetch/$s_!bU3s!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 848w, https://substackcdn.com/image/fetch/$s_!bU3s!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 1272w, https://substackcdn.com/image/fetch/$s_!bU3s!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fa723aefc-bbc4-41f2-a5cf-5a47e3eae79d_1024x191.png 1456w" sizes="auto, 100vw" loading="lazy"></picture><div></div></div></div><figcaption class="image-caption">Trigger if</figcaption></figure></div><p>In the&nbsp;Notify&nbsp;section, add your email and then save your new alert.</p><h2>Managing false positives</h2><p>After creating the alert, the number of false positive should be pretty low. But if you happen to get too much false positives in your environment, there are a few strategies we can use to reduce the level of false positives:</p><ol><li><p>We can reduce the sensitivity. Increase the threshold by reducing the time frame we look at, or increase the number of failed attempt. A smaller timeframe will detect aggressive bruteforce but can be bypassed more easily. A higher number of failed attempts will increase the risk that an attacker guesses the right username / password combination before being locked out.</p></li><li><p>If you do have <a href="https://www.maxmind.com/en/geoip2-services-and-databases">geoip</a> enabled, you can have more sensitive alerts for some countries and less sensitive alerts for other countries.</p></li><li><p>Whatever fits your environment. When creating an alert, it&#8217;s important to be creative and understand the usage patterns in our environments to reduce the level of false positive.</p></li></ol><h2>Conclusion</h2><p>That&#8217;s it, you can now detect a WordPress bruteforce and know how to manage false positives!</p><p>Don&#8217;t hesitate to write to me if you have any questions. This could also help me better understand how to write a good blog that answers most questions.</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation</h3><p>If you like my blog and my posts, please consider <a href="https://www.paypal.com/paypalme/tristandostaler">donating</a>! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[An overview of a good InfoSec Strategy]]></title><description><![CDATA[A friend of mine recently challenged my post SIEM 102 &#8212; Detect WordPress bruteforce where he proposed a tool that can effectively bruteforce WordPress from a lot of different IPs:]]></description><link>https://www.tristandostaler.com/p/an-overview-of-a-good-infosec-strategy</link><guid isPermaLink="false">https://www.tristandostaler.com/p/an-overview-of-a-good-infosec-strategy</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Tue, 12 Nov 2024 15:46:59 GMT</pubDate><enclosure url="https://substackcdn.com/image/fetch/$s_!_-0Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>A friend of mine recently challenged my post <a href="https://www.tristandostaler.com/siem-102-detect-wordpress-bruteforce/">SIEM 102 &#8212; Detect WordPress bruteforce</a> where he proposed a tool that can effectively bruteforce WordPress from a lot of different IPs:</p><div class="captioned-image-container"><figure><a class="image-link image2 is-viewable-img" target="_blank" href="https://substackcdn.com/image/fetch/$s_!_-0Y!,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!_-0Y!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 424w, https://substackcdn.com/image/fetch/$s_!_-0Y!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 848w, https://substackcdn.com/image/fetch/$s_!_-0Y!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 1272w, https://substackcdn.com/image/fetch/$s_!_-0Y!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!_-0Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png" width="543" height="312" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:312,&quot;width&quot;:543,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:32978,&quot;alt&quot;:null,&quot;title&quot;:null,&quot;type&quot;:&quot;image/png&quot;,&quot;href&quot;:null,&quot;belowTheFold&quot;:false,&quot;topImage&quot;:true,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" srcset="https://substackcdn.com/image/fetch/$s_!_-0Y!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 424w, https://substackcdn.com/image/fetch/$s_!_-0Y!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 848w, https://substackcdn.com/image/fetch/$s_!_-0Y!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 1272w, https://substackcdn.com/image/fetch/$s_!_-0Y!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2F119fb6ec-dce3-482c-98c1-b88e2ab6e64b_543x312.png 1456w" sizes="100vw" fetchpriority="high"></picture><div class="image-link-expand"><div class="pencraft pc-display-flex pc-gap-8 pc-reset"><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container restack-image buttonBase-GK1x3M"><svg aria-hidden="true" width="20" height="20" viewBox="0 0 20 20" fill="none" stroke-width="1.5" stroke="var(--color-fg-primary)" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg" class="icon-noB79L"><g><path d="M2.53001 7.81595C3.49179 4.73911 6.43281 2.5 9.91173 2.5C13.1684 2.5 15.9537 4.46214 17.0852 7.23684L17.6179 8.67647M17.6179 8.67647L18.5002 4.26471M17.6179 8.67647L13.6473 6.91176M17.4995 12.1841C16.5378 15.2609 13.5967 17.5 10.1178 17.5C6.86118 17.5 4.07589 15.5379 2.94432 12.7632L2.41165 11.3235M2.41165 11.3235L1.5293 15.7353M2.41165 11.3235L6.38224 13.0882"></path></g></svg></button><button tabindex="0" type="button" class="pencraft pc-reset pencraft icon-container view-image buttonBase-GK1x3M"><svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-maximize2 lucide-maximize-2 icon-noB79L"><polyline points="15 3 21 3 21 9"></polyline><polyline points="9 21 3 21 3 15"></polyline><line x1="21" x2="14" y1="3" y2="10"></line><line x1="3" x2="10" y1="21" y2="14"></line></svg></button></div></div></div></a></figure></div><p>Source: <a href="https://twitter.com/OffenseTeacher/status/1351927187180572673">https://twitter.com/OffenseTeacher/status/1351927187180572673</a></p><h2>Some background</h2><p>Some background are required to understand his response.</p><p>First, it is important to know that Guillaume is an excellent attacker / hacker (Red Team). He works at the same company as me (Okiok) on the offense side. He is hired by companies, through Okiok, to test their defenses. It&#8217;s his job to know the best attacking tools available. His job is to simulate an attack by a highly skilled bad actor.</p><p>Second, Fireprox is a tool that uses some features of Amazon Web Services (AWS) to send requests from AWS&#8217;s IPs. AWS is a cloud provider; they offer many cloud services like storage, computing, etc. They own a <a href="https://docs.aws.amazon.com/general/latest/gr/aws-ip-ranges.html">huge amount of IP addresses</a> so Fireprox leverages this feature to send requests to website using a new IP on almost every request (with some limitations).</p><p>In my post, I explain that we can detect a simple bruteforce if the same IP does 10 tries in 5 minutes. Because Fireprox uses a different IP (almost) every request, it can bypass this detection pattern.</p><h2>My answer: a good InfoSec Strategy</h2><p>The short answer is: you need a good InfoSec Strategy. There are a few key elements to answer this comment:</p><ol><li><p>A SIEM, and any detection use cases, is not a silver bullet. One use case is designed to detect one pattern of attack, but there are always new attacks. A SIEM is something that keeps evolving. It&#8217;s important to add new detection use cases as needed, and remove the old ones that are out of date.</p></li><li><p>A <a href="https://www.cisecurity.org/spotlight/cybersecurity-spotlight-defense-in-depth-did/">defense in depth</a> approach is key. It&#8217;s important to have many layers of security measures.</p></li><li><p>Understand your <a href="https://en.wikipedia.org/wiki/Threat_model">Threat Model</a>. The idea is to understand who might target you, from an unskilled bad actor to an <a href="https://fr.wikipedia.org/wiki/Advanced_Persistent_Threat">APT</a>.</p></li></ol><h3>The lifecycle of a Use Case</h3><p>When using a SIEM, we&#8217;ll develop more and more detection use cases as we learn of new attacks, we introduce new software and systems, etc. The problem with this is that the more use cases we have, the more resources are needed to run and operate the SIEM, without counting the false positive rate and time to maintain them.</p><p>As we add people, devices, systems and software in our environment, the existing use cases might start to generate more and more false positives. Because of this, it&#8217;s important to revisit the existing use cases and evaluate what strategy can be used to reduce the level of false positives. To get some ideas on false positive mitigation strategies, you can review the following posts:</p><ol><li><p><a href="https://www.tristandostaler.com/siem-102-detect-wordpress-bruteforce/">SIEM 102 &#8212; Detect WordPress bruteforce</a></p></li><li><p><a href="https://www.tristandostaler.com/siem-102-detect-windows-bruteforce/">SIEM 102 &#8212; Detect Windows bruteforce</a></p></li><li><p>Be creative! Try to find new ways to reduce the level of false positives without increasing the level of false negatives</p></li></ol><p>As a use case ages, it might become obsolete if, for example, the technology we try to protect is not used anymore. For example, if I were to change from WordPress to another CMS for my blog, any use case base on WordPress would become obsolete, but they would continue to impact the SIEM&#8217;s performance and it&#8217;s maintenance. For this reason, it&#8217;s important to periodically revisit and question if the use case is still useful.</p><p><em>When I say it would impact maintenance, this is because when you have a lot of use cases, it clusters the view of the SIEM and/or reports and affects any statistics you have (ex: what&#8217;s the percentage of use cases that trigger every weeks)</em></p><h3>A defense in depth strategy</h3><p>I couldn&#8217;t presume to produce a better definition of what is <em>Defense in Depth</em> than the CIS:</p><blockquote><p><em>Defense in Depth (DiD) refers to an information security approach in which a series of security mechanisms and controls are thoughtfully layered throughout a computer network to protect the</em>&nbsp;<em><a href="https://www.cisecurity.org/spotlight/ei-isac-cybersecurity-spotlight-cia-triad/">confidentiality, integrity, and availability</a></em>&nbsp;<em>of the network and the data within. While no individual mitigation can stop all cyber threats, together they provide mitigations against a wide variety of threats while incorporating redundancy in the event one mechanism fails. When successful, this approach significantly bolsters network security against many attack vectors. An effective DiD strategy may include these (and other) security best practices, tools, and policies.</em></p><p><a href="https://www.cisecurity.org/spotlight/cybersecurity-spotlight-defense-in-depth-did/">https://www.cisecurity.org/spotlight/cybersecurity-spotlight-defense-in-depth-did/</a></p></blockquote><p>With an analogy, it&#8217;s like a car and it&#8217;s many defense mechanism to reduce injuries and deaths: Collision avoidance system, Anti-lock braking system, air bags, seatbelt, etc. Like with a car, it&#8217;s not completely risk proof. But the more layer you have, the less risk you have.</p><p>Using my WordPress server as an example, I have many layers to secure it as much as possible according to my Threat Model:<br><em>Note: this list is incomplete as I do not want this post to be too big, but it give a good idea of what I&#8217;ve done</em></p><ol><li><p>WordPress and all the plugins are always up to date</p></li><li><p>I have a few security plugins, some of them provide bruteforce protection</p></li><li><p>I have <a href="https://en.wikipedia.org/wiki/Multi-factor_authentication">MFA</a> enabled for the login</p></li><li><p>The login page is unavailable (it is, but you need to know how. A little bit of security through obscurity can help sometime!)<br><em>Note: this point changed since I did this post. I am now using another security plugin and other tools and I needed to keep the normal URL for the login page. But I added other mitigation strategies around the login page.</em></p></li><li><p>The web server logs are sent to my logz.io stack with a few detection use cases and automated actions to block attacking IPs</p></li><li><p>My server has <a href="https://www.fail2ban.org/wiki/index.php/Main_Page">fail2ban</a></p></li><li><p>My server provider offers some basic protection, like <a href="https://en.wikipedia.org/wiki/Denial-of-service_attack">DDOS</a>.</p></li><li><p>I have write-only backups (you need special access to read and restore)</p></li><li><p>Etc.</p></li></ol><h2>Understand your Threat Model</h2><p>A <a href="https://en.wikipedia.org/wiki/Threat_model">Threat Model</a> analysis is where you carefully analyze what are your attack vectors, what bad actors might be interested in your assets and to which ones. There are many ways to analyze this and I will dedicate a post for this at some point.</p><p>I didn&#8217;t do a complete and thorough Threat Model analysis for my blog, but I am basing mine on my gut feeling and my experience (if you are doing this for an enterprise, don&#8217;t! You are way more interesting to bad actors than me!).</p><p>In my case, I don&#8217;t have much asset of value and I have backups in case of a ransomware or a DOS of some kind (like if I do an error in a config). The most important thing I try to protect is my time because restoring a backups or something like that is time consuming. From the bad actors point of view, my server could also be useful in a botnet. Since I started publicizing my blog, I know some script kiddies might try to hack my website in some way, including with a DDOS.</p><p>Based on this, I think that the protection layers I have are more than enough. If I look at the attacks I block almost everyday, I know I am protected against the most probable attacks on my server, including a distributed bruteforce, like my fiend was proposing.</p><h2>Conclusion</h2><p>Like I thought, it took me more than 280 characters to answer this question &#128521;<br>I know I touched some point I didn&#8217;t address yet in my blog, but I plan on talking in depth about most of them at some point. Don&#8217;t forget that the initial post name was &#8220;SIEM 102 (&#8230;)&#8221;. For the moment I am only talking about the base and I already have plans for some &#8220;SIEM 401&#8221; posts!</p><p>I am glad Guillaume asked me this question though, as this allowed me to see what subject I should address in the future. Thanks Guillaume!</p><p>Don&#8217;t hesitate to write to me,&nbsp;like Guillaume did, if you have any questions. This could also help me better understand how to write a good blog that answers most questions.</p><p>Feel free to leave your comment down here for any questions or comments.</p><h3>Donation</h3><p>If you like my blog and my posts, please consider <a href="https://www.paypal.com/paypalme/tristandostaler">donating</a>! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p><p></p>]]></content:encoded></item><item><title><![CDATA[SIEM 103 — Detect Windows bruteforce part 2]]></title><description><![CDATA[SIEM 103 &#8212; Detect Windows bruteforce part 2]]></description><link>https://www.tristandostaler.com/p/siem-103-detect-windows-bruteforce-part-2-91ecfba015c1</link><guid isPermaLink="false">https://www.tristandostaler.com/p/siem-103-detect-windows-bruteforce-part-2-91ecfba015c1</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Sat, 04 Jun 2022 00:40:01 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/7178a253-dcfd-4900-8bda-143c0ff22afc_641x360.webp" length="0" type="image/jpeg"/><content:encoded><![CDATA[<h3>SIEM 103&#8202;&#8212;&#8202;Detect Windows bruteforce part&nbsp;2</h3><p>This post is a follow up of the post <a href="https://www.tristandostaler.com/siem-102-detect-windows-bruteforce/">SIEM 102&#8202;&#8212;&#8202;Detect Windows bruteforce</a> where I explained how to create a detection Use Case to detect a Windows bruteforce.</p><p>In this post I will explain how we can enhance the original detection logic by having a lower False Positive&nbsp;rate.</p><p>As I explained in the last section of the initial post, it is important to manage False Positives (FP). In the past few months, I spent some time to look for ways to reduce FP and this post will summarize them.</p><h3>The context</h3><p>We sometime received some alerts that we needed to investigate to understand what was happening. After the investigation, we found that it was sometime because someone mistyped their username, or it was a on a disabled account (through an automated script for example), etc. All these cases where not a bruteforce attack currently occurring on a user&nbsp;account.</p><p>We wanted to lower the amount of alerts we receive and only receive useful&nbsp;alerts.</p><p>We used 2 tactics to do&nbsp;so:</p><ol><li><p>Have different Threshold based on the logon&nbsp;type</p></li><li><p>Adjust the query to only alert on relevant&nbsp;reasons</p></li></ol><h3>Threshold based on the logon&nbsp;type</h3><p>If you look at what information an event for a bad logon has (event id 4625: <a href="http://ultimatewindowssecurity.com">ultimatewindowssecurity.com</a>) you&#8217;ll notice it has a Logon Type. You can find the detail of what these Logon Type code means on the page <a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4624">ultimatewindowssecurity.com</a>:</p><ul><li><p><strong>2:</strong> <strong>Interactive</strong> (logon at keyboard and screen of&nbsp;system)</p></li><li><p><strong>3:</strong> <strong>Network</strong> (i.e. connection to shared folder on this computer from elsewhere on&nbsp;network)</p></li><li><p><strong>4:</strong> <strong>Batch</strong> (i.e. scheduled task)</p></li><li><p><strong>5:</strong> <strong>Service</strong> (Service&nbsp;startup)</p></li><li><p><strong>7:</strong> <strong>Unlock</strong> (i.e. unnattended workstation with password protected screen&nbsp;saver)</p></li><li><p><strong>8:</strong> <strong>NetworkCleartext</strong> (Logon with credentials sent in the clear text. Most often indicates a logon to IIS with &#8220;basic authentication&#8221;) <a href="http://www.windowsitpro.com/Articles/Print.cfm?ArticleID=45214">See this article for more information.</a></p></li><li><p><strong>9:</strong> <strong>NewCredentials</strong> such as with RunAs or mapping a network drive with alternate credentials. This logon type does not seem to show up in any events. If you want to track users attempting to logon with alternate credentials see <a href="http://www.ultimatewindowssecurity.com/wiki/SecurityLogEventID4648.ashx">4648</a>. MS says &#8220;A caller cloned its current token and specified new credentials for outbound connections. The new logon session has the same local identity, but uses different credentials for other network connections.&#8221;</p></li><li><p><strong>10:</strong> <strong>RemoteInteractive</strong> (Terminal Services, Remote Desktop or Remote Assistance)</p></li><li><p><strong>11:</strong> <strong>CachedInteractive</strong> (logon with cached domain credentials such as when logging on to a laptop when away from the&nbsp;network)</p></li></ul><p>A description for all the Logon Types. Source: <a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4624">https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventID=4624</a></p><p>Based on this, we created 2 different alerts with 2 different threshold:</p><ol><li><p>If the connection is from the network and non-interactive (if the Logon Type is 3), we alert if there was 25 tentative for the same user from the same source. This greatly reduces the FP for cases like Windows trying to list shares (which happens a lot). We also reduced the severity for this&nbsp;case.</p></li><li><p>If the connection is of any other type (if the Logon Type is not 3), we alert if there was 5 tentative for the same user from the same source. The rule is &#8220;if the Logon Type is not 3&#8221; but in reality it ends up being often of either a type 2 or a type 10 meaning they are interactive. These kind of alerts do not occur often and are really reliable (even more so if we count in the tactic from the next section). We kept the original severity for this&nbsp;one.</p></li></ol><p>Having these 2 different alerts is really useful to receive relevant alerts and knowing in one look if it&#8217;s interactive or not (we added a group by on the Logon Type so we have this information in the email we receive).</p><h3>Alert only on relevant&nbsp;reasons</h3><p>If you look at what information an event for a bad logon has (event id 4625: <a href="https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=4625">https://www.ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=4625</a>) you&#8217;ll notice it has a Sub Status. This Sub Status gives a reason for the failed logon. You&#8217;ll notice that some of these reasons are not relevant to detect a bruteforce (for example, if the event is created for a user that does not exists, this is not a bruteforce (of course, we could create an alert to detect this specific Use Case)). However, this table is incomplete. The complete list can be found on Microsoft&#8217;s website: <a href="https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4625">https://docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4625</a>. Here is the&nbsp;table:</p><p>Status\Sub-Status - Code Description</p><p>0XC000005E - There are currently no logon servers available to service the logon&nbsp;request.</p><p>0xC0000064 - User logon with misspelled or bad user&nbsp;account</p><p>0xC000006A - User logon with misspelled or bad&nbsp;password</p><p>0XC000006D - The cause is either a bad username or authentication information</p><p>0XC000006E - Indicates a referenced user name and authentication information are valid, but some user account restriction has prevented successful authentication (such as time-of-day restrictions).</p><p>0xC000006F - User logon outside authorized hours</p><p>0xC0000070 - User logon from unauthorized workstation</p><p>0xC0000071 - User logon with expired&nbsp;password</p><p>0xC0000072 - User logon to account disabled by administrator</p><p>0XC00000DC - Indicates the Sam Server was in the wrong state to perform the desired operation.</p><p>0XC0000133 - Clocks between DC and other computer too far out of&nbsp;sync</p><p>0XC000015B - The user has not been granted the requested logon type (also called the <em>logon right</em>) at this&nbsp;machine</p><p>0XC000018C - The logon request failed because the trust relationship between the primary domain and the trusted domain&nbsp;failed.</p><p>0XC0000192 - An attempt was made to logon, but the <strong>Netlogon</strong> service was not&nbsp;started.</p><p>0xC0000193 - User logon with expired&nbsp;account</p><p>0XC0000224 - User is required to change password at next&nbsp;logon</p><p>0XC0000225 - Evidently a bug in Windows and not a&nbsp;risk</p><p>0xC0000234 - User logon with account&nbsp;locked</p><p>0XC00002EE - Failure Reason: An Error occurred during&nbsp;Logon</p><p>0XC0000413 - Logon Failure: The machine you are logging on to is protected by an authentication firewall. The specified account is not allowed to authenticate to the&nbsp;machine.</p><p>So after analyzing all the Sub Statuses, we ended up removing all the ones we don&#8217;t care about in the context of a bruteforce detection. We ended up adding to the query: (&#8230;) and if the Sub Status is not one&nbsp;of:</p><pre><code>("0XC000005E", "0XC000006E", "0xC000006F", "0xC0000070", "0xC0000071", "0xC0000072", "0XC00000DC", "0XC0000133", "0XC000015B", "0XC0000192", "0XC0000225", "0XC00002EE", "0x0", "0X80090325", "0xC0000064")</code></pre><p>By removing all of these, we removed almost all FP and only detect true Windows bruteforce. For example, we received a total of 9 alerts in the last 90 days (at the time of writing these lines) and after verification, they were all cases where the person made an error (new employee, recently changed the password, etc.).</p><h3>Conclusion</h3><p>As you can see, any alert can be tweaked to have a really low level of False Positives while also staying relevant. We can use many tactics and only detect a true Windows bruteforce. The trick is to invest some time to analyze what information we have and think what tactics can be used to keep only relevant&nbsp;alerts.</p><p>Feel free to leave your comment down here for any questions or comments.</p><p><em>Originally published at <a href="https://www.tristandostaler.com/siem-103-detect-windows-bruteforce-part-2/">https://www.tristandostaler.com</a> on June 4,&nbsp;2022.</em></p><h3>Donation</h3><p>If you like my blog and my posts, please consider <a href="https://www.paypal.com/paypalme/tristandostaler">donating</a>! Imagine this: each minute of reading a post takes about 1-2 hours to create!</p>]]></content:encoded></item><item><title><![CDATA[Why I switched from Logz.io to Humio]]></title><description><![CDATA[I have posted a few articles about SIEMs and I have all done them using Logz.io for my examples.]]></description><link>https://www.tristandostaler.com/p/why-i-switched-from-logz-io-to-humio</link><guid isPermaLink="false">https://www.tristandostaler.com/p/why-i-switched-from-logz-io-to-humio</guid><dc:creator><![CDATA[Tristan Dostaler]]></dc:creator><pubDate>Fri, 28 Jan 2022 14:20:31 GMT</pubDate><enclosure url="https://substack-post-media.s3.amazonaws.com/public/images/c1d740cf-ec9b-46ee-b99b-17b3473a0152_1150x779.png" length="0" type="image/jpeg"/><content:encoded><![CDATA[<p>I have posted a few articles about SIEMs and I have all done them using Logz.io for my examples. I recently switched to Humio and transferred all the logs and automations I have. In this post I explain why I did this transfer.</p><p>Here are the posts I did using Logz.io for my examples:</p><ul><li><p><a href="https://www.tristandostaler.com/siem-101-introduction/">https://www.tristandostaler.com/siem-101-introduction/</a></p></li><li><p><a href="https://www.tristandostaler.com/siem-101-initial-setup/">https://www.tristandostaler.com/siem-101-initial-setup/</a></p></li><li><p><a href="https://www.tristandostaler.com/siem-101-basic-usage/">https://www.tristandostaler.com/siem-101-basic-usage/</a></p></li><li><p><a href="https://www.tristandostaler.com/siem-102-detect-windows-bruteforce/">https://www.tristandostaler.com/siem-102-detect-windows-bruteforce/</a></p></li><li><p><a href="https://www.tristandostaler.com/siem-102-detect-wordpress-bruteforce/">https://www.tristandostaler.com/siem-102-detect-wordpress-bruteforce/</a></p></li><li><p><a href="https://www.tristandostaler.com/siem-201-what-is-sysmon/">https://www.tristandostaler.com/siem-201-what-is-sysmon/</a></p></li><li><p><a href="https://www.tristandostaler.com/siem-202-detecting-remote-psexec/">https://www.tristandostaler.com/siem-202-detecting-remote-psexec/</a></p></li></ul><h3>The Reasons</h3><p>There are 3 reasons why I switched:</p><ol><li><p>The retention period for the free&nbsp;tier</p></li><li><p>The ease of use of the&nbsp;platform</p></li><li><p>It&#8217;s powerful features for advanced&nbsp;users</p></li></ol><h3>The Retention Period For The Free&nbsp;Tier</h3><p>In Logz.io, the free version allows for 1 GB of log sent per day, and the logs are kept for 1 day. However, I have been using Logz.io for a long time so my account is using their previous free version which allowed for 3GB of log per day, for 3 days retentions.</p><p>Source: <a href="https://logz.io/pricing/">https://logz.io/pricing/</a></p><p>However, Humio, with their community version, allows to send up to 16GB of log per day, with a retention period of 7&nbsp;days.</p><p>Source: <a href="https://www.humio.com/getting-started/community-edition/">https://www.humio.com/getting-started/community-edition/</a></p><p>Since I am using these platforms to test different strategies of using SIEMs, I need more than 3 GB per day, and ideally I need more than 3 days of retention, because sometimes I debug something a few days after a bug is detected (I have a fulltime job after all). So by having a lot more data I can send, and having this data retained for a longer period, Humio better fits my&nbsp;needs.</p><p>I do need more than 3 GB per days because I am sending logs from multiple machine, Windows, Linux and other devices like my router. Also, I am testing tools like the new <a href="https://medium.com/@olafhartong/sysmon-for-linux-57de7ca48575">Sysmon for Linux</a> and to fully test it, I need to be able to send a lot of data by having a non-optimized configuration so that I can understand how to optimize the config. Another tool I am testing is <a href="https://www.elastic.co/guide/en/beats/packetbeat/7.16/packetbeat-installation-configuration.html">Packbeat</a> which send information about every connection made to a machine (there are configuration that can be done to reduce the&nbsp;noise).</p><h3>The Ease Of Use Of The&nbsp;Platform</h3><p>Humio is really easy to use. For basic use, it&#8217;s as easy as Logz.io. However, for some features like modifying how the data is parsed, in Logz.io it is a lot harder than in Humio. In Humio, customizing how the data is transformed before being saved in the database is a lot easier: you simply query for the data you want to transform (&#8220;*&#8221; for everything, I query by type so &#8220;type = syslog&#8221;) and then you can use powerful functions to modify the data. When you are satisfied, save the query and use it in the parser configuration.</p><p>Here is an overview of my config for&nbsp;Syslog:</p><div class="captioned-image-container"><figure><div class="image-link image2" data-component-name="Image2ToDOM"><div class="image2-inset"><picture><source type="image/webp" srcset="https://substackcdn.com/image/fetch/$s_!tcfz!,w_424,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae2ed70e-6221-473e-a701-a3a2990f9eb6_1024x241.png 424w, https://substackcdn.com/image/fetch/$s_!tcfz!,w_848,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae2ed70e-6221-473e-a701-a3a2990f9eb6_1024x241.png 848w, https://substackcdn.com/image/fetch/$s_!tcfz!,w_1272,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae2ed70e-6221-473e-a701-a3a2990f9eb6_1024x241.png 1272w, https://substackcdn.com/image/fetch/$s_!tcfz!,w_1456,c_limit,f_webp,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae2ed70e-6221-473e-a701-a3a2990f9eb6_1024x241.png 1456w" sizes="100vw"><img src="https://substackcdn.com/image/fetch/$s_!tcfz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae2ed70e-6221-473e-a701-a3a2990f9eb6_1024x241.png" data-attrs="{&quot;src&quot;:&quot;https://substack-post-media.s3.amazonaws.com/public/images/ae2ed70e-6221-473e-a701-a3a2990f9eb6_1024x241.png&quot;,&quot;srcNoWatermark&quot;:null,&quot;fullscreen&quot;:null,&quot;imageSize&quot;:null,&quot;height&quot;:null,&quot;width&quot;:null,&quot;resizeWidth&quot;:null,&quot;bytes&quot;:null,&quot;alt&quot;:&quot;&quot;,&quot;title&quot;:null,&quot;type&quot;:null,&quot;href&quot;:null,&quot;belowTheFold&quot;:true,&quot;topImage&quot;:false,&quot;internalRedirect&quot;:null,&quot;isProcessing&quot;:false,&quot;align&quot;:null,&quot;offset&quot;:false}" class="sizing-normal" alt="" title="" srcset="https://substackcdn.com/image/fetch/$s_!tcfz!,w_424,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae2ed70e-6221-473e-a701-a3a2990f9eb6_1024x241.png 424w, https://substackcdn.com/image/fetch/$s_!tcfz!,w_848,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae2ed70e-6221-473e-a701-a3a2990f9eb6_1024x241.png 848w, https://substackcdn.com/image/fetch/$s_!tcfz!,w_1272,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae2ed70e-6221-473e-a701-a3a2990f9eb6_1024x241.png 1272w, https://substackcdn.com/image/fetch/$s_!tcfz!,w_1456,c_limit,f_auto,q_auto:good,fl_progressive:steep/https%3A%2F%2Fsubstack-post-media.s3.amazonaws.com%2Fpublic%2Fimages%2Fae2ed70e-6221-473e-a701-a3a2990f9eb6_1024x241.png 1456w" sizes="100vw" loading="lazy"></picture><div></div></div></div></figure></div><p>It is important to note however that it took me some time to find the optimal way to configure the parsers. That would need a blog post of it&#8217;s own, but in a few words, the easiest way is to use saved queries as much as possible because it&#8217;s easier to modify. I only have 2 parsers, one for winlogbeat and one for filebeat. Filebeat is the most complex as it handles different types, but both of them use the saved query &#8220;Post Process&#8221;. This saved query itself uses 2 other saved queries: &#8220;Normalize&#8221; and &#8220;Enrich&#8221;. This way, I can modify the &#8220;Normalize&#8221; query, save it, and all my logs now have the new&nbsp;config.</p><h3>The Powerful Features For Advanced&nbsp;Users</h3><p>It is, in my opinion, extremely important that a SIEM is easy to use for beginners. Unless your in a multi-billion enterprise, I don&#8217;t think it should be required to hire an expert with 10 years experience in your specific SIEM technology to be able to use a SIEM and secure your enterprise.</p><p>But as much as I hold on tight to that principle, I think a SIEM should also allows for advanced users a way to be more efficient; an &#8220;expert mode&#8221;. For me, it&#8217;s OK if that expert mode is by using an API to update a config or an alert, but in Humio, we have the advantage to have this expert mode easily available and usable. The downside is that Humio is a little bit harder to use that Logz.io (or Kibana based SIEMs), so it&#8217;s definitely not a perfect solution. But I think they found an acceptable balance between ease of use and power user features for most companies.</p><p>Some of these features for Humio&nbsp;are:</p><ol><li><p>The way we can modify parsing queries using already ingested logs to test against real&nbsp;data</p></li><li><p>The way we can create alerts (it&#8217;s almost the same as a saved&nbsp;query)</p></li><li><p>The way they designed <a href="https://library.humio.com/stable/docs/automated/alerts/throttle-period/">alert throttling</a> is really&nbsp;powerful</p></li><li><p>They support multiple type of actions for alerts (email, HTTP requests, etc.) and the configuration is easy to&nbsp;do</p></li><li><p>The query language support <a href="https://library.humio.com/reference/language-syntax/index.html">&#8220;Piped&#8221;&nbsp;queries</a></p></li><li><p>The documentation is complete and well&nbsp;done</p></li><li><p>It is relatively easy to segregate data and control who has access to what with which&nbsp;rights</p></li><li><p>Etc.</p></li></ol><h3>Conclusion</h3><p>Although Humio is not a perfect solution and is missing some key SIEM features that some enterprise would look for, in my context it is more than enough and I am definitely using it as a&nbsp;SIEM.</p><p>The fact that we can send a lot of data also allows us to test the platform and other technologies. And the &#8220;expert mode&#8221; is definitely enjoyable to use, a lot more than many other platforms I have&nbsp;tried.</p><p>Feel free to leave your comment down here for any questions or comments.</p>]]></content:encoded></item></channel></rss>