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
Copy file name to clipboardExpand all lines: pipeline/inputs/ebpf.md
+18-2Lines changed: 18 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ The plugin supports the following configuration parameters:
20
20
|:----|:------------|:--------|
21
21
|`poll_ms`| Set the polling interval in milliseconds for collecting events from the ring buffer. |`1000`|
22
22
|`ringbuf_map_name`| Set the name of the eBPF ring buffer map to read events from. |`events`|
23
-
|`trace`| Set the eBPF trace to enable (for example, `trace_bind`, `trace_malloc`, `trace_signal`, `trace_vfs`). This parameter can be set multiple times to enable multiple traces. |_none_|
23
+
|`trace`| Set the eBPF trace to enable (for example, `trace_bind`, `trace_malloc`, `trace_signal`, `trace_tcp`, `trace_vfs`). This parameter can be set multiple times to enable multiple traces. |_none_|
24
24
25
25
## System dependencies
26
26
@@ -130,7 +130,7 @@ All traces include the following fields:
130
130
131
131
| Field | Description |
132
132
|:------|:------------|
133
-
|`event_type`| Type of event (`signal`, `malloc`, `bind`, or `vfs`). |
133
+
|`event_type`| Type of event (`signal`, `malloc`, `bind`, `tcp`, or `vfs`). |
134
134
|`pid`| Process ID that generated the event. |
135
135
|`tid`| Thread ID that generated the event. |
136
136
|`comm`| Command name (process name) that generated the event. |
@@ -166,6 +166,22 @@ The `trace_bind` trace includes these additional fields:
166
166
|`bound_dev_if`| Network device interface the socket is bound to. |
167
167
|`error_raw`| Error code for the bind operation (`0` indicates success). |
168
168
169
+
### TCP trace fields
170
+
171
+
The `trace_tcp` trace captures TCP connection lifecycle events and includes these additional fields:
172
+
173
+
| Field | Description |
174
+
|:------|:------------|
175
+
|`event_type`| TCP event subtype (`listen`, `accept`, or `connect`). |
0 commit comments