Elasticsearch platform is designed to take data from any source and as a build guy, we create a lot of metadata every day, across Android, iOS, Windows platform, such as compiler warnings, errors, lint message, unit test reports, etc. Is it possible to collect such data, then store into Elasticsearch with Logstash plugins, then visualize them with Kibana?
In this article, we setup an Elasticsearch instance very quickly, with the support of elastic cloud, then config the Logstash plugin on Jenkins to feed log data into Elasticsearch space, then display the message with Kibana.
Create elasticsearch instance on elastic cloud:
Install logstash plugin on Jenkins with Plugin Manager:
Config logstash plugin as an agent:
Config logstash for each project:
Search message from Kibana Web UI:
Some useful URL to check status of elasticsearch:
Check health of elasticsearch:
Check indices (tables/contents) on elasticsearch:
Written with StackEdit.