Let's say I have lots of logging data of a machine that bakes bricks. After a brick has been baked it will be tested to determine if the quality is within predefined parameters. Each brick that started the baking process will be logged and each successfully tested brick will be logged. Therefore we know how many bricks have been baked in total and how many where successful.
I have 3 types of bricks: A, B and C, so the logs of successful bakings of these bricks will look like:
[@timestamp] [Brick A] [OK]
[@timestamp] [Brick B] [OK]
[@timestamp] [Brick C] [OK]
The log of a brick (no matter which type) that has started the baking process looks like:
[@timestamp] [Baking Started]
Now I want to create a chart that will show the yield over a period of time (per week/month/year). So that means the number of successfully baked bricks (all types combined) compared to the total amount of baked bricks in percentages.
I have uploaded all this data in elasticsearch with logstash but I can't seem to figure out how to create this chart in kibana, can anyone help?