Skip to content

Commit

Permalink
process_open_sockets: Mark pid column as additional instead of index
Browse files Browse the repository at this point in the history
The `pid` column values are not unique, so it should not be an index.
  • Loading branch information
Smjert committed Nov 14, 2023
1 parent 55145b3 commit 9a55465
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specs/process_open_sockets.table
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
table_name("process_open_sockets")
description("Processes which have open network sockets on the system.")
schema([
Column("pid", INTEGER, "Process (or thread) ID", index=True),
Column("pid", INTEGER, "Process (or thread) ID", additional=True),
Column("fd", BIGINT, "Socket file descriptor number"),
Column("socket", BIGINT, "Socket handle or inode number"),
Column("family", INTEGER, "Network protocol (IPv4, IPv6)"),
Expand Down

0 comments on commit 9a55465

Please sign in to comment.