I'm using spooling to disk. Seems I named it incorrectly. sorry.
Currently the status output is the following
{
"beat": {
"cpu": {
"system": {
"ticks": 126531,
"time": {
"ms": 126531
}
},
"total": {
"ticks": 4275999,
"time": {
"ms": 4275999
},
"value": 4275999
},
"user": {
"ticks": 4149468,
"time": {
"ms": 4149468
}
}
},
"handles": {
"open": 194
},
"info": {
"ephemeral_id": "82f7dec7-a787-417a-987d-35db893277ab",
"uptime": {
"ms": 70301782
}
},
"memstats": {
"gc_next": 36115744,
"memory_alloc": 40274408,
"memory_total": 468534822008,
"rss": 1439768576
}
},
"filebeat": {
"events": {
"active": 315,
"added": 49756811,
"done": 49756496
},
"harvester": {
"closed": 86,
"open_files": 1,
"running": 1,
"skipped": 0,
"started": 87
},
"input": {
"log": {
"files": {
"renamed": 0,
"truncated": 0
}
}
}
},
"libbeat": {
"config": {
"module": {
"running": 0,
"starts": 0,
"stops": 0
},
"reloads": 0
},
"output": {
"events": {
"acked": 49753904,
"active": 2332,
"batches": 20379,
"dropped": 0,
"duplicates": 0,
"failed": 4733,
"total": 49760969
},
"read": {
"bytes": 139128,
"errors": 0
},
"type": "logstash",
"write": {
"bytes": 2905357460,
"errors": 2
}
},
"pipeline": {
"clients": 1,
"events": {
"active": 315,
"dropped": 0,
"failed": 0,
"filtered": 260,
"published": 49756551,
"retry": 1069725,
"total": 49756811
},
"queue": {
"acked": 49756236
}
}
},
"registrar": {
"states": {
"cleanup": 86,
"current": 1,
"update": 49756496
},
"writes": {
"fail": 0,
"success": 23349,
"total": 23349
}
},
"system": {
"cpu": {
"cores": 2
}
}
}
However when I stop logstash, I don't see any value that gets increased except for failed
. But there definitely should be something that represents the amount of messages that are saved locally to disk but not forwarded to logstash.