Free plan available. Set up in minutes with the collectors you already use. Start free
Logthread

Integration

Linux sign-ins (SSH, sudo)

SSH logins and failures, invalid users, sudo, su and user changes from auth.log or secure, as security fields.

  • Category: Security
  • How data is sent: Logthread Agent
  • Runs on: Linux
  • Status: Beta

How it works#

  1. 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.
  2. Run one command on the 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 (Linux, as root with sudo). No other download.
  3. 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#

QuestionAnswerNotes
Labels (optional)TextTo find and group servers on the Agents page, for example env=prod.
Manage this agent from LogthreadYes or noChange what it sends later from the Agents page, without signing in to the server. 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. On each Linux server: it reads /var/log/auth.log (Debian, Ubuntu) or /var/log/secure (RHEL family) as service linux-auth, plus the host's metrics and journal.

curl -sSL https://downloads.logthread.com/agent/install.sh | sudo sh -s -- \
  --key YOUR_INGEST_KEY --profiles linux-host,linux-auth --fleet

Step 2. Use the Linux sign-ins parser. When lines arrive, choose Use parser below: SSH logins and failures, invalid users, sudo and su, and user changes become fields such as event.action, event.outcome, user.name and source.address.

Check that it works#

The connection page under Integrations counts what has arrived and turns Active with the first record. In Explore, search service:linux-auth.

Then add#

Each is one click on the connection page and opens with your data, so you can check it before saving.

  • Parser: linux-auth (Pipelines → Library)
  • Alert: SSH login failures: service:linux-auth event.action:ssh_login event.outcome:failure, at least 20 in 10 minutes
  • Alert: sudo failures: service:linux-auth event.action:sudo event.outcome:failure, at least 3 in 10 minutes

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.

DetectionSeverityFires on
Brute force from one addresscriticalMany failed sign-ins from one address in a short time: password guessing against SSH, VPN, a web login or the cloud console.
Password sprayingcriticalFailed sign-ins for many different users from one address: one or two passwords tried against many accounts, which stays under per-user lockouts.
Sign-ins for accounts that do not existwarningRepeated SSH attempts for user names that do not exist on the host: a scan with a word list of common account names.
Repeated sudo failureswarningA user fails sudo several times: a guessed password, or someone trying commands they are not allowed to run as root.
Local account createdwarningA new user account is created on a server. Expected during provisioning; otherwise a way to keep access to a compromised host.
Local account deletedwarningA user account is deleted on a server: cleanup, or removing an administrator to lock people out.
Root password changedcriticalThe root password of a server is changed, which takes over the host for whoever knows the new one.
Traffic with a known botnet command servercriticalA record involves an address on the botnet command-and-control blocklist (abuse.ch Feodo Tracker): a host may be infected and calling home, or the server is scanning you. Needs threat intel turned on under Enrichment.
Brute force on one account that succeededcriticalTen or more failed sign-ins for one account in a row, then a successful one, within 30 minutes, counted across every address and device: an attacker rotating addresses and devices still adds up on the account they target. Only the failures since the account's previous successful sign-in count, so a person who mistypes, or an old phone with a stale password, stays quiet. An SSH key sign-in never counts as the success.

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.

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.