Security Onion endpoint visibility with Elastic Agent

How to deploy Elastic Agent from Security Onion Fleet to Windows, Linux and macOS endpoints, configure policies and Osquery, and correlate host logs with Zeek and Suricata data.

On this page

Security Onion endpoint visibility with Elastic Agent: what it covers and how it connects

Security Onion sees the network well, but when an investigation reaches a suspicious IP address, the analyst often cannot tell which process, user or login on the host caused the connection. Enrolling Elastic Agent through Security Onion Fleet is the supported method for bringing endpoint logs into the grid. This section explains the parts involved and how they connect, so the team can decide what to deploy before it changes any host.

Four components do the work. The Security Onion Console is where analysts search, triage and pivot between alerts. Fleet, which runs in the Console's grid, holds the agent policies that decide what each enrolled host collects. Elastic Agent is the installed program on each Windows, Linux or macOS endpoint, and it ships the data it collects to the grid. Elasticsearch stores and indexes everything, so host events land next to Zeek and Suricata records and can be queried together. Security Onion is source-available under the Elastic License 2.0, which is not an OSI-approved open-source license, so the team should review that license against its own use before it plans a rollout.

Agent versions, integration packages and the policies that use them change between Security Onion releases, and the grid's Fleet view shows what is installed. Confirm the Elastic Agent and integration versions your grid supports against the Security Onion documentation and your own release before writing any policy. Name the owner for Fleet policies, the endpoints in scope and the network path from each endpoint to the manager or Fleet node, since a host that cannot reach Fleet will never appear in the Console. The remaining sections cover the policy, query and correlation steps in order.

What you need before enrolling the first endpoint

Endpoint enrollment depends on four things lining up: a supported Security Onion version and grid, endpoints the Fleet listener can reach, certificates the endpoints trust, and accounts with the right rights on both sides. Check these in order before you install a single agent, because a gap in any one of them shows up as a failed enrollment that looks like a fault in the agent.

Confirm the Security Onion version

Start by confirming which version the grid runs. Security Onion 2.4 reaches end of life on October 1, 2026, and 2.3 reached end of life on April 6, 2024, so a new endpoint rollout should not start on either. Version 3.0.0 supports only Oracle Linux 9, so a 3.x plan begins with the operating system of the manager and search nodes. Confirm the version with the release notes and the end-of-life page before you plan the rollout.

EOL schedule

Size a distributed grid with manager and search nodes

Endpoint data flows through the manager and search nodes, so the grid needs both in place before enrollment. Security Onion recommends a Distributed design for production, with a manager node, sensor nodes and search nodes. The architecture docs note that search nodes stop indexing if they cannot reach the manager's Redis, so a manager outage halts endpoint data even when the search nodes are healthy. Confirm the grid's sizing against the expected endpoint count before you add agents.

Architecture docs

Check x86-64 hardware against minimums

Security Onion runs only on x86-64 processors, so confirm the architecture of every node before you order or repurpose hardware. The minimums differ by role: a manager or search node needs 4 cores and 16 GB RAM, and a standalone node needs 4 cores, 24 GB RAM, 200 GB storage and 2 NICs. Treat these numbers as floors. Endpoint volume, Osquery query load and retention periods all raise the storage and memory you need, so size against your own event rate.

Hardware requirements

Open the path from endpoints to Fleet

Each endpoint must reach the Fleet listener on the Security Onion grid, which is where Elastic Agent enrolls and pulls its policy. Map the source networks, the Fleet address and the port the listener uses, then confirm the firewall host groups allow that traffic. Test from a representative endpoint in each segment, including segments behind NAT or a VPN, before you deploy at scale. A blocked path usually appears as an agent stuck in enrolling, not as a clear error.

Plan certificate and trust handling

Agents must trust the certificate that the Fleet listener presents, and a mismatched name or an untrusted internal certificate authority will block enrollment. Decide now whether endpoints will receive the CA through your existing Group Policy or configuration management, and who owns certificate renewal. Record the hostname the agents will use so the certificate covers it. Keep the trust chain documented, since replacing a certificate later means redeploying trust to every endpoint.

Confirm endpoint OS support and admin access

Check each endpoint operating system and version against the Elastic Agent support matrix before you build an install package, since support varies by platform and release. Confirm you hold administrator rights on the Security Onion Console for creating Fleet policies and on each endpoint for installing the agent. Record which accounts own enrollment tokens and policy changes, so an installer does not become the only person who can change the configuration.

How endpoint events reach the grid and meet network data

Endpoint events start at the Elastic Agent running on each Windows, Linux or macOS host, which receives its policy from Fleet on the manager node. The agent sends host data to the search nodes, where Elasticsearch stores it in the same index layer as the Zeek and Suricata records that sensors forward across the grid. Analysts pivot between host and network events in the Security Onion Console. Check that the endpoint network can reach Fleet and the ingest path, and that the trust boundary is crossed only on the ports you have opened.

Endpoint, Fleet, sensor and search flows meet in one index layer behind the Console.

Configuring Fleet policies and enrolling endpoints in sequence

This sequence takes a Fleet policy from review to a working set of endpoints, proving each host and its data path before the rollout widens. It produces enrolled agents, confirmed index data and a verified Osquery path on every supported operating system.

  1. Review the grid's Fleet policy and Salt state

    The platform or security engineer who owns the Security Onion grid reviews the existing Fleet agent policy, or creates a new one for endpoints, and records which integrations it already contains. Confirm first whether the grid's configuration is managed through Salt, because direct changes made in the Console can be overwritten on the next managed run. Check the grid's documentation for the approved way to change Fleet settings. The step is done when the policy name, its owner and its change method are written down and agreed by the team that runs the grid.

  2. Select System, Windows and Osquery integrations

    Add or confirm the System, Windows and Osquery integrations on the endpoint policy, scoping each to the operating systems in the test group. Review the default settings for each integration, including which log files, event channels and Osquery features are enabled, and note any that would add significant volume. Confirm the integration versions in your grid's Elastic Fleet view, since integration behavior changes across releases. The step is done when the policy lists only the integrations you intend to run and the Fleet view shows each one saved without errors.

  3. Generate the enrollment method the grid documents

    Generate the enrollment token or enrollment command for the policy using the method your grid's documentation specifies, and restrict its use to the test hosts. Store the token in your change record and do not place it in shared scripts or tickets. Confirm which Fleet server address the endpoints must reach and that the host firewall rules for that path are in place. The step is done when the enrollment command for the test policy is ready and its scope, expiry and owner are recorded.

  4. Install Elastic Agent on one test host per OS

    On one Windows, one Linux and one macOS test host, run the Elastic Agent installer with the enrollment command, using an administrator or root account as the installer requires. Confirm the endpoint can resolve and reach the Fleet server before enrolling, and record the agent version installed. Keep the test hosts in a group that has no production role. The step is done when each test host runs the agent service and has completed enrollment without an error in the installer output.

  5. Confirm agents report healthy in Fleet

    In the Fleet view, check that each test host appears under the expected policy with a healthy status and a recent check-in time. If a host shows as offline or unhealthy, review its agent logs and the connectivity path before going further. Confirm the hostname, operating system and agent version match what you installed. The step is done when all three test hosts show as healthy and assigned to the test policy.

  6. Verify host events in the expected index

    In Security Onion, search for events from each test host using the host name or agent identifier, and confirm that System and Windows or Linux events arrive in the data stream the integration names. Check the timestamps against the host's local clock so you can detect time skew before it affects correlation. Repeat the search after generating a known event, such as a logon or a service restart, to prove the pipeline is live. The step is done when each test host has recent events in the expected index with correct host fields.

  7. Run a test Osquery live query

    From the Osquery live query function, run a simple, read-only query against one test host, such as a query for running processes or installed packages, and confirm results return for each operating system in the test group. Keep queries narrow, since broad queries across many hosts add load and produce large result sets. Record which queries were run and their results as the baseline for later comparison. The step is done when each test host returns results for the query and the results match what you see on the host.

  8. Test changes before broad rollout

    Before widening the policy, repeat the checks on a larger but still controlled group, and record any policy change you make during testing so the grid's configuration can be reproduced through its managed process. Confirm that Salt-managed settings and the Fleet policy stay consistent after a managed run. Only expand the rollout after the test group has stayed healthy and its data has arrived as expected. The step is done when the test results, the change record and the expansion plan are approved by the grid owner.

Which deployment mode supports this integration

The Security Onion architecture documentation names the Distributed deployment as the recommended design for production. It separates a manager node, one or more sensor nodes and one or more search nodes, so the Fleet and agent traffic from endpoints lands on a control plane that is sized and protected apart from packet capture and indexing. For endpoint visibility, this layout gives host logs a defined path into the same search tier that holds Zeek and Suricata data.

  • Manager role: The manager hosts the Console and the Fleet control plane that endpoints enroll against, so plan its placement and access rules before enrolling any hosts.
  • Search node dependency: The architecture docs note that if the manager goes down, search nodes stop indexing because they cannot reach Redis, so manager availability directly affects endpoint data arriving in searches.
  • Receiver nodes: The same docs describe receiver nodes as a way to add pipeline redundancy and load balancing, which matters when many endpoints send continuous logs.
  • Sizing by role: The hardware docs list different minimums for manager, search and sensor nodes, so size each role for its own load rather than copying one profile.
  • Multi-site grids: Distributed grids are the natural place to plan where endpoint traffic enters, especially when hosts sit in several segments.

Before you rely on this layout, confirm with the architecture documentation for your version which Fleet and receiver options apply to your role layout.

How host fields map to Zeek, Suricata and Console views

This table pairs common endpoint attributes with the network-side records and Security Onion Console views where analysts usually find them. Field names differ between Elastic Agent integration versions and Security Onion releases, so treat each mapping as a starting point to confirm in your own deployment before you write hunts or dashboards on it. The main takeaway is that host identity correlates with network data mostly through IP address, time and connection tuples, not through a shared host name field.

Endpoint attributeZeek and Suricata correlationConsole view and what to confirm
Host nameNot present in most Zeek or Suricata network records; reverse DNS or DHCP logs may supply a nameHost views in the Console group by agent host name; confirm which field your Fleet integration populates
Source IP addressPrimary join key to Zeek conn and Suricata alert records on the originating sideConfirm whether the endpoint IP is in the agent document and in the sensor record at the same time window
User nameNot carried in Zeek or Suricata connection records; authentication protocols such as Kerberos or NTLM may expose account names in some Zeek logsConfirm which Windows or Linux integration fields hold the logged-on user and whether your Zeek scripts parse them
Process name and command lineNo direct network field; correlate by timestamp and the destination of connections the process opensProcess events come from Elastic Agent integrations or Osquery results; confirm field names for your integration version
File hashSuricata file extraction and Zeek file analysis can record file hashes for transferred files when those features are enabledConfirm which sensor features are enabled on your grid before expecting hash matches on network traffic
Agent ID and policyNo network counterpart; used to scope which endpoints received a policy or integrationFleet views show agent status and policy assignment; confirm the agent is healthy before assuming gaps are network-side

How to correlate host logs with Zeek and Suricata data during a hunt

Correlation starts with a single question about ownership: which host held this IP address at the moment the Suricata alert fired? Begin with the alert in the Security Onion Console, take the source or destination address and time window, and find the endpoint that owned that address then. On a DHCP network the answer changes over time, so the lease record from your DHCP server, not the current asset inventory, is the evidence that matters. Confirm that the Elastic Agent host record and its IP history line up with the network events you are pivoting from, because a mismatch here sends the investigation to the wrong machine.

Once you have a candidate host, use Osquery live queries from Fleet to examine its present state. Check running processes, listening ports and established connections against the destination and port from the alert. Be clear about the limit of this step: a live query shows what the host looks like when you ask, not what it looked like during the alert. If the activity may already have ended, rely on the host telemetry already indexed for that time window and treat live results as corroboration. Confirm the Osquery tables and query options available in your Elastic Agent version before writing hunt procedures, since they vary by platform and release.

Then confirm the network side with Zeek connection logs for the same window, matching on the endpoint address, the remote peer and the timestamps. Zeek records the flow whether or not a signature fired, so it shows whether the connection existed, how long it lasted and how much data moved. Clock sync and time zone handling decide whether these records agree. Verify that the endpoint, sensors, manager and search nodes use synchronized time sources, and confirm how each log source stores timestamps before comparing them. A skew of even a few minutes can place a host event on the wrong side of an alert. Make the timing check a documented first step in every hunt.

Securing the enrollment path and endpoint privileges

An endpoint agent that can receive policy changes and run live queries on thousands of hosts is a privileged tool. The cards below cover who can change what, how enrollment is protected, what endpoints are allowed to reach, and how changes are traced back to a person.

Scope Console and Fleet roles to duties

Separate the people who view endpoint data from those who change Fleet policies and agent configuration. Analysts usually need read access to host events, while only a small group should edit integrations or policies that affect every enrolled host. Before go-live, list each role, the actions it grants and the named accounts assigned to it. Confirm in your own environment how Security Onion's built-in roles map to these duties, and whether custom roles are available in your edition.

Restrict who can run Osquery live queries

Osquery live queries let an operator ask any enrolled endpoint for process lists, installed software, users or files in near real time. That reach makes live query rights a sensitive permission, separate from ordinary search. Limit the role to named responders, and decide whether live queries against sensitive hosts need a second approver. Confirm how query activity is logged in your deployment so that every query can be tied to an account.

Protect enrollment tokens and keys

An enrollment token lets a new machine join the Fleet under a chosen policy, so a leaked token can add a device you did not authorize. Treat tokens as secrets: create them for a specific policy, keep their lifetime short where the product allows, and revoke any token that is no longer needed. Store them in your secrets tool rather than in deployment scripts or golden images. Confirm the revocation and expiry options available in your version.

Limit outbound endpoint connections

Enrolled agents must reach the Fleet server, and the endpoints they monitor should not reach anything else on the internet that the policy does not require. Define host groups and firewall rules that permit only the agent traffic to the Fleet port and the manager path, and block general outbound access from monitored servers. Test enrollment and check-ins from a representative host in each segment before widening access. Confirm the ports your version uses in the hardware and architecture documentation.

Architecture docs

Record who changed a policy

A Fleet policy change can alter what every host sends, so each edit needs a traceable owner and reason. Require a ticket reference for policy edits, export policy versions on a schedule, and review changes against them. Ask your Security Onion team which audit records the Console keeps and where they are stored. Security Onion Pro adds OIDC single sign-on, which ties Console logins to your identity provider, and professional support. Confirm which audit visibility features your edition and contract include.

Confirm Pro identity and hardening features

For regulated environments, the Pro edition lists OIDC single sign-on for the Console, LUKS data-at-rest encryption, FIPS mode and OS STIG compliance among its features. Enforcing identity at login and keeping admin accounts out of shared use depends on these controls. Use the Pro page to confirm the feature list, then verify in a test grid how role assignments flow from your identity provider. Ask the vendor which items are included in your license term.

Security Onion Pro

Why agents show offline or events stop arriving

This table lists the failures that most often leave Elastic Agents offline or stop events reaching Security Onion, with the likely cause, a first diagnostic check and the direction of the fix. Work down the rows in order, since several symptoms look the same from the Fleet view. Confirm exact messages and settings in your own grid, because the checks here describe where to look rather than specific error text.

FailureLikely causeDiagnostic checkFix direction
Agent cannot reach the Fleet listenerHost firewall, network path or host groups do not allow the endpoint to reach the Fleet service on the manager or Fleet nodeFrom the endpoint, confirm basic TCP reachability to the Fleet address and port your grid uses, and check the agent's own logs for connection failuresOpen the path in the firewall host groups and any endpoint or network controls, then confirm the enrollment address matches the one the grid publishes
Certificate or trust errorsThe endpoint does not trust the certificate chain presented by the Fleet service, often after a re-keyed or reinstalled grid, or a TLS-inspecting proxyCompare the certificate the endpoint sees with the one the grid issued, and check whether a proxy sits on the pathRe-enroll with a correct CA bundle, or exclude the Fleet path from TLS inspection; do not disable verification as a permanent fix
Policy not appliedThe agent is enrolled but assigned to the wrong Fleet policy, or the policy change has not reached the agent yetIn Fleet, compare the agent's assigned policy and its last check-in time with the policy you editedAssign the correct policy, confirm the integrations inside it are enabled, then allow the agent to check in and reload
Unsupported endpoint OS versionThe endpoint operating system or build is outside what the Elastic Agent release supports, so enrollment or specific integrations failCheck the agent version against the endpoint OS in the Elastic Agent support matrix before deploymentUpgrade the endpoint, pick a supported agent version for that OS, or limit the integrations you enable on it
Clock skewThe endpoint clock drifts far enough from the grid that TLS validation and event timestamps fail or land in the wrong time windowCompare the endpoint time with the manager time and check that the endpoint syncs to a time sourceCorrect time synchronization on the endpoint and confirm all grid nodes use the same time source
Search node stops indexing when the manager is downPer the Security Onion architecture docs, search nodes cannot reach Redis when the manager is unavailable and stop indexing, so host events queue or dropCheck the manager service and its connectivity from search nodes before blaming the endpoint, and see whether indexing counts fall across all sources at onceRestore the manager first, then confirm indexing resumes; plan manager availability and receiver redundancy as part of the grid design
Osquery queries timing outLive queries target too many hosts, heavy queries run on large endpoints, or the agent is slow to check in, so responses arrive after the window closesRun the same query on one healthy host, then widen to a group, and compare agent check-in latencyNarrow the query by host group and columns, run it in smaller batches, and tune expectations for slow or offline agents

Questions buyers ask before deploying endpoint visibility

Can our internal team deploy Elastic Agent from Security Onion on its own?

Yes, many teams do, provided they have someone who can administer Security Onion, Fleet policies and the endpoint estate. The work is not hard in isolation, but it spans several skill areas: Linux administration for the Security Onion grid, Windows and macOS endpoint administration, Fleet policy design, and analyst-side correlation of host logs with Zeek and Suricata data. Ask yourself who will own policy changes after go-live, who can approve a rollout to production hosts, and who will check that logs arrive and parse correctly. If those answers point to one or two people who are already stretched, a fixed-scope partner engagement can cover the build while your team takes over operations. Confirm your Security Onion version first, since 3.x changes the upgrade path and the platform requirements.

What drives the effort of an endpoint visibility rollout?

Effort scales with the number of endpoints, the operating system mix, the complexity of Fleet policies, how change control works, and whether the network is airgapped. Each Windows, Linux and macOS build may need its own policy and test cycle, and every extra integration you enable adds parsing, dashboards and validation. Change control matters because host agents touch production machines, so approvals, maintenance windows and rollback plans add elapsed time even when the technical work is small. Airgapped environments need packages and rules staged from ISO media, which adds planning. Security Onion's airgap documentation describes how the ISO carries packages and rules for offline installs, so confirm the staging steps for your version before estimating. A written scope should list each of these factors with your actual numbers.

What cost components should we expect for endpoint visibility?

Costs fall into internal time, licensing where it applies, and partner fees if you engage one. Internal time covers planning, testing on pilot hosts, change approvals, and ongoing policy and agent maintenance. Security Onion itself is free and open, but its repository is licensed under the Elastic License 2.0, which is source-available rather than OSI open source, so review that license with your legal team. Security Onion Pro is a paid edition sold on 1 to 5 year terms, and it adds features such as OIDC single sign-on and FIPS mode. Confirm whether you need those features before budgeting for them. Partner fees depend on the written scope. Ask for a quote that separates one-time build work from recurring items such as retainers, upgrades and testing, and ask which items depend on infrastructure you already run.

How long does it take to get a confirmed timeline in a written scope?

The timeline is confirmed only after the scope is agreed in writing, and that scope depends on a short discovery of your environment. Expect the discovery to cover your endpoint inventory, OS mix, existing logging, network placement of the Security Onion grid, change control steps and any airgap or proxy constraints. Those inputs determine the deliverables and the number of test cycles. DeployOpen does not publish a price list or a standard duration, so the schedule comes from the written scope rather than from a generic figure. Ask for the discovery output, the deliverables list, the acceptance criteria and the dates each side must meet before work starts.

What access and information do we need to provide?

You need administrative access to the Security Onion console and Fleet, a named contact for each endpoint group, maintenance windows for pilot and production waves, and a current host inventory. Inventory should list hostnames, operating system and version, owner, network segment and whether the host can reach the Security Onion manager or Fleet server. For Windows and macOS, also confirm who can approve software installs and who holds local administrator rights. For Linux, confirm package sources, especially on airgapped networks. Security teams should provide the logging standards they want applied, and the change board should approve the rollout plan before the first host is touched.

Is Elastic Defend covered on this page?

No, Elastic Defend is covered in a sibling topic about Security Onion endpoint data. This page focuses on deploying Elastic Agent from Security Onion to Windows, Linux and macOS hosts, managing Fleet policies, using Osquery live queries where they fit, and correlating host logs with Zeek and Suricata network data. Elastic Defend and the default endpoint installer have their own collection scope, feature licensing and Sigma antivirus mapping, so read that topic before deciding how to combine them. If you plan to run both, the Fleet policy design should reflect that choice from the start so the two do not conflict.

What breaks most often when host agents report into Security Onion?

The most common failures are network path problems between endpoints and the Fleet server, certificate or enrollment mistakes, policies applied to the wrong host group, and version mismatches between agents and the grid. Firewall rules are a frequent blocker because the endpoint must reach the Fleet endpoint on the port your deployment uses, and that path must be confirmed before rollout. Another risk is noisy policies that flood the index and slow searches, so test each integration on a pilot group first. Before production, check that host events arrive, timestamps are correct, and fields parse as expected. Also verify that Zeek and Suricata records can be joined to the same host on the time window your analysts use.

How do we keep endpoint agents and policies secure over time?

Treat agent enrollment, policy changes and the Fleet console as privileged operations. Limit who can edit policies, require review for changes that affect many hosts, and use role-based access in the Security Onion console. Security Onion Pro adds OIDC single sign-on, which is worth evaluating if your identity provider is the control point for administrator access. Keep agents updated on a planned cadence, and record which versions run on which hosts so you can answer audit questions. For regulated environments, the Security Onion hardening guidance and the control evidence you collect should be planned together, since DeployOpen prepares systems and evidence for assessments but does not issue audit reports or certifications.

How DeployOpen scopes and delivers endpoint visibility on Security Onion

DeployOpen plans, implements, documents and supports self-hosted platforms inside the client's own infrastructure, and endpoint visibility on Security Onion is scoped the same way. In practice, the written scope defines which Windows, Linux and macOS endpoints get an Elastic Agent, which Fleet policies apply to each group, whether Osquery live query access is granted and to whom, and which host log sources must line up with Zeek and Suricata records in the Security Onion Console. The scope also names the Security Onion deployment type and the nodes that receive agent traffic, because a manager outage stops search nodes from indexing, so the agent rollout depends on how the grid is designed. Most engagements are fixed-scope, meaning these decisions, the deliverables and the timeline are agreed in writing before any endpoint is touched.

Several items drive the scope and the quote, and the client should ask for each to be stated explicitly. Endpoint count and operating system mix change the packaging, testing and rollback effort, and the number of Fleet policies changes how much configuration must be reviewed. Change control matters as well: some organizations need agent installs pushed through their existing software distribution tooling, and others need a pilot group and a documented rollback path before broad deployment. Verification is part of the deliverable, including confirmation that host events arrive, that correlation searches return matching Zeek and Suricata records for a test host, and that the Osquery permissions match the client's access model. Ask DeployOpen to list each of these as a numbered deliverable rather than a general statement of effort.

After the initial rollout, the work becomes recurring. Agent and integration upgrades, Fleet policy changes as new endpoints join, and reviews of Osquery usage all continue after handover, and these are commonly covered by a retainer for ongoing support, upgrades and continuous testing. DeployOpen does not publish prices, so the cost comes from the written scope: the one-time build, any recurring retainer, and any hardware or cloud capacity the client pays for directly. Before requesting a quote, confirm the Security Onion version and the deployment type you run, since the upgrade path and supported configurations differ by release, and ask DeployOpen to state in the scope which party owns the Elastic Agent credentials and the Fleet administration role.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.