Elastic Certified Observability Engineer Exam: Metrics — Enable and configure integrations to collect the logs from a specific service

Saidani Mohamed El Amine
3 min readAug 21, 2024

--

Hello Team! after deploying Elastic Agent, you want to monitor a service like Mysql or Nginix or any service from 384 services and more that Elastic Agent support.

We can access to the integration from two ways, the first is from Interations directly from kibana and the other one, you go to fleet>>Agent Policy>>add integration.

let jump to it!

then click on the Agent Policy, in our lab we have Fleet Server Policy

Then you click on Add integration, and this will redirect you to the list of integration we have

you search for the integration that you’re looking for like Mysql

you have to select the correct one for your use case, if you’re not familiar with the different integration you can refer to the official documentation.

you can also find a details about this integration here in the page before you add the integration, once you ready you click on the Add Mysql, it will redirect you to this page where you can configure your integration, by specifying what you want to collect, in our case we need just metrics, and also an important point, is the address of your service and the credentials to access to it

here you can also give more details and specification about the service you want to collect the metrics from.

once you done you click on save and continue, and here you find your new integration.

to check if you have any issue or it’s working correctly, you go step back and click on the agent itself like this:

if you click again on mysql-2>>input

and after you click on the metrics it will redirect you to the page where you have the metrics / logs coming from this service

you can also confirm from discover or from the dashboards.

hope you like it let me know if you face any issue! see you in the next one ^^

--

--

Saidani Mohamed El Amine

Currently working as DevSecOps consultant with focus on security, monitoring, Big Data, and related topics.