Skip to content

Instantly share code, notes, and snippets.

@michaellihs
Last active February 9, 2023 15:56
Show Gist options
  • Save michaellihs/aac382b4072354b4b39812b57bd6c55f to your computer and use it in GitHub Desktop.
Save michaellihs/aac382b4072354b4b39812b57bd6c55f to your computer and use it in GitHub Desktop.
ElasticSearch, Logstash & Kibana for Jenkins Logs

Jenkins Logs in ElasticSearch

@pradeeps
Copy link

pradeeps commented Jan 2, 2020

Just to close this thread, posting the solution,

You need to add /my_index/my_doc to the url like below

http://x.x.x.x:9200/my_index/my_doc

/my_index/my_doc is created on the first POST and you can find that in Kabana to create an index/dashboard

You can replace /my_index/my_doc with your own index/type.

/my_index/my_doc is "index" and "type"

@Indigenuity
Copy link

Getting connection refused from jenkins -> elasticsearch. Any idea why?

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 in elasticsearch.yml. You probably need to bind using a different network.host

@NaincyKumariKnoldus
Copy link

NaincyKumariKnoldus commented Feb 4, 2023

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.
image

@pradeeps
Copy link

pradeeps commented Feb 9, 2023

@NaincyKumariKnoldus the image is not visible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment