{
  "id": "service/ss",
  "family": "service-network-state",
  "description": "Compact ss output while preserving socket rows.",
  "match": {
    "toolNames": ["exec"],
    "argv0": ["ss"]
  },
  "transforms": {
    "stripAnsi": true,
    "dedupeAdjacent": true,
    "trimEmptyEdges": true
  },
  "summarize": {
    "head": 8,
    "tail": 6
  },
  "failure": {
    "preserveOnFailure": true,
    "head": 10,
    "tail": 10
  },
  "counters": [
    {
      "name": "socket",
      "pattern": "^(?!Netid\\s|State\\s).+\\S.*$"
    }
  ]
}
