Integration
Windows server
Everything a Windows server can send, set up once: event logs and performance, Security events, configuration checks, IIS, SQL Server, SQL Server Audit, Active Directory and Exchange, from one agent and one command.
- Category: Servers
- How data is sent: Logthread Agent
- Runs on: Windows Server
- Status: Beta
How it works#
- Answer a few questions. They only fill in the setup steps. Nothing on this page connects to your servers: Logthread never reaches into your network.
- Run one command on the Windows server. The next page shows the command with this connector's ingest key filled in. It downloads the Logthread Agent from downloads.logthread.com and installs it as a service (Windows Server, in PowerShell as Administrator). No other download.
- Data arrives. Everything is collected inside your environment. It is sent over outbound HTTPS (port 443) to ingest.logthread.com. Nothing is opened to the internet: no inbound ports, VPN or public access to your servers. The connection page shows what has arrived and turns Active with the first record.
What you answer#
| Question | Answer | Notes |
|---|---|---|
| Event Log and performance | Yes or no | Where to find it: The System and Application event logs (errors and warnings) and CPU, memory, disk and network counters. The base for every Windows server. Default: Yes. |
| Security events | Yes or no | Where to find it: Sign-ins and failed sign-ins, account and group changes, Kerberos, new processes and services, from the Security log, with the user names and addresses security detections need. A step after install turns on the audit policy Windows needs to write them. Default: No. |
| Configuration checks | Yes or no | Where to find it: Twice a day the agent reads the server's hardening settings (password and lockout policy, SMBv1, LLMNR, Remote Desktop, firewall, Defender, audit policy) and reports each one as pass or fail, with how to fix it. Read only: it changes nothing. Default: No. |
| IIS | Yes or no | Where to find it: Every request to the IIS web server with status, time taken and bytes, from the W3C log files, plus IIS performance counters. Default: No. |
| SQL Server | Yes or no | Where to find it: SQL Server performance metrics, the slowest statements with waits and blocking, and the ERRORLOG. It needs a read-only monitoring login, made in the first step. Default: No. |
| Active Directory | Yes or no | Where to find it: Domain controller logs: Directory Service and replication, DNS Server, DFS Replication and AD Web Services. Only on domain controllers. Default: No. |
| Exchange Server | Yes or no | Where to find it: Exchange Server events: every management command with who ran it, and transport, store and client access service events. Default: No. |
| Watch folders | Yes or no | Where to find it: Every file added, changed or deleted in your deployment or web folders, seconds after it happens, with its hash. A change outside a deployment, or a new program or script in the web root, raises a detection. Logs, temp and cache files are ignored. Default: No. |
| DLP (removable media, printing, content scan) | Yes or no | Where to find it: Data loss prevention on this server: USB drives connected and files written to them, documents printed, and optionally a scan of chosen folders for card, Aadhaar and PAN numbers and secrets (counts and types only, never the values). Default: No. |
| SQL Server Audit (beta) | Yes or no | Where to find it: Failed logins, role and permission changes, new or dropped logins, schema changes and changes to the audit itself, from SQL Server's own audit, written to the Application event log. A step after install gives the T-SQL that turns it on. Needs Event Log and performance. Default: No. |
| Server role | member (Member or standalone server), dc (Domain controller) | A domain controller also writes Kerberos events and gets its password policy from the domain. Where to find it: Not sure? Run "Get-CimInstance Win32_ComputerSystem | Select DomainRole" in PowerShell: 4 or 5 is a domain controller, anything else a member or standalone server. Default: member. |
| IIS log folder (optional) | Text | Default: C:\inetpub\logs\LogFiles. |
| SQL Server: sign in as | windows (The agent service (Windows authentication)), sql (A SQL login) | Windows authentication needs no password. Default: windows. |
| SQL Server host (optional) | Text | Default: this server. |
| SQL Server port (optional) | Text | Default: 1433. |
| SQL Server Audit: sensitive tables to audit reads of (optional) | Text | Database.schema.table, separated by commas. Where to find it: Every SELECT on these tables is audited, with who ran it and the statement. Name only tables that hold sensitive data: each read is one event. |
| SQL Server Audit: successful logins too | Yes or no | Where to find it: Off by default: a busy server logs in thousands of times an hour. Failed logins are always audited. Default: No. |
| Watch folders: the folders | Text | Separate folders with ;. Where to find it: Your deployment or web root folders. Up to 10. Each folder's first baseline shows how many files it holds. |
| Watch folders: also ignore (optional) | Text | Logs, temp, cache and uploads are ignored already. Where to find it: File or folder names, or patterns such as *.bak, that your app rewrites by itself. |
| DLP: removable media | Yes or no | Where to find it: USB drives connected (vendor and serial) and files written to them (name and size), with the user. Default: Yes. |
| DLP: printing | Yes or no | Where to find it: Every document printed: user, printer and page count. Default: No. |
| DLP: scan folders for sensitive content | Yes or no | Where to find it: Files in the folders you choose are scanned when they change, for card numbers, Aadhaar, PAN, bank accounts with IFSC, and secrets. Only the kinds and counts are sent, never the values. Default: No. |
| DLP content scan: the folders | Text | Separate folders with ;. |
| Let Logthread enforce DLP policy on this host | Yes or no | Where to find it: Lets admins block USB storage (or make it read-only) and printing on this server from Logthread, each time approved by a second admin. Only policies signed with your workspace's key are accepted, and this can never be turned on remotely: it is set by this install command. Default: No. |
| Is the Logthread Agent already installed on this server? | no (No, install it), yes (Yes, upgrade or change it) | Where to find it: Choose Yes when the server already runs the agent, even for something else: the command then keeps everything it already sends and adds what you ticked. Not sure? Run "Get-Service LogthreadAgent" in PowerShell. Default: no. |
| Labels (optional) | Text | To find and group servers on the Agents page, for example env=prod. |
| Manage this agent from Logthread | Yes or no | Change what it sends later from the Agents page, without signing in to the server. Default: Yes. |
| Let Logthread upgrade this agent | Yes or no | Where to find it: New agent versions are offered from Logthread (Host agents, Upgrades) by your update policy and maintenance windows. Only signed Logthread releases install, with a health check and automatic rollback. Off: upgrade by running the install command again. Default: Yes. |
Setup#
These are the steps for the default answers. In the app, they follow your answers, and the connector's ingest key replaces YOUR_INGEST_KEY.
Step 1. Install the Logthread Agent. Open PowerShell as Administrator on the server (right-click PowerShell, Run as administrator), paste the command and press Enter. It installs the agent as a Windows service with everything you ticked. Already running the agent here? Add this server again and answer Yes to "already installed", so nothing it sends now is dropped.
& ([scriptblock]::Create((irm https://downloads.logthread.com/agent/install.ps1))) -Key YOUR_INGEST_KEY -Profiles windows-server -FleetStep 2. Check that data arrives. What has arrived, at the top of this page, turns Active with the first record, usually within a minute. Nothing yet after five minutes? Run "Get-Service LogthreadAgent" on the server: it should be Running. Its log is C:\ProgramData\Logthread\Agent\logs\agent.log.
Check that it works#
The connection page under Integrations counts what has arrived and turns Active with the first record. In Explore, search service:(windows-server|windows-security|logthread-agent|iis|sqlserver|windows-ad|exchange|windows-dlp|logthread-dlp).
Then add#
Each is one click on the connection page and opens with your data, so you can check it before saving.
- Dashboard: Windows Server: CPU, memory, paging, disk, network, file systems and processes from the Logthread Agent windows-server profile.
- Dashboard: IIS: Requests, connections, request queue, rejections, network traffic, threads and application pool state from the IIS receiver.
- Dashboard: SQL Server: Batch requests, compilations, page life expectancy, buffer cache, locks, deadlocks, connections and transaction log from the SQL Server receiver.
- Parser: windows-security (Pipelines → Library)
- Parser: iis-w3c (Pipelines → Library)
- Parser: sqlserver-audit (Pipelines → Library)
Security detections#
Turn them on under Security → SIEM (Turn on recommended offers the ones whose data arrives). Each opens one incident per user, address or resource it groups by, and Use opens its query in the rule editor.
| Detection | Severity | Fires on |
|---|---|---|
| SQL Server failed logins for one login | warning | Ten or more failed logins for the same SQL Server login in 10 minutes: password guessing against sa or an application login, or an application left with an old password. Read from SQL Server Audit (FAILED_LOGIN_GROUP). |
| Member added to a privileged SQL Server role | critical | A login or user is added to sysadmin, securityadmin, db_owner or another fixed role that controls the server or a database: full control of the data. |
| Member added to a SQL Server role | warning | A login or user is added to a server or database role other than the privileged fixed roles: new access to data, worth a look when it was not planned. |
| SQL Server permission granted | info | A GRANT at the server or in a database (SERVER_PERMISSION_CHANGE_GROUP and the database and object permission groups): who gave which login or user new rights. |
| SQL Server objects dropped | warning | Three or more tables, views, procedures or other objects dropped by one login in 15 minutes, outside tempdb: destruction of data or of the schema it needs. |
| SQL Server Audit stopped, changed or dropped | critical | A server audit or audit specification is altered (including STATE = OFF) or dropped (AUDIT_CHANGE_GROUP): what someone does before acting unrecorded. Creating one is not reported. |
| Mass reads of audited SQL Server tables | warning | One login runs 100 or more SELECTs on the tables you audit in 15 minutes: bulk collection of sensitive data. Only tables in a database audit specification count. |
| Large copy to USB storage | warning | One user wrote 200 or more files to removable drives on a server in an hour: a folder copied out. From the Removable Storage audit (4663 on removable volumes), which records each file but not its size. |
| Printing in bulk | warning | One user printed 200 pages or more on a server in an hour: documents leaving on paper. From the PrintService Operational log (event 307), when printing is watched. |
| New USB storage device on a production server | warning | A USB storage device never seen before on that server was connected to a production server (env prd, prod or production). Learned per server and checked once per closed hour; a server's own first day is not news. |
| Deployment folder changed outside a deployment | warning | An assembly, configuration file, page or handler in a watched deployment folder changed with no deployment within 30 minutes (a deployment marker sent from CI with POST /api/changes, type deploy, or a new service version). Tampering or a web shell; expected only during a deployment. |
| New program or script in a web root | critical | A program, script or server page appeared in a web root (inetpub, wwwroot, htdocs) with no deployment within 30 minutes: the usual way a web shell is planted. |
| SQL login read a table it never read before | warning | A SQL Server login or user read an audited table it had not read in the learning days. Learned per login from SQL Server Audit and checked once per closed hour, so an account reaching for new sensitive data stands out. A login's own first day is not news. |
| SQL login reads a table far above its usual | warning | A SQL Server login or user read an audited table far more often in an hour than it usually does at that hour of the week: bulk collection by an account that normally reads a little. Each login and table pair is its own series, learned from its own history (the log metric logs.sql_table_reads, counted as records arrive) and checked once per closed hour against its seasonal baseline. |
Price#
The integration itself has no charge. What it sends is billed as data ingested, ₹85 ($0.90) per GB on every plan, like any other data; parsing, detections and the dashboard add nothing. See Prices.
More: SQL Server Audit, Windows Security events.
Set it up under Integrations in the app, or from an AI agent with MCP (add_integration). All integrations: Integrations guide. Next: find what it sends in Explore and live tail.