The Simplest Way to Make Cilium and Kibana Work Like They Should
Using cilium and kibana together lets teams view Kubernetes network traffic in clear charts. Cilium captures deep packet data at the kernel level, and Kibana turns those logs into searchable dashboards. This workflow helps platform teams spot dropped packets, check service rules, and track pod talk. When a service fails, engineers read the flow logs in Kibana to find the root cause fast. Setting up the link between these two tools takes clear network paths and tight user roles. How data and p
Your coding agents run with your access.
Claude Code reaches prod with a developer's credentials, and approval prompts get clicked through. hoop.dev checks every query, masks sensitive data, and holds risky changes for a human.
Using cilium and kibana together lets teams view Kubernetes network traffic in clear charts. Cilium captures deep packet data at the kernel level, and Kibana turns those logs into searchable dashboards.
This workflow helps platform teams spot dropped packets, check service rules, and track pod talk. When a service fails, engineers read the flow logs in Kibana to find the root cause fast. Setting up the link between these two tools takes clear network paths and tight user roles.
How data and permissions flow between cilium and kibana
Cilium runs on each cluster node and uses Hubble to watch pod traffic. Hubble collects network flow events, DNS queries, and service calls across the cluster. A log shipper reads these flow events from the nodes and sends them to Elasticsearch.
Kibana sits on top of that search index so engineers can query the records. Each step in this chain needs its own keys and role rules. The log shipper uses a write key that only puts records into the flow index. It should never hold rights to delete indexes or change cluster settings.
On the other side, engineers log in to Kibana with their single sign-on accounts. Their group roles decide which indexes and spaces they can read. Cilium also enforces network rules for the log pipeline itself. A strict Cilium rule lets the shipper send data to the search cluster port while blocking other pods.
Common failure modes in flow log pipelines
Many teams rush the setup and use one admin key for the log shipper. If an attacker grabs that broad key from a node, they can wipe all cluster logs. Give the shipper a narrow role that only writes to the daily network log index.
Another common mistake is giving every developer full read rights in Kibana. Layer seven network logs often hold request paths, headers, and query strings. Those fields can expose emails, phone numbers, card numbers, or national IDs in plain text. Data masking rewrites matched fields in results before they reach the screen or the index.
End-to-End Encryption + Cilium Network Policies: architecture patterns and best practices
Continue reading? Get the full guide.
Free. No spam. Unsubscribe anytime.
Teams also run into log loops when Cilium tracks the traffic of the log shipper itself. Every time the shipper sends a batch of logs, Cilium creates new flow events for that call. You should filter out the logging namespace or drop shipper flows to save disk space.
Scoping roles and network paths for safer log reviews
Start by splitting network flow logs into separate indexes based on cluster or team namespace. Create distinct Kibana spaces for each product team so engineers only see their own app traffic. Map those spaces to identity provider groups rather than making local user accounts by hand.
Next, lock down the network path between the Kubernetes nodes and the search backend. Write a Cilium rule that limits egress from the log shipper pods to the search endpoints. Require mutual TLS on that link so no rogue pod can spoof flow records.
Finally, keep an audit trail of who runs searches inside the dashboard. Knowing which user queried sensitive flow logs is vital during a security review. Turn on audit logging in the search cluster and store those records in a separate locked index.
Check database and API queries on the wire
Identity tools, roles, and network rules decide who opens a session. Setup alone cannot check what each query does or mask sensitive values in a response once a session starts. When workflows touch Postgres, MySQL, SQL Server, MongoDB, ClickHouse, Kubernetes APIs, SSH, or internal HTTP APIs, hoop.dev runs beside those services as an open-source proxy, a sidecar for your Postgres or API. It inspects requests coming in and results going back on the wire.
Your login details and client tools stay as they are while hoop.dev guardrails refuse bad deletes or drops before they run. On responses, hoop.dev data masking rewrites matched sensitive values in memory. Furthermore, hoop.dev holds SOC 2 Type II, is MIT licensed, and writes every query and decision to an audit trail that generates evidence for HIPAA, GDPR, and PCI DSS. See the source on GitHub.
Frequently asked questions
How does Cilium send network flow logs to Kibana?
Cilium uses its Hubble component to export flow events to standard output or a local socket. A log shipper collects those records, formats them, and writes them to Elasticsearch for Kibana to read.
Why do Cilium flow logs fill up storage so fast?
Recording every packet across busy pods creates huge data volume, especially when logging the shipper itself. Teams fix this by filtering out health checks, internal log traffic, and known noisy namespaces.
How can teams protect sensitive data inside layer seven flow logs?
HTTP flow logs can contain emails or card numbers inside URLs and headers. Teams should strip sensitive headers at export time and use role rules to limit who reads raw logs.
Related guides
In this post