-
http://lifuzu.com/blog/2016/03/21/feeding-build-logs-into-elasticsearch-with-logstash-on-jenkins/
-
Docker image for Jenkins: https://hub.docker.com/_/jenkins/
docker run -p 8080:8080 -p 50000:50000 jenkins
Check for Jenkins on http://localhost:8080
After setting up Jenkins with the install tool, you have to delete the Jenkins cookies, see https://issues.jenkins-ci.org/browse/JENKINS-12875
For the problem concerning
Problem accessing /configureTools/descriptorByName/LogstashInstallation/checkHost. Reason: Not Found
see https://issues.jenkins-ci.org/browse/JENKINS-36227 -
ELK Docker image: https://elk-docker.readthedocs.io/
docker pull sebp/elk docker run -p 5601:5601 -p 9200:9200 -p 9300:9300 -p 5044:5044 -it --name elk sebp/elk
Check Kibana Frontend at http://localhost:5601/
-
Install logstash plugin
-
In "Manage Jenkins" go to "Global Tool Configuration " --> "Logstash Plugin"
-
As Indexer Type, chose "ELASTICSEARCH"
-
As hostname, use the IP of the Docker Host (
http://172.17.0.1
- find it out withdocker exec gocd_agent /sbin/ip route|awk '/default/ { print $3}'
)
As port, use
9200
(the ElasticSearch REST port) -
Last active
February 9, 2023 15:56
-
-
Save michaellihs/aac382b4072354b4b39812b57bd6c55f to your computer and use it in GitHub Desktop.
ElasticSearch, Logstash & Kibana for Jenkins Logs
Hi, I am facing one issue in Kibana:
All the logs are coming to ElasticSearch. However, the index field names containing dots are getting empty values in Kibana.
Please help me. What should I do now?
@Indigenuity @pradeeps please help me.
@NaincyKumariKnoldus the image is not visible
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Because I know people are still out there experiencing this--the problems is likely that your elasticsearch process probably is only listening for incoming requests targeting
localhost
. Check out the network settings inelasticsearch.yml
. You probably need to bind using a differentnetwork.host