# Difference betwwen logs and apm

**URL:** <https://discuss.elastic.co/t/difference-betwwen-logs-and-apm/277008>\
**Category:** APM\
**Tags:** server, ui\
**Created:** [June 25, 2021, 4:41am UTC](https://discuss.elastic.co/t/difference-betwwen-logs-and-apm/277008 "2021-06-25T04:41:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![guimap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guimap/32/90813_2.png) [@guimap](https://discuss.elastic.co/u/guimap)\
**Post date:** [June 25, 2021, 4:41am UTC](https://discuss.elastic.co/t/difference-betwwen-logs-and-apm/277008/1 "2021-06-25T04:41:50Z")

</div>

hi guys,

i've been adding apm into my applications, then I noticed that apm elk adds some indices into my elasticsearch, such as transactions, errors and etc  
my questions is, if I have all this data in these indices, why i should use logs into my app?

just for context, today I have some trasports into my app, that I log some info like "User not found" or "Cannot find Email into databade", and all this data go to my elasticsearch, and now I'm wondering if I really need save this logs, even with all this data which is saves by apm

thanks guys 😉

---

<div class="post-metadata">

**Author:** ![nugusbayevkk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nugusbayevkk/32/126683_2.png) [@nugusbayevkk](https://discuss.elastic.co/u/nugusbayevkk)\
**Post date:** [June 25, 2021, 6:50am UTC](https://discuss.elastic.co/t/difference-betwwen-logs-and-apm/277008/2 "2021-06-25T06:50:05Z")

</div>

Hi @guimap  
Apm contains information in the context of a transaction, span, error for analyzing performance.  
Logs, in turn, contain business or technical information about what is happening in the application.  
In my experience, some data complement others. And you can configure the correlation of data apm + logs of your application. After this configuration, you can go from apm to discover to analyze the logs.

---

<div class="post-metadata">

**Author:** ![guimap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guimap/32/90813_2.png) [@guimap](https://discuss.elastic.co/u/guimap)\
**Post date:** [June 25, 2021, 6:04pm UTC](https://discuss.elastic.co/t/difference-betwwen-logs-and-apm/277008/3 "2021-06-25T18:04:33Z")

</div>

hi @nugusbayevkk thanks for reply 🙂

Basically, APM is related with requests and performance of these request, and logs is related to business, which contains data about business, like a message which valids a business logic, eg: "Cannot add the user because its doesnt belongs onto organization" ?

---

<div class="post-metadata">

**Author:** ![nugusbayevkk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nugusbayevkk/32/126683_2.png) [@nugusbayevkk](https://discuss.elastic.co/u/nugusbayevkk)\
**Post date:** [June 25, 2021, 6:23pm UTC](https://discuss.elastic.co/t/difference-betwwen-logs-and-apm/277008/4 "2021-06-25T18:23:27Z")

</div>

Yes, in general, it is 🙂

---

<div class="post-metadata">

**Author:** ![guimap](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/guimap/32/90813_2.png) [@guimap](https://discuss.elastic.co/u/guimap)\
**Post date:** [June 25, 2021, 6:28pm UTC](https://discuss.elastic.co/t/difference-betwwen-logs-and-apm/277008/5 "2021-06-25T18:28:33Z")

</div>

Thanks for reply @nugusbayevkk

---

<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:** [July 16, 2021, 2:28pm UTC](https://discuss.elastic.co/t/difference-betwwen-logs-and-apm/277008/6 "2021-07-16T14:28:47Z")

</div>

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