{
  "id": "system/du",
  "family": "system-disk",
  "description": "Compact du output while preserving size rows.",
  "match": {
    "toolNames": ["exec"],
    "argv0": ["du"]
  },
  "transforms": {
    "stripAnsi": true,
    "dedupeAdjacent": true,
    "trimEmptyEdges": true
  },
  "summarize": {
    "head": 8,
    "tail": 6
  },
  "failure": {
    "preserveOnFailure": true,
    "head": 12,
    "tail": 10
  },
  "counters": [
    {
      "name": "entry",
      "pattern": "^\\S+\\s+.+"
    }
  ]
}
