I'm sending HTTP logs into Kibana, and the response code (200, 401, 500, etc) are correctly parsed out of them as a field. I'd like a time-series chart with the count of each code shown as bars stacked on top of each other in each interval, in different colors. This should help see if there are suddenly more 500 errors, for example.
I'm having a hard time figuring out how to create such a chart in Kibana. Is this possible?
This is a Kibana 4/5 answer, check this answer if you are using Kibana 3
Kibana 4/5
At the moment of writing, the only version available for Kibana 4 is beta1, so these screenshots might be different in future versions of Kibana. I will try to keep them updated, if relevant changes are applied.
Kibana 4 (and 5) provides some features that the previous version didn't have. For example, now we can build panels using the aggregations that were available in ES since version 1.0.
To build a stacked graph of HTTP codes (or other field), you have to:
This is a Kibana 3 answer, check this answer if you are using Kibana 4 or 5
Kibana 3
If I do not misunderstand your question what you need is:
field: <value>
for filtering the exact value. For instance, you can have queries like:The final result will be something like: