Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions pipeline/inputs/ebpf.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The plugin supports the following configuration parameters:
|:----|:------------|:--------|
| `poll_ms` | Set the polling interval in milliseconds for collecting events from the ring buffer. | `1000` |
| `ringbuf_map_name` | Set the name of the eBPF ring buffer map to read events from. | `events` |
| `trace` | Set the eBPF trace to enable (for example, `trace_bind`, `trace_malloc`, `trace_signal`). This parameter can be set multiple times to enable multiple traces. | _none_ |
| `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_ |

## System dependencies

Expand Down Expand Up @@ -130,7 +130,7 @@ All traces include the following fields:

| Field | Description |
|:------|:------------|
| `event_type` | Type of event (`signal`, `malloc`, or `bind`). |
| `event_type` | Type of event (`signal`, `malloc`, `bind`, or `vfs`). |
| `pid` | Process ID that generated the event. |
| `tid` | Thread ID that generated the event. |
| `comm` | Command name (process name) that generated the event. |
Expand Down Expand Up @@ -165,3 +165,16 @@ The `trace_bind` trace includes these additional fields:
| `port` | Port number the socket is binding to. |
| `bound_dev_if` | Network device interface the socket is bound to. |
| `error_raw` | Error code for the bind operation (`0` indicates success). |

### `VFS` trace fields

The `trace_vfs` trace includes these additional fields:

| Field | Description |
|:------|:------------|
| `operation` | `VFS` operation type (integer). |
| `path` | File path involved in the operation. |
| `flags` | Flags passed to the `VFS` operation. |
| `mode` | File mode bits for the operation. |
| `fd` | File descriptor returned by the operation. |
| `error_raw` | Error code for the operation (`0` indicates success). |
Loading