# Enable Observability in Spring Boot Application

**URL:** <https://discuss.elastic.co/t/enable-observability-in-spring-boot-application/257683>\
**Category:** APM\
**Tags:** java\
**Created:** [December 4, 2020, 5:13pm UTC](https://discuss.elastic.co/t/enable-observability-in-spring-boot-application/257683 "2020-12-04T17:13:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Raghuk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/raghuk/32/78673_2.png) [@Raghuk](https://discuss.elastic.co/u/Raghuk)\
**Post date:** [December 4, 2020, 5:13pm UTC](https://discuss.elastic.co/t/enable-observability-in-spring-boot-application/257683/1 "2020-12-04T17:13:01Z")

</div>

I am trying to enable observability in Spring Boot application using ELK stack. I have done the following things so far and wondering what I do I need to corelate APM data with application logs.

- I have installed Elastic APM Java agent in my spring boot application and been able to see the application in Kibana APM module.
- I have setup apring boot application log shipping to Elastic Search using Filebeat and I can see log data in Kibana.

Now I am wondering how do I corelate the APM events with the corresponding log entries, so I can drill down to associated log entries when looking at an APM event.

I am fairly new to ELK stack, so I would appreciate any help or guidance in this regard. I am using version 7.10.0 for ELK and Filebeat. The APM java agent version is 1.18.1

---

<div class="post-metadata">

**Author:** ![felixbarny](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/felixbarny/32/27341_2.png) [@felixbarny](https://discuss.elastic.co/u/felixbarny)\
**Post date:** [December 7, 2020, 9:24am UTC](https://discuss.elastic.co/t/enable-observability-in-spring-boot-application/257683/2 "2020-12-07T09:24:16Z")

</div>

Hi and welcome to the forum!

This guide about log correlation should help you to get started: [https://www.elastic.co/guide/en/apm/agent/java/current/log-correlation.html](https://www.elastic.co/guide/en/apm/agent/java/current/log-correlation.html)

Let me know if you have further questions.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 28, 2020, 5:24am UTC](https://discuss.elastic.co/t/enable-observability-in-spring-boot-application/257683/3 "2020-12-28T05:24:29Z")

</div>

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.
