Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
log-horizon — Microsoft Sentinel SIEM Log Source Analyzer | Kitploit
Tools/GitHubGitHub/lnfernux/log-horizon
Cloud Infrastructure SecurityConfiguration AuditingCloud SecurityDevSecOpsThreat IntelligenceIncident ResponseLog Analysis
GitHublnfernux/log-horizon

log-horizon

Microsoft Sentinel SIEM Log Source Analyzer

View Repository
286123 days agoReviewed by Kitploit
Website
Share

Microsoft Sentinel SIEM Log Source Analyzer

PowerShell 7+ Module Version Log Baseline


I've had to answer "what are we actually getting out of these logs?" or "what is the recommended logs for Microsoft Sentinel" more times than I can count. The answer always depend on so many things, but we can be generic. So I built this thingy right here.

Log Horizon connects to your Microsoft Sentinel workspace (and optionally Defender XDR), goes through every log table you're ingesting, and tells you whether you're getting security value from it or just burning money. It classifies tables, scores them against your detection rules, and gives you concrete recommendations with savings estimates.

Important: This is a generic approach. If you know a log source is important to your environment, that context always takes precedence over what this tool tells you. The classifications are a starting point, not gospel.

Want to read more? I have some posts about Log Horizon on my blog:

  1. Tool Release: Log Horizon
  2. Update: Log Horizon v0.5.0
  3. Building a practical log baseline and how Log Horizon helps you do that
  4. How to use Log Horizon
  5. Log Horizon 0.9.0

Features

FeatureDescription
Classification Engine510-entry knowledge base covering 260+ connectors, 22 categories, with lifecycle status (deprecated/legacy plus replacement tables) and automatic heuristic fallback for unknown tables
Cost-Value ScoringPer-table cost tier vs detection tier matrix with combined assessment (High Value to Low Value), priced per observed plan (Analytics, Basic, Data Lake)
Recommendations14 prioritised action types: data lake or Basic candidates, zero-detection tables, XDR streaming waste, ingest-time filtering, split candidates, shared-table splits by source, plan usage, deprecated sources, retention shortfalls, XDR Checker and Detection Analyzer findings, each with savings estimates
Detection MappingMaps analytics rules, hunting queries, and XDR detections to each table to spot coverage gaps
Correlation TagsDetects #DONT_CORR# / #INC_CORR# tags in rule descriptions and flags rules excluded from Defender correlation
Retention ComplianceCompares actual retention against recommended minimums based on industry standards and security best practices
SOC OptimisationPulls Microsoft's own SOC improvement recommendations from the Security Insights API
Keyword Gap AnalysisFlag tables you should be ingesting but aren't based on vendor/product keywords
Transform DiscoveryDiscovers Data Collection Rules (DCRs) targeting the workspace (subscription list filtered on destination, the workspace transformation DCR, and workspace associations), parses inline and multi-stage transforms, and labels every operation (filter, projection, column removal, enrichment, aggregation)
Split Table DetectionIdentifies _SPLT_CL split tables and links them back to parent tables in the classification engine
Split KQL GeneratorGenerates portal-ready split KQL from a curated knowledge base, live rule analysis, and community field frequency stats -- condition-only format that pastes straight into the Sentinel split rule editor. Field lists are intersected with the table's live schema; anything not present is reported as dropped
Detection AnalyzerScores analytic rules for potential noisiness using incident outcomes (auto-close ratio, false positive ratio, and incident volume percentiles)
XDR CheckerAdds an XDR-focused advisory layer: streaming coverage checks and one-year Data Lake retention guidance for XDR-related telemetry
Custom ClassificationsProvide your own JSON to add or override the built-in classification database
Collection CacheCollected workspace data is cached locally (default 60 minutes) so re-runs and re-exports take seconds; opt out with -NoCache
Sovereign CloudsARM, Log Analytics and Graph endpoints follow the signed-in Azure environment (public, US Government, China)
Interactive TUISpectre.Console dashboard with menus, colour-coded tables, drill-downs, retention wizard and ASCII art
ExportJSON, Markdown, or static HTML report for sharing with the team

Disclaimer

[!CAUTION] Disclaimer

This tool is developed and maintained with the help of AI. Please exercise caution when using this solution and always understand what are you running before you run it in production. The developer assumes no liability for any vulnerabilities or issues.

By downloading, installing, or using this tool, you acknowledge that you have read, understood, and agree to these terms.

Prerequisites

What you needVersion
PowerShell7.0+
Az modulesAz.Accounts
Other modulesPwshSpectreConsole 2.6.3+
OptionalMicrosoft.Graph.Authentication (for -IncludeDefenderXDR as a signed-in user)

Endpoints follow the Azure environment of the current Connect-AzAccount session, so Azure Government and Azure China workspaces work without extra parameters. The public cloud values are used when no environment is available.

If you're not already logged into Azure, the module will fire up Connect-AzAccount for you. If you are, it'll just carry on.

Permissions: Log Analytics Reader and Microsoft Sentinel Reader on the workspace cover the analysis. Transform discovery also needs Microsoft.Insights/dataCollectionRules/read (Monitoring Reader) on the subscription or resource group; without it the run continues and prints a warning naming the missing permission. -IncludeDefenderXDR uses Microsoft Graph with CustomDetection.Read.All, which for a signed-in user means the optional Microsoft.Graph.Authentication module.

Getting started

Pretty straight forward:

# Grab the dependencies
Install-Module -Name Az.Accounts -Scope CurrentUser
Install-Module -Name PwshSpectreConsole -Scope CurrentUser

# Clone and import
git clone https://github.com/lnfernux/log-horizon
Import-Module ./log-horizon/LogHorizon.psd1

Usage

The basics

Start by connecting to Azure and making sure you select the right account and subscription:

Connect-AzAccount

Then we can invoke the tool:

Invoke-LogHorizon -SubscriptionId '00000000-0000-0000-0000-000000000000' -ResourceGroup 'rg-sentinel' -WorkspaceName 'my-sentinel-ws'

Output should look something like this:

{F4FFA929-B24F-490C-BD3D-F75E214BCD93}

Also has a menu to dig deeper into other outputs:

{83CE9E6E-F373-49CD-BE05-182DB69F36BE}

Keyword gaps + Defender XDR

Want to know if you're missing tables related to specific vendors? Throw in some keywords. Add -IncludeDefenderXDR if you want the XDR analysis too.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    786
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    506
  • 3

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    429
  • 4

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    345
  • 5

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    262
  • 6

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    256

Explore all tools

Browse our collection of tools

View all tools →