Expand my Community achievements bar.

Forwarding AEM logs to ELK

Avatar

Level 1

Hello everyone!

 

The requirement is I need to forward all AEM logs to ELK and I am new to this requirement ,so need help on below items.

1. How to integrate my AEM local instnace to ELK?

2. Can AEM logs be directly sent to ELK?

3. Steps and possible ways to forward logs from crx-quickstart/launchpad/logs to ELK.

 

Thanks in advance for the help.

 

Vinitha

1 Reply

Avatar

Community Advisor

Hi,

 

Let me suggest you a high-level approach that you could explore:

  1. How to integrate my AEM local instance with ELK?
    This is addressed in point 3.

  2. Can AEM logs be directly sent to ELK?
    No, the logs cannot be sent directly to ELK without some intermediate processing.

  3. Steps and possible ways to forward logs from crx-quickstart/launchpad/logs to ELK.
    As mentioned, you will need an intermediate process to forward the logs on a scheduled basis. Although I’m not an expert in the ELK stack, I believe Logstash can be used to collect logs from AEM and then forward them to Elasticsearch. You would need to write a script or set up a configuration that posts the AEM log files to Logstash. You might want to explore the HTTP input plugin for Logstash, which allows you to upload logs into Logstash.

Hope this helps.



Esteban Bustamante