I've compiled Nginx with the stub status module, and I want the data to be processed by Logstash and send to ElasticSearch. I'm using the Logstash http_poller module to get the status every 10 seconds.
See http://nginx.org/en/docs/http/ngx_http_stub_status_module.html. This is what the data looks like when retrieved from the Nginx stub status module:
Active connections: 291
server accepts handled requests
16630948 16630948 31070465
Reading: 6 Writing: 179 Waiting: 106 How can I parse the data to a format that is convenient for ElasticSearch? I've been trying a multiline filter and some grok patterns, but so far without any success.