You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DNS flow. This is basically directly mapped from Cilium's [LogRecordDNS](https://github.com/cilium/cilium/blob/04f3889d627774f79e56d14ddbc165b3169e2d01/pkg/proxy/accesslog/record.go#L264):
130
130
131
131
132
132
| Field | Type | Label | Description |
@@ -242,7 +242,7 @@ DNS flow. This is basically directly mapped from Cilium's LogRecordDNS:
242
242
<aname="flow-EventTypeFilter"></a>
243
243
244
244
### EventTypeFilter
245
-
EventTypeFilter is a filter describing a particular event type
245
+
EventTypeFilter is a filter describing a particular event type.
246
246
247
247
248
248
| Field | Type | Label | Description |
@@ -296,6 +296,9 @@ EventTypeFilter is a filter describing a particular event type
296
296
| socket_cookie |[uint64](#uint64)|| socket_cookie is the Linux kernel socket cookie for this flow. Only applicable to TraceSock notifications, zero for other types |
297
297
| cgroup_id |[uint64](#uint64)|| cgroup_id of the process which emitted this event. Only applicable to TraceSock notifications, zero for other types |
298
298
| Summary |[string](#string)||**Deprecated.** This is a temporary workaround to support summary field for pb.Flow without duplicating logic from the old parser. This field will be removed once we fully migrate to the new parser. |
299
+
| extensions |[google.protobuf.Any](#google-protobuf-Any)|| extensions can be used to add arbitrary additional metadata to flows. This can be used to extend functionality for other Hubble compatible APIs, or experiment with new functionality without needing to change the public API. |
300
+
| egress_allowed_by |[Policy](#flow-Policy)| repeated | The CiliumNetworkPolicies allowing the egress of the flow. |
301
+
| ingress_allowed_by |[Policy](#flow-Policy)| repeated | The CiliumNetworkPolicies allowing the ingress of the flow. |
299
302
300
303
301
304
@@ -337,6 +340,7 @@ multiple fields are set, then all fields must match for the filter to match.
337
340
| destination_identity |[uint32](#uint32)| repeated | destination_identity filters by the security identity of the destination endpoint. |
338
341
| http_method |[string](#string)| repeated | GET, POST, PUT, etc. methods. This type of field is well suited for an enum but every single existing place is using a string already. |
339
342
| http_path |[string](#string)| repeated | http_path is a list of regular expressions to filter on the HTTP path. |
343
+
| http_url |[string](#string)| repeated | http_url is a list of regular expressions to filter on the HTTP URL. |
340
344
| tcp_flags |[TCPFlags](#flow-TCPFlags)| repeated | tcp_flags filters flows based on TCP header flags |
341
345
| node_name |[string](#string)| repeated | node_name is a list of patterns to filter on the node name, e.g. "k8s*", "test-cluster/*.domain.com", "cluster-name/" etc. |
342
346
| ip_version |[IPVersion](#flow-IPVersion)| repeated | filter based on IP version (ipv4 or ipv6) |
@@ -350,8 +354,7 @@ multiple fields are set, then all fields must match for the filter to match.
350
354
<aname="flow-HTTP"></a>
351
355
352
356
### HTTP
353
-
L7 information for HTTP flows. It corresponds to Cilium's accesslog.LogRecordHTTP type.
L7 information for HTTP flows. It corresponds to Cilium's [accesslog.LogRecordHTTP](https://github.com/cilium/cilium/blob/728c79e427438ab6f8d9375b62fccd6fed4ace3a/pkg/proxy/accesslog/record.go#L206) type.
355
358
356
359
357
360
| Field | Type | Label | Description |
@@ -458,8 +461,7 @@ L7 information for HTTP flows. It corresponds to Cilium's accesslog.LogRecor
458
461
<aname="flow-Kafka"></a>
459
462
460
463
### Kafka
461
-
L7 information for Kafka flows. It corresponds to Cilium's accesslog.LogRecordKafka type.
L7 information for Kafka flows. It corresponds to Cilium's [accesslog.LogRecordKafka](https://github.com/cilium/cilium/blob/728c79e427438ab6f8d9375b62fccd6fed4ace3a/pkg/proxy/accesslog/record.go#L229) type.
463
465
464
466
465
467
| Field | Type | Label | Description |
@@ -497,8 +499,7 @@ L7 information for Kafka flows. It corresponds to Cilium's accesslog.LogReco
497
499
<aname="flow-Layer7"></a>
498
500
499
501
### Layer7
500
-
Message for L7 flow, which roughly corresponds to Cilium's accesslog LogRecord:
Message for L7 flow, which roughly corresponds to Cilium's accesslog [LogRecord](https://github.com/cilium/cilium/blob/728c79e427438ab6f8d9375b62fccd6fed4ace3a/pkg/proxy/accesslog/record.go#L141):
502
503
503
504
504
505
| Field | Type | Label | Description |
@@ -548,6 +549,24 @@ that happened before the events were captured by Hubble.
548
549
549
550
550
551
552
+
<aname="flow-Policy"></a>
553
+
554
+
### Policy
555
+
556
+
557
+
558
+
| Field | Type | Label | Description |
559
+
| ----- | ---- | ----- | ----------- |
560
+
| name |[string](#string)|||
561
+
| namespace |[string](#string)|||
562
+
| labels |[string](#string)| repeated ||
563
+
| revision |[uint64](#uint64)|||
564
+
565
+
566
+
567
+
568
+
569
+
551
570
<aname="flow-PolicyUpdateNotification"></a>
552
571
553
572
### PolicyUpdateNotification
@@ -709,10 +728,9 @@ that happened before the events were captured by Hubble.
709
728
<aname="flow-TraceContext"></a>
710
729
711
730
### TraceContext
712
-
TraceContext contains trace context propagation data, ie information about a
731
+
TraceContext contains trace context propagation data, i.e. information about a
713
732
distributed trace.
714
-
For more information about trace context, check the W3C Trace Context
This enum corresponds to Cilium's L7 accesslog [FlowType](https://github.com/cilium/cilium/blob/728c79e427438ab6f8d9375b62fccd6fed4ace3a/pkg/proxy/accesslog/record.go#L26):
// This enum corresponds to Cilium's L7 accesslog [FlowType](https://github.com/cilium/cilium/blob/728c79e427438ab6f8d9375b62fccd6fed4ace3a/pkg/proxy/accesslog/record.go#L26):
188
198
enumL7FlowType {
189
199
UNKNOWN_L7_TYPE=0;
190
200
REQUEST=1;
191
201
RESPONSE=2;
192
202
SAMPLE=3;
193
203
}
194
204
195
-
// Message for L7 flow, which roughly corresponds to Cilium's accesslog LogRecord:
// Message for L7 flow, which roughly corresponds to Cilium's accesslog [LogRecord](https://github.com/cilium/cilium/blob/728c79e427438ab6f8d9375b62fccd6fed4ace3a/pkg/proxy/accesslog/record.go#L141):
197
206
messageLayer7 {
198
207
L7FlowTypetype=1;
199
208
// Latency of the response
@@ -206,10 +215,9 @@ message Layer7 {
206
215
}
207
216
}
208
217
209
-
// TraceContext contains trace context propagation data, ie information about a
218
+
// TraceContext contains trace context propagation data, i.e. information about a
210
219
// distributed trace.
211
-
// For more information about trace context, check the W3C Trace Context
// DNS flow. This is basically directly mapped from Cilium's [LogRecordDNS](https://github.com/cilium/cilium/blob/04f3889d627774f79e56d14ddbc165b3169e2d01/pkg/proxy/accesslog/record.go#L264):
544
561
messageDNS {
545
562
// DNS name that's being looked up: e.g. "isovalent.com."
546
563
stringquery=1;
@@ -569,8 +586,7 @@ message HTTPHeader {
569
586
stringvalue=2;
570
587
}
571
588
572
-
// L7 information for HTTP flows. It corresponds to Cilium's accesslog.LogRecordHTTP type.
// L7 information for HTTP flows. It corresponds to Cilium's [accesslog.LogRecordHTTP](https://github.com/cilium/cilium/blob/728c79e427438ab6f8d9375b62fccd6fed4ace3a/pkg/proxy/accesslog/record.go#L206) type.
574
590
messageHTTP {
575
591
uint32code=1;
576
592
stringmethod=2;
@@ -579,8 +595,7 @@ message HTTP {
579
595
repeatedHTTPHeaderheaders=5;
580
596
}
581
597
582
-
// L7 information for Kafka flows. It corresponds to Cilium's accesslog.LogRecordKafka type.
// L7 information for Kafka flows. It corresponds to Cilium's [accesslog.LogRecordKafka](https://github.com/cilium/cilium/blob/728c79e427438ab6f8d9375b62fccd6fed4ace3a/pkg/proxy/accesslog/record.go#L229) type.
584
599
messageKafka {
585
600
int32error_code=1;
586
601
int32api_version=2;
@@ -623,7 +638,7 @@ message LostEvent {
623
638
}
624
639
625
640
// AgentEventType is the type of agent event. These values are shared with type
626
-
// AgentNotification in pkg/monitor/api/types.go
641
+
// AgentNotification in pkg/monitor/api/types.go.
627
642
enumAgentEventType {
628
643
AGENT_EVENT_UNKNOWN=0;
629
644
// used for AGENT_EVENT_GENERIC in monitor API, but there are currently no
0 commit comments