On this page
meshctl hubble observe
meshctl hubble observe
Gain visibility into network and app protocol flows, such as individual TCP connections, DNS queries, or HTTP requests.
Synopsis
The command extends the visibility that is provided by standard Kubernetes commands
and the Cilium dashboard. It allows you to monitor and observe traffic to, from, and between
workloads in your cluster. You can use this information to determine whether network policies
were accurately applied and to confirm that requests are properly forwarded and dropped.Unlike the Hubble CLI, the meshctl hubble observe
command does not require you to port forward
the Hubble relay service on each cluster that you want to target. Instead, you can simply run
the command against the cluster and workloads that you are interested in.
meshctl hubble observe [flags]
Examples
meshctl hubble observe --since=5m --all
Options
--all View flow logs for all workloads across all namespaces. Note that this command might return an extensive amount of data. Use the filter options to reduce the amount of data that is returned.
--cluster string Filter flows by cluster name
--first uint32 Get the first N flows that were observed.
-f, --follow Follow the flows as they are observed.
-h, --help help for observe
--last uint32 Get the last N flows that were observed (default 20).
--since string Filter flows since a specific date. The format is relative (e.g. 3s, 4m, 1h43,, ...) or one of:
StampMilli: Jan _2 15:04:05.000
YearMonthDay: 2006-01-02
YearMonthDayHour: 2006-01-02T15-07:00
YearMonthDayHourMinute: 2006-01-02T15:04-07:00
RFC3339: 2006-01-02T15:04:05-07:00
RFC3339Milli: 2006-01-02T15:04:05.999-07:00
RFC3339Micro: 2006-01-02T15:04:05.999999-07:00
RFC3339Nano: 2006-01-02T15:04:05.999999999-07:00
RFC1123Z: Mon, 02 Jan 2006 15:04:05 -0700
--until string Filter flows until a specific date. The format is relative (e.g. 3s, 4m, 1h43,, ...) or one of:
StampMilli: Jan _2 15:04:05.000
YearMonthDay: 2006-01-02
YearMonthDayHour: 2006-01-02T15-07:00
YearMonthDayHourMinute: 2006-01-02T15:04-07:00
RFC3339: 2006-01-02T15:04:05-07:00
RFC3339Milli: 2006-01-02T15:04:05.999-07:00
RFC3339Micro: 2006-01-02T15:04:05.999999-07:00
RFC3339Nano: 2006-01-02T15:04:05.999999999-07:00
RFC1123Z: Mon, 02 Jan 2006 15:04:05 -0700
Options inherited from parent commands
--kubeconfig string Path to the kubeconfig file for the cluster.
--kubecontext string Kubernetes context for the cluster to run the command in.
-n, --namespace string Namespace to run the command in. (default "gloo-mesh")
--plain Disable styling for terminal output.
-v, --verbose Enable verbose logging.
SEE ALSO
- meshctl hubble - Base command for hubble array of tooling.