Skip to content

inputs.socketstat: feature request: return field containing number of entries #17918

@jimis

Description

@jimis

Currently socketstat plugin returns the following, as copied from docs:

Tags

  • state (string) (for tcp, dccp and sctp protocols)
  • proto
  • local_addr
  • local_port
  • remote_addr
  • remote_port

Fields

  • bytes_acked (integer, bytes)
  • bytes_received (integer, bytes)
  • segs_out (integer, count)
  • segs_in (integer, count)
  • data_segs_out (integer, count)
  • data_segs_in (integer, count)

TODO:

an extra field possibly named count that stores the number of occurences for each tag combination:
(proto, local_addr, local_port, remote_addr, remote_port).

Use Case:

One can use this info during DDoS attacks, to see whether many hits are coming from specific addresses, or if it's fully distributed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions