Skip to content

Troubleshoot the Sekoia Endpoint Agent

This article helps you diagnose and resolve issues with the Sekoia Endpoint Agent by checking logs, using the CLI, and identifying common errors.

Check the agent logs

The first step in troubleshooting is to check the agent log file.

C:\Windows\System32\config\systemprofile\AppData\Local\SEKOIA.IO\EndpointAgent\logs\agent.log
/var/log/endpoint-agent/agent.log
/var/log/endpoint-agent/agent.log

Note

Always use the latest version of the Sekoia Endpoint Agent. Enabling automatic updates is recommended.

If you contact Sekoia support, include the following information:

  1. The exact error message and, if available, the full stack trace.
  2. The agent log file.
  3. The operating system and version on the affected host.
  4. The agent version (agent -h or .\agent-latest.exe --version).
  5. The steps that reproduce the issue and any relevant configuration details.

For network or TLS-related issues, support may also request a network capture (PCAP). Only provide a PCAP when needed, and handle it according to your organization's data-handling policies.

CLI reference

To list all available options and commands, run:

.\agent-latest.exe -h
agent -h
/Applications/SekoiaEndpointAgent.app/Contents/MacOS/SekoiaEndpointAgent -h

Usage:

.\agent-latest.exe <command> [<args>]
agent-latest <command> [<args>]
/Applications/SekoiaEndpointAgent.app/Contents/MacOS/SekoiaEndpointAgent <command> [<args>]

Options:

Option Description
--help, -h Display help and exit
--version Display version and exit

Commands:

Command Description
install Install the agent
update Update the agent
uninstall Uninstall the agent

Common issues

The agent does not start on Linux

The Sekoia Endpoint Agent uses the Linux audit framework. It cannot operate correctly when auditd is still running or when another service is holding the audit socket.

Check the status of potentially conflicting services:

sudo systemctl status auditd
sudo systemctl status systemd-journald-audit.socket

If either service is running, follow the steps in Install the Sekoia Endpoint Agent to stop and disable them. Then restart the agent:

sudo systemctl restart SEKOIAEndpointAgent.service
sudo systemctl status SEKOIAEndpointAgent.service

If the agent still does not start, check the agent log file for additional errors.

ERR HTTP request to send logs to SEKOIA.IO failed StatusCode=422

This error indicates a problem with the intake key or the community subscription. Check:

  • Whether the intake key is still valid.
  • Whether the community's subscription is still active.

Sekoia Endpoint Agent: Overview of the agent, supported OS versions, prerequisites, and resource footprint.

Install the Sekoia Endpoint Agent: How to create an intake, download, and install the agent on Windows, Linux, and macOS.

Configure the Sekoia Endpoint Agent: How to set up log file collection, proxy, retention, and optional features.

Update and uninstall the Sekoia Endpoint Agent: How to update the agent manually and remove it from a host.