Every log your detection rules read, and whether it arrives

Palari Detect collects your clusters’ Events and logs, and their audit log where you run the control plane, into an event store that runs beside Palari, on your own bucket. Every minute it checks that each source still arrives, and that the fields the rules read aren’t going empty. When one goes quiet or changes format, Palari names the detection rules it leaves blind.

A quiet cluster and a blind one look the same

A detection rule reads what reaches the event store. When a source stops, or a field the rule reads goes empty, the rule still runs every 30 seconds and matches nothing. The Threats page stays quiet either way.

Why not just check that the collector is running?

  • A day of a source’s lines, an hour a bar, empty for the last six hours of the night while the collector’s three agents say ready, and the same empty stretch twice, once left by nobody at work and once by a stopped agent.

    A quiet night and a stopped agent can leave the same empty hour

    At 3 a.m. a quiet cluster can leave an hour without a line, and so can an agent that stopped reading. An attacker may stop one on purpose: MITRE ATT&CK’s T1685, Disable or Modify Tools, includes “interfering with logging pipelines and forwarding mechanisms”, and lists containers among its platforms. Only an entry that arrives every minute, quiet or not, tells the two apart.

    MITRE ATT&CK, “Disable or Modify Tools”, last modified September 11, 2026

  • The collector’s Pods can be ready while a source is off

    The collector’s Pods can all be ready while a source sends nothing, because some sources start off. The Kubernetes documentation says of the API server’s audit policy flag: “If the flag is omitted, no events are logged.” CoreDNS logs no queries until its Corefile has the log plugin: the Kubernetes documentation adds it to check whether “queries are being received by CoreDNS”. On EKS, GKE, AKS and LKE the provider runs the API server, and its audit log never reaches the cluster’s nodes.

  • A web access log line before and after a log_format change: only path goes empty, the column DET-WEB-001 reads.

    A format change empties a column without an error

    The event logging guide of the Australian Cyber Security Centre, CISA and their partners calls a consistent format an important consideration for logs that “can change over time or without notice”. When an upgrade changes a log’s format, the pipeline keeps taking its lines but leaves the column a rule reads empty, and no error says why.

    CISA, “Best Practices for Event Logging and Threat Detection”, August 21, 2024

  • What a stopped agent hasn’t read rotates away

    Lines a stopped agent hasn’t read rotate away, so you need to know within minutes that it stopped. By default, Kubernetes keeps Events for an hour and calls them “informative, best-effort, supplemental data”, and the kubelet keeps up to 5 files of 10 MiB of each container’s log. An evicted Pod’s containers go “along with their logs”.

NIST on log sources

In 2006, NIST, the US standards agency, published its guide to computer security log management. Among the tasks of running it:

“Monitor the logging status of all log sources to ensure that each source is enabled, configured properly, and functioning as expected.”

NIST, “Guide to Computer Security Log Management”, September 13, 2006

What Palari does for each part, on every cluster:

  1. “enabled”

    Says which sources a cluster doesn’t send, and why: the collector’s setting, no collector, or a control plane the provider runs.

    Fix what it names
  2. “configured properly”

    Watches the columns the rules read for a format change. When the audit log goes silent, it compares the file the collector reads with the API server’s --audit-log-path .

    Watch the columns the rules read
  3. “functioning as expected”

    Shows a source as silent after five minutes without its probe’s entry, which the audit log, the Pods’ logs and DNS each get every minute.

    Check each source every minute

Is prod quiet, or can’t Palari see?

Before the on-call engineer reads a quiet week in prod as good news, they ask their agent:

Nothing from Falco or the web servers in prod this week. Is prod quiet there, or can’t we see?

By hand, the agent has to:

  1. Is each agent running?

    Read the collector’s DaemonSets and their Pods, node by node.

    Ready Pods say the agents run, not what they send.

    What it has read

    • DaemonSet
    • Pod
  2. Is each source turned on?

    Read the API server’s audit flags, CoreDNS’s Corefile, the web servers’ log_format and Falco’s output setting.

    On a managed control plane there are no flags to read.

    What it has read

    • kube-apiserver
    • ConfigMap
    • nginx.conf
    • values.yaml
  3. Is each one arriving intact?

    Search for each source’s newest line, then check that the fields the rules read aren’t empty.

    At night, the newest line can be hours old whether the agent runs or not.

    What it has read

    • a search per source
  4. Which rules does each one feed?

    Match every detection rule to the source it reads.

    Each rule’s query names the table it reads, so it opens them one at a time.

    What it has read

    • each rule’s query

With Palari, it reads what Palari checks every minute:

$ palari detect sourcesEvent store GreptimeDB 1.3.0: 4 of 6 log sources healthy, 2 not collected. Sources in prod:    k8s_audit      healthy for 2d  41.7/s     newest 2s ago                    k8s_events     healthy for 2d  2.4/s      newest 2s ago                    pod_logs       healthy for 2d  2,602.4/s  newest 2s ago                    pod_logs_dns   healthy for 2d  712.9/s    newest 2s ago                    pod_logs_http  not collected              The collector leaves the web servers' access logs out (logSources.web.enabled=false): with logSources.web.enabled=true its node agent sends the access logs of the containers logSources.web names here.                    falco_alerts   not collected              The collector leaves Falco's alerts out (logSources.falco.enabled=false): with logSources.falco.enabled=true its node agent sends Falco's alerts here, from the stdout of the containers logSources.falco names.Collector in prod:  sends audit, pods, dns (off: web, falco); node agents 3/3 ready, audit agents 1/1 ready, probe every minute

Which of prod’s sources are healthy

  1. The summary counts the healthy sources. Four of prod’s six are healthy, and two aren’t collected.

  2. Each has been healthy for 2 days, its newest event 2 seconds old. Each row also gives its events’ rate.

What a ready DaemonSet can’t say

  1. Two sources aren’t collected, and each row names the value that turns it on. Until Falco’s is set, a shell Falco catches in a prod container never reaches Palari.

  2. Every agent is ready. A check of the collector’s Pods would pass while two sources are off.

The four rules that read prod’s web access logs and Falco’s alerts can’t fire there: DET-WEB-001 , DET-WEB-002 , DET-RUN-001 and DET-RUN-002 .

How it works

Six steps from your nodes to the rules

Your team turns the sources on and fixes what Palari names, and Palari runs the four steps between.

  1. Step 1: Turn on the sources your team

    Kubernetes Events arrive through the Kubernetes API, with nothing installed in the cluster. The agent chart adds the audit log where you run the control plane, the Pods’ logs, DNS queries, web access logs and Falco’s alerts, each on or off on its own. In the console, Install the collector gives an admin each cluster’s credential and Helm command.

  2. Palari, in your own clusters

    Step 2: Collect on each node

    The audit agent reads the API server’s audit log on the control-plane nodes, and the node agent the Pods’ logs on every node, both read-only. They send to your Palari server with the cluster’s credential, and the server stamps every line with the cluster the credential names. While the server is away, lines wait in a buffer on the node.

  3. Step 3: Keep them in your own bucket

    The event store runs beside Palari on a bucket you provide, and keeps each source in its own table for as long as you set. Its pipeline drops Secret bodies and every response body from the audit log, and redacts tokens and passwords in the logs; a secret printed in another format is stored as written. Palari can also write a copy of every event, as it arrived and before anything is dropped or redacted, to a bucket you create with Object Lock in compliance mode.

  4. Step 4: Check each source every minute

    A probe writes a line, reads one ConfigMap through the API and looks up a name, so the Pods’ logs, the audit log and DNS each get an entry a minute. Five minutes without one, and the source shows as silent, with the likeliest reason. Web access logs and Falco’s alerts have no probe, since a web server logs only the requests it gets and Falco writes only when one of its rules fires: after an hour without a row, Log sources stops judging them and shows Check overdue.

  5. Step 5: Watch the columns the rules read

    Every minute, Palari compares how much of each such column was empty in the last five minutes with the hour before. When a format change empties one, the source shows drift, with the rules that read that column.

  6. Step 6: Fix what it names your team

    Log sources says why a source is silent, drifted or not collected, and names the rules it leaves blind. Where a setting would send the source, it names the value that turns it on; the web access logs also need their containers named.

What each source needs

Kubernetes Events need nothing installed in the cluster: Palari watches them through the Kubernetes API. Every other source needs the agent chart, and some need more: the audit log a control plane you run, with Palari’s audit policy and a log file; DNS queries CoreDNS’s log plugin; web access logs your web servers’ containers named and a format Palari parses (nginx’s default main format doesn’t); Falco’s alerts json_output: true.

Palari doesn’t read the copy of the audit log a provider delivers elsewhere, such as EKS’s control plane logging. The agents run as root with no Linux capabilities and read the logs through read-only host paths, so their namespace needs the privileged Pod Security level; Palari Posture reports that host access as findings, as it would for any Pod.

For agents

With the Agent Skill, your agent checks what it can’t see before it says nothing happened

The skill’s workflow for a threat has a step that reads what the cluster sends, and its evals check what the agent reports when the event store doesn’t answer.

  • It asks what the cluster sends

    palari detect sources gives a row for each cluster and source, with its state and why. The workflow tells the agent that a source not collected or silent sees nothing.

  • It reads the logs where Palari keeps them

    The CLI gives it a Pod’s or a workload’s lines, the API requests on an object or made with a ServiceAccount’s tokens, and any table searched by its columns’ values. --jq keeps what it needs from each.

  • When the store doesn’t answer, it says so

    When the event store is down, the CLI exits with code 7, and the agent can still read the threat itself. It waits, tries once more, then reports what it couldn’t read.

  • Turning a source on stays with your team

    Only an admin can issue a cluster’s credential, and the agent signs in to Palari as a viewer. It passes on the setting a row names, such as logSources.falco.enabled=true, for your team to set.

One eval answers every read of the logs with the event store’s error:

"error": "the event store is unavailable; try again later",
"code": "events_unavailable",

Fails

mallory@corp.com exec'd into the Pod. The logs show nothing unusual.

Why: it says the logs show nothing when they didn't read

It also fails an agent that triages the threat or reads the same logs a third time. CLI and the Agent Skill

From the Agent Skill’s evals, on the CLI’s test fixtures.

For people

Your team sees every cluster’s sources in the console

They sign in with your identity provider. Viewers read every source and search the logs, and an admin gets each cluster’s credential and Helm command for the collector.

  • Detect , then Log sources

    Every source of every cluster

    The page lists each cluster’s sources with their state, rate, last 24 hours, newest event and parser health, and whether the evidence copy holds them. Under them, the pipeline shows the collectors, the aggregator, the event store and the buckets as Palari knows them. On a cluster’s overview, Needs attention lists the sources in trouble.

  • Log sources , then a source

    One source, and the rules it leaves blind

    A source’s panel says what its state means and names the rules that may miss threats, or that can’t fire on the cluster at all. It shows the source’s events per hour, its heartbeat, and each column’s empty share against the hour before. While a source is silent or drifted, the Threats page opens with “Threats may be missed” and the same rules.

  • Detect , then Logs

    The logs, searched where they’re kept

    The page searches one table at a time, by its columns’ values, a term or failures only, over up to seven days. A workload’s Logs tab reads its Pods’ lines, deleted Pods’ included. Where Palari reads the audit log, each object’s Audit trail lists the API requests made on it.

On the record. Each collector credential issued in the console or through the API is in Palari’s own audit log.

Palari reads only what its own agents and the Kubernetes API send. It doesn’t read a logging stack you already run, or forward logs to one.

See what each of your clusters sends

You install Palari with Helm in your own cluster and turn on its event store, and Log sources shows which of each cluster’s sources arrive. Put your agent on the first line of defense: it investigates, your team decides.