Agents and syslog¶
Signalith takes events from these kinds of senders:
- the Signalith Agent, installed with one line per computer: it runs Fluent Bit for you, with nothing to configure by hand;
- Fluent Bit agents on Windows and Linux, set up from the Add data page;
- syslog (RFC 5424, RFC 3164 and CEF) from firewalls, switches, appliances and servers without an agent;
- OpenTelemetry Collectors and SDKs over OTLP/HTTP (see OpenTelemetry);
- tools built for Splunk's HTTP Event Collector, once turned on (see Splunk HEC senders).
Checking that sources still send¶
A detection can't fire on data that never arrives. The Data sources page (under Data in the menu) lists every host and source type that sent events in the last 7 days, for every role:
- Status: Sending when it sent in the last 15 minutes, Quiet after that, and
Stopped once nothing came for
dashboards.stale_after(2 hours by default; on the Settings page, Search > Quiet data source after). Sources from the sample data say Sample data and are never called stopped. - Per minute: its events per minute over the last hour.
- Last hour: how the last hour compares with its usual hour over the day before. It says 3.9× usual when the last hour had at least three times its usual count (and 60 events more), or 80% below usual when it had a third or less (of a usual hour of at least 60 events). Sources seen for less than a day say New.
- 24 hours: its events in the last day.
Sources that stopped or changed sharply come first and are marked, and Needs a look shows only those. Open a source to see its events per minute over the last hour, per hour over 7 days, and its 10 latest events, with Open in Search for the rest.
The page reads with the same searches the Search page runs, so it shows only data the viewer may search, and it refreshes every minute. Signalith's own events and its scans are left out. The built-in detection Data source stopped sending raises a finding when a source that sent all day stops (see Dashboards).
Agents¶
Open Add data, pick Linux or Windows, and follow the steps: install Fluent Bit, save Signalith's CA certificate and the generated configuration, and restart it. The configuration already contains the server address and ingest token, and sends over HTTPS, checking the server's certificate with that CA.
The configuration also sends two short headers with every batch: the computer's name
(X-Signalith-Agent, which Fluent Bit fills in itself) and which Signalith version made
the configuration and which certificate authority it trusts (X-Signalith-Config). With
them, the Endpoints page lists each agent once, even when it
sends to several servers, and says when one needs a new configuration. They are labels
only: the agent token is what lets an agent in. OpenTelemetry Collector configurations
send the second header only; Signalith takes a Collector's computer name from its events.
Agents on other machines must send to an address they can reach, such as
https://192.168.1.20:7779, not localhost. Enter it under Agents send to on that
page (or set server.public_url or SIGNALITH_PUBLIC_URL; agents use its host on the
agent port), and allow the agent port, 7779 by default, through this computer's firewall,
besides the web port, 9000 by default.
The agent port¶
Agents send to a port of their own, apart from the web page and API: Fluent Bit, the OpenTelemetry Collector (OTLP), osquery and network sensors. The web page is on port 9000 and agents send to port 7779, by default. Both use the same HTTPS certificate.
The agent port takes only what agents need: events (/api/ingest, and OTLP's
/api/otlp/v1/logs, and HEC's /services/collector/... when turned on), osquery (/api/osquery/...), the network sensor's own requests, the CA certificate
(/api/tls/ca.pem), the sensor install script (/api/sensor/install.sh), and /livez
and /readyz for load balancer health checks. It serves no web page and no API. Once
server.agent_listen is set, the web port turns agents away with 503 and a message
naming the agent port.
Set it with server.agent_listen (or SIGNALITH_AGENT_LISTEN), on the Settings page
as Agent address:
server.agent_listen: off sends agents to the web port, as before 0.3. When you change
the agent port, set each agent up again from Add data: agents that send to the old
port stop sending.
Add data writes the agent port into each configuration: Agents send to takes the host of the server's address and port 7779. With several servers, each server's choice uses that server's own agent port. A firewall must let in both ports, and a load balancer in front of several servers must forward both (see Load balancers).
Upgrading to 0.3¶
New installs (signalith init, the installers and the Docker compose files) set
server.agent_listen, so their web port never takes agent traffic. A server installed
before 0.3 has no server.agent_listen in its signalith.yaml. It keeps its web port
(such as 8080), listens for agents on that address's host at port 7779, and still takes
agents on the web port, with a warning in the log for each one, so nothing stops sending.
To move over:
- Allow port 7779 through the firewall, and through any load balancer.
- Set up each agent again from Add data; the new configuration sends to port 7779.
- Set
server.agent_listen, such as0.0.0.0:7779, so the web port stops taking agents. A later release will stop taking agents on the web port.
The Docker quick start is different: its updated files publish 9000 and 7779 and set
server.agent_listen, so after the update open https://localhost:9000 and set up each
agent again from Add data (see
Upgrading to 0.3).
What each source becomes¶
Events are sorted into data models with common (CIM-style) field names, so one search or detection covers every source of the same kind.
| Source | Data model |
|---|---|
| Windows Security log: 4624, 4625 logons; 4648 explicit credentials; 4768, 4769, 4771 Kerberos; 4776 NTLM credential checks | Authentication |
| Windows Security log: 4688 process creation | Endpoint |
| Windows Security log: 4720, 4726, 4738, 4781 accounts; 4722, 4725 accounts enabled and disabled; 4723, 4724 password changes and resets; 4741, 4742 computer accounts; 4727, 4728, 4729, 4730, 4731, 4732, 4737, 4744, 4749, 4754, 4756, 4759, 4783, 4790 group changes; 4798, 4799 group listings; 4698, 4699, 4701, 4702 scheduled tasks; 4886, 4887 certificates; 4662 directory object operations; 1102 log cleared | Change |
| Windows Security log: 5140, 5145 network share access | Filesystem |
| Sysmon: 1 process create, 5 process terminated, 8 remote thread, 9 raw disk read, 10 process access; 3 network connection; 6 driver and 7 DLL load; 11 file create, 23 and 26 file delete; 12, 13, 14 registry; 22 DNS query | Endpoint, Network_Traffic, Image_Load, Filesystem, Registry, Network_Resolution |
| PowerShell script block logging: 4104 (Microsoft-Windows-PowerShell/Operational; see Detections) | Script |
| PowerShell module logging: 4103 (same channel), and the Windows PowerShell log: 400, 403, 600, 800 (see Detections) | Script; Other |
| Linux sshd, sudo, su (auth.log, secure, or journald) | Authentication |
| Linux audit log (auditd: audit.log, or its syslog plugin; each program start also joined into one process launch, see Detections) | Other, sourcetype linux:audit; program starts in Endpoint |
| Apache and Nginx access logs (/var/log/nginx, /var/log/apache2, /var/log/httpd; see Detections) | Web |
| Linux useradd, userdel, usermod, gpasswd | Change |
| Syslog from any device (see below), including CEF | Authentication, Change, Network_Traffic or Other |
| OpenTelemetry Collector or SDK logs over OTLP/HTTP (OpenTelemetry) | the same models for Windows, Linux and syslog records; Other for app logs |
| Splunk HEC senders (Splunk HEC senders) | by sourcetype: Authentication, Web and the cloud sources' models; Other for the rest |
| Zeek on a network sensor: conn, dns, http, ssl and x509, files, notice (Network sensor) | Network_Traffic, Network_Resolution, Web, Certificates, File_Transfers, Intrusion_Detection; Modbus, DNP3 and the ICSNPP industrial protocol logs in Industrial; other Zeek logs in Other |
| Suricata EVE from a network sensor, or over syslog from pfSense and OPNsense: alert, flow, dns, http, tls, fileinfo (Network sensor) | Intrusion_Detection, Network_Traffic, Network_Resolution, Web, Certificates, File_Transfers; modbus, dnp3 and enip in Industrial; other event types in Other |
| Status of a sensor built with the sensor install script, every 5 minutes (Network sensor) | Other, sourcetype sensor:status |
| A log you saved a parser for on Add data → Any other log (Any other log) | The data model you chose, with the parser's sourcetype |
| Anything else | Other (searchable by text and fields) |
sshd prints the user name a client sends, and on a failed key sign-in the key ID of the certificate it offers, as they were sent. When either copies sshd's own "from
portsrc and
with src_ambiguous=true. Search src_ambiguous=true to find these sign-in attempts;
host says which server they were made against.
Ingest limits¶
Agents send batches to /api/ingest, and OpenTelemetry Collectors to /api/otlp/v1/logs. One request can be up to 16 MB, with up to 200,000
records of at most 1 MB each, nested at most 32 levels deep; Fluent Bit's requests are
far smaller. A request over a limit is refused with 413 (400 for broken JSON) and a
message saying what to change, and nothing from it is stored. When many agents send at
once, the extra requests wait their turn and then get 503, so Fluent Bit sends them again.
A server writes 32 batches at once (ingest.max_concurrent, under Settings > Web; lower it
on a server with little memory). Batches being written at the same time go to OpenSearch
together, in at most 2 requests at once of up to 16 MB each, so many agents each sending a
small batch make a few large writes rather than many small ones. While others wait, one agent token gets at most a quarter
of them, so one busy agent cannot hold up the rest. In multi-tenant mode
these slots, and the memory for batches arriving described below, are shared by all tenants,
and no one tenant takes more than half of either while others wait.
A batch is read in full before it waits for its turn, so a slow sender never holds up
other agents. Batches still arriving may hold 256 MB of memory in all, and one sender (an
IPv4 address or an IPv6 /64) a quarter of that; past it, the sender gets 503 and sends
again shortly. Senders behind one proxy or NAT can be listed in server.shared_addresses.
A batch has 2 minutes to arrive; one still arriving at least 16 KB every 30 seconds gets
more time, up to 10 minutes, so slow links work. A batch that stalls or takes longer is
refused with 408 and a message saying to send smaller batches (a lower Flush in Fluent
Bit's [SERVICE] section), and the server log notes it. On the OTLP route it is refused
with 503 and Retry-After instead, which the OpenTelemetry Collector retries.
Each event keeps its own time unless that is older than ingest.max_event_age (a week
by default, or the shortest retention period if shorter) or more than an hour ahead. Then it is filed
under the time it arrived and its own time is kept in device_time, so a wrong clock or
a forged date cannot create indices for other days. Search device_time=* to find these
events.
Within that window the sender's time is the event's time, so a sender can date an event
days back or up to an hour ahead. When that time is more than 5 minutes from when the
event arrived, the arrival is stored with it in signalith_received (as Splunk's
_indextime), so signalith_received=* finds events whose time came from the sender
and differs from when Signalith got them.
A syslog line with no time zone, such as Oct 11 09:15:02 in an RFC 3164 auth.log, could
be in any zone, and reading it as the server's would file the event hours off. Such an
event takes the collector's time instead (Fluent Bit's date, the OpenTelemetry record's
time, the HEC event's time, or when Signalith received it), and the time as the host
wrote it is kept in device_clock (for example 2026-10-11T09:15:02, with the year
guessed). The same goes for a JSON record's date or @timestamp and a Windows event's
TimeCreated written without a zone, such as 2026-10-11 09:15:02. A time with a zone
name other than UTC or GMT that the server's own zone doesn't use, such as
2026-10-11 09:15:02 XYZ, is not trusted either: the receive time is used.
Field names that senders choose (JSON keys, syslog structured data, CEF extensions) are
limited so they cannot fill OpenSearch's mapping: at most 200 fields per event, names of
up to 128 letters, digits and _ - @ : / in at most 5 dot-separated parts, and at most
1,000 new names per daily index each time Signalith starts. With several servers, those
1,000 are shared among the servers that stored events in the last 10 minutes (at least
100 each). One sender (an agent token, or an address without one) gets at most half of
a server's share, so it cannot leave none for the others. No server adds new names to a
day whose index already has 2,100 fields (see Servers). Fields Signalith itself
produces are always kept, so an event is never lost to extra fields. Fields left out are
counted in the event's dropped_fields (search dropped_fields>0), their values stay in
_raw, and the Health page and /api/health show the totals under ingest
(retimed, fields_dropped).
A few field names belong to Signalith, which sets them itself: @timestamp, datamodel,
device_time, dropped_fields and the sample-data marker signalith_sample. When a
sender's event has one of them, it is left out and counted in dropped_fields the same
way; the event is stored without it. The one exception is the time of a JSON record:
its date (Fluent Bit sends one) is the event's time, or its @timestamp when it has
no date. These two are read as the time, not stored as fields and not counted. When
a record has both, its @timestamp is not used.
Syslog¶
Firewalls, switches, routers, appliances and servers without an agent can send syslog. Point them at this server's address over TLS on port 6514, or, once it is turned on, as plain syslog on UDP or TCP port 514. Syslog over TLS uses the web UI's certificate (see HTTPS).
A new install takes syslog over TLS only. Plain syslog over UDP and TCP is
unencrypted, and anyone who can reach the port can send fake events, so it is off by
default: signalith init, the packages, the Windows installer, the Docker quick start
and the Helm chart all leave it off. Many network devices can only send plain syslog;
for them, turn it on as below, and limit who may send with
Allowed senders (below).
Upgrading: an existing install keeps plain syslog as it was. Package, Windows and
hand-made installs keep their signalith.yaml, which an upgrade never changes, and
settings saved on the Settings page stay saved. A Docker quick start set up before keeps
UDP and TCP on 5514 (514 on the host) although the new signalith.yaml has them off:
its first start with this version sees Signalith's own files in the signalith-data
volume, notes the answer in plain-syslog.json there, and never decides again; a new
install's empty volume stays on TLS only. A Helm upgrade keeps plain syslog when the
release's syslog Service takes port 514, unless server.syslog.plain says otherwise.
Turn plain syslog off on the Settings page once every device sends over TLS.
Open Add data and pick Syslog for copy-ready setup for rsyslog, syslog-ng, Cisco IOS and ASA, Palo Alto, FortiGate, pfSense and OPNsense, UniFi and Windows, with this server's address filled in; rsyslog and syslog-ng send over TLS, with the CA certificate to save. Send the test message it shows (over TLS while plain syslog is off) and watch it arrive on the same page.
Turning on plain syslog¶
On Add data > Syslog, an admin chooses Turn on plain syslog (UDP and TCP).
The page warns first that plain syslog is unencrypted and can be forged. The button saves
UDP address and TCP address (syslog.udp and syslog.tcp) the way the
Settings page does: 0.0.0.0:514, or 0.0.0.0:5514 in a container, which the Docker
quick start publishes as port 514. Plain syslog starts with the next restart: Restart
now opens the Settings page at its restart banner. Where the system needs more, the page
says so after the click: on Linux, the command that lets a service open port 514 (it
restarts Signalith too), and on Windows the firewall rules for UDP and TCP 514.
When the server's environment sets these settings (SIGNALITH_SYSLOG_UDP and
SIGNALITH_SYSLOG_TCP), the page says so instead of offering the button. The Helm chart
sets them from server.syslog.plain (see Kubernetes). To turn plain
syslog on in signalith.yaml instead:
or give signalith init -syslog-udp 0.0.0.0:514 -syslog-tcp 0.0.0.0:514 on a new
install (install.ps1 -SyslogUdp 0.0.0.0:514 -SyslogTcp 0.0.0.0:514 on Windows).
By hand, forwarding a Linux server's logs with rsyslog over plain TCP is one line in
/etc/rsyslog.d/90-signalith.conf, then a restart of rsyslog (Add data gives the TLS
setup, which needs a few more):
@@ sends over TCP; a single @ sends over UDP. Signalith reads RFC 5424 and RFC 3164
syslog (including the usual variations, such as Cisco IOS, IOS XR, NX-OS and ASA), and
CEF (Common Event Format) from security products, mapped to CIM fields like src,
dest, dest_port, user and action. Forwarded sshd, sudo, su and user-management messages
land in Authentication and Change like agent data, so the built-in detections apply.
Events have sourcetype=syslog (or cef), host from the message, dvc set to the
sender's address, and facility and severity. A message time without a zone (RFC 3164's
Oct 11 09:15:02, or an ISO 8601 time without an offset, in the header or in a CEF rt,
end or start or a LEEF devTime) is not used, since the device's clock may be in another
zone than the server: the event takes the time Signalith received it, and the device's time
is kept in device_clock. A CEF or LEEF time with a zone name other than UTC or GMT (CST
is three different zones) is not used either. Set the device to send RFC 5424 or
to write its timestamps in UTC with the zone shown
to keep its own times. Otherwise the event time is the one in the message,
unless it is older than ingest.max_event_age (a week by default, or the shortest time any
event category is kept when that is shorter) or more than an hour
ahead; then it is the time Signalith received the message, and the device's own time is
kept in device_time, as for agent data (see Ingest limits).
To accept syslog only from known senders, list them in Allowed senders on the
Settings page, or under syslog.allow:
Over UDP the sender address can be forged, so for trusted senders use TCP or TLS, and
restrict the port with a firewall as well. The Windows installer limits its firewall
rules to the syslog.allow senders.
Without syslog.allow, any computer that can reach a listener can send syslog in any
device's name, over TLS too (TLS proves the server to the device, not the device to the
server). Signalith keeps taking it, so an existing setup keeps working, but says so in its
log each time it starts (syslog is accepted from any computer that can reach these
listeners), naming each listener that is not on 127.0.0.1 or ::1.
Ports below 1024 need extra permission on Linux. The systemd unit grants it; when
running Signalith another way, use a port such as 0.0.0.0:1514. When devices send to a
different port than Signalith listens on, because Docker or a firewall forwards it, set
syslog.public_port so Add data shows the right one (the Docker quick start's plain syslog
listens on 5514 and sets it to 514). The Health page (and /api/health, under syslog) shows the
listeners, how many messages were received, dropped, not written and rejected, and the
most recent senders.
When OpenSearch is down¶
Syslog devices do not send a message again, so Signalith keeps what it cannot write.
When OpenSearch cannot be reached, does not answer in time, is too busy (429), blocks
writes (such as cluster_block_exception when its disk is full) or fails with a 5xx
error, the batch goes to a spool on this server's disk: the private folder
syslog-spool in the state folder. Signalith writes the spooled batches again, oldest
first, as soon as OpenSearch takes writes, trying again after a second and then waiting
longer each time, up to a minute. While OpenSearch refuses them, new batches go straight
to the spool, so the receiver never waits for OpenSearch and keeps reading from devices.
The spool survives a restart: a server that starts with batches in it writes them once
OpenSearch is ready. Each event gets its own document ID before its first write and keeps
it in the spool, so a batch written again is stored once, even one OpenSearch stored but
answered with a timeout or a reset connection: the copy is refused as a duplicate.
Only batch files Signalith wrote are read back: on start, anything else in the folder
(links, pipes, folders, other names, or files larger than a batch may be) is left alone
and counted as spool_skipped.
An event OpenSearch refuses for good, such as one with a value its mapping cannot take, is not spooled: it is counted as not written, as before.
The spool is bounded by Spool size (MB) on the Settings page, under Syslog
(syslog.spool_mb, 1024 MB by default, read at start):
When a batch does not fit, the oldest batches in the spool are dropped to make room, and
counted. The Health page shows how many events were spooled, written from the spool
and dropped because it was full, and how much it holds, and warns when it has dropped
events or is more than half full; /api/health has them under syslog (spooled,
replayed, spool_dropped, spool_events, spool_bytes and spool_max_bytes). With
several servers, each spools the syslog it receives on its own disk, and writes it
itself.