Re:Show HN: pg_netstat, a Postgres extension to monitor data...
by burmecia on Tuesday September 13, 2022 @09:32AM
(#32824039)
Yes, you need root to grant capture permission to Postgres, but Postgres doesn't need to run as root. The main purpose is to easily ingest network traffic data into Postgres for further process. Yes we can use tcpdump to do the same thing, but that needs another tool to load data into Postgres.
At that point you have root and can use any of the dozen estabilished ways to do the same thing tho ?