A container opens a shell at 3 a.m. Nobody deployed, nobody is on call for that service. Your traces are quiet, so are your metrics: the application sees nothing. This article is about Falco runtime security, from the rule that spots the gesture to the logs and traces that tell you what happened around it.
The facts come from the official Falco and Falcosidekick repositories and documentation, read on 14 November 2026. I did not deploy Falco for this article: the screenshots are real excerpts of project files, and anything unverified is flagged as such.
For a neighbouring case, the intruder trap, also read honeytokens with Koney and Tetragon. Here the need is different: know when abnormal behaviour happens, then find it again in your observability tools.
The problem: instrumentation only sees the code you instrumented
A trace describes a request crossing your services. A log tells what the code chose to say. Neither flags a process started by hand in a container, a sensitive file read or an unexpected outbound connection. Those things happen below the application, in the kernel.
Falco sits right there. Its README describes it as a runtime security tool for Linux that detects abnormal behaviour in real time. It watches events, such as system calls, against rules, and can enrich them with container runtime and Kubernetes metadata. Originally created by Sysdig, the project is a CNCF graduated project and its code is licensed under Apache 2.0.
Falco runtime security: what sits between the kernel and the alert
Here is the path of an event, from the bottom up.
- The driver captures system calls. The documentation lists two drivers: the modern eBPF probe, the default, and the kernel module. The modern eBPF probe needs no specific kernel version; the documentation says that 5.8 and later is usually enough, with BPF ring buffer support and a kernel that exposes BTF.
- The rules engine compares each event with the loaded rules.
- The output writes the alert: standard output, a file, or HTTP to a relay.
The kernel driver provides the “syscall” source. Plugins add other sources, which is beyond this article.
Anatomy of a rule: what you actually write
A rule is a YAML object with at least a name, a condition, an output and a priority. The condition is a Boolean predicate on event fields. The output is a string where you interpolate the same fields with a % sign, as in printf.
The official “Terminal shell in container” rule is a good example. It fires when a shell starts in a container with an attached terminal, which typically happens with kubectl exec. Its priority is NOTICE, and it carries tags such as mitre_execution. Its description suggests treating it as an auditing rule, most useful next to other alerts from the same container.

Keep three habits for your own rules.
- Restrict the condition by event type. The documentation shows why: without a clause on the type, the rule fires for every system call the shell makes, not only for its start.
- Put fields that identify the workload in the output: container, image, user. A missing field shows as
<NA>. - Start from the official rules, then add exceptions rather than rewriting.
From noise to a useful alert: sort before you send
A security alert that rings too often ends up ignored. For an SRE, that is toil: handling by hand what should have been filtered. Before wiring anything, decide what deserves a page, a ticket or a plain log line.
The rule priority is a first filter. Tags are a second. The append_output setting, described in the documentation, adds text or fields to a subset of rules chosen by source, name or tag. You can, for instance, add the hostname to every “syscall” rule without touching the rule files. Added fields appear under output_fields in the JSON output.
Falcosidekick: routing alerts to your tools
Falco writes the alerts. Falcosidekick distributes them. According to its README, Falco posts events over HTTP and Falcosidekick forwards them to the systems you configure: chat, on-call, logs, message queues, storage and OpenTelemetry. Each destination has its own queue, so a slow one does not delay the others.
One caution: the main branch of the repository is Falcosidekick v3, flagged as beta. Version 2 stays on the 2.x branch and its configuration is not compatible with v3. Choose the version on purpose, and read the migration guide before you upgrade.
The Falco side takes a few lines in falco.yaml:

Linking a Falco alert to logs and traces
This is the heart of the matter. A lone alert says “a shell opened”. It does not say what the pod was doing just before, or which request was in flight. You have to bring it into the same space as your other signals.
The Falcosidekick OTLP output goes that way. It exports logs and metrics:
- one log record per event, named
falco.alert, with a severity derived from the priority; - a cumulative counter,
falcosecurity.falco.rules.matches, broken down by rule, priority, source, host and tags.
The documentation states that there is no traces signal. A Falco event is a point in time, with no duration and no parent, so it is a log record, not a span. For the differences between these signals, see the Collector Contrib components, which explains where logs, metrics and traces flow.

The extra_attributes setting adds output fields, such as k8s.ns.name, to the counter attributes. Be careful: each distinct value creates a series. The documentation says that beyond 2,000 attribute combinations, the SDK adds to one overflow series. Keep low-cardinality fields.
Correlation in practice
A trace does not carry the Falco alert, and the alert carries no trace_id. The join happens through shared attributes: namespace, pod, container, host, timestamp. This is my own reasoning, not a feature documented by Falco, and I have not tested it end to end.
- In the alert, note the namespace, the pod and the time.
- In your logs, filter on the same attributes, for the same time window.
- In your traces, look for the requests that pod served just before and just after.
For this join to work, your logs and traces must carry the same Kubernetes metadata. Kubernetes metadata enrichment covers that topic for Dynatrace, and shipping logs with Fluent Bit shows the log path.
Steps to start without breaking production
- Check compatibility. Check the kernel and architecture (x86_64 or aarch64 per the documentation).
- Deploy Falco with the official rules on a single test cluster, using the Helm chart the project publishes.
- Enable JSON and HTTP output as in the excerpt above.
- Connect Falcosidekick to a single destination, a test channel first.
- Trigger a known case: a
kubectl execin a test pod. - Measure the noise for a week, then add exceptions.
How to check that it works
Run the kubectl exec and look for the alert “A shell was spawned in a container with an attached terminal” in the Falco logs, then in Falcosidekick. The Falcosidekick README offers a /readyz check on port 2801. If the alert does not arrive, look at the driver first, then at the http_output URL.
Best practices
- Treat Falco alerts as security signals, not as proof: an alert calls for an investigation.
- Keep rules under version control and test every exception.
- Limit metric attributes to contain cardinality.
- Protect outputs: a chat channel must not receive secrets.
- Do not mix tools: Falco detects at kernel level, your traces measure application latency.
Frequently asked questions
Does Falco replace a tracing tool?
No. Falco watches system behaviour, not requests. It complements traces and logs, it does not replace them.
Do I need a kernel module?
Not necessarily. The modern eBPF probe is the default driver and needs no download if the kernel is recent enough. The kernel module remains an option, with full privileges.
Does Falco send OpenTelemetry traces?
Through Falcosidekick it sends logs and metrics, but the documentation explicitly excludes traces. Check this in the version you deploy.
Conclusion
Falco sees what instrumentation cannot, and Falcosidekick carries it to your tools. The real work comes next: sorting the noise, then aligning attributes so you can find the alert again in logs and traces. Sources: Falco documentation, Falcosidekick repository.
span.observer is an independent community blog, not affiliated with Dynatrace LLC, the Falco project or Sysdig. Trademarks belong to their owners. Tools change fast: check commands and options in the official documentation.