{
  "repo": "elastic/beats",
  "binary": "packetbeat",
  "binary_path": "packetbeat/main.go",
  "surface_kind": "worker_service",
  "type": "worker_service",
  "extensions": {
    "notes": [
      "packetbeat/main.go executes cmd.RootCmd and then runs as a long-lived packet inspection beat.",
      "The previous HTTP service classification was stale."
    ]
  },
  "services": [
    {
      "name": "Packetbeat",
      "package": "github.com/elastic/beats/v7/packetbeat/cmd",
      "methods": [
        {
          "name": "packetbeat",
          "name_key": "Packetbeat.Run",
          "input": "cobra flags + packet capture configuration + outputs",
          "output": "continuous capture and shipping of network traffic metadata",
          "type": "worker"
        }
      ]
    }
  ]
}
