Skip to main contentIBM Β AIOps Training

Configure ELK

In this section you will create the integration with ELK.

πŸš€ TASK: Create the ELK Integration

🌏 Documentation for the Task: Creating ELK connections

Create the ELK Integration with the following parameters:

ELK service URL: from MY_CONFIGURATION.txt
Kibana URL: from MY_CONFIGURATION.txt
Authentication type: Token
Token: from MY_CONFIGURATION.txt
Filter:
{
"query": {
"bool": {
    1. In the CP4AIOPS β€œHamburger” Menu select Define/Data and tool connections

    2. Click Add connection

    3. Under ELK, click on Add connection

    4. Click Connect

    5. Name it ELK

    6. πŸ”Ž Get the data from your configuration file MY_CONFIGURATION.txt - section 2.2 Configure ELK

      ./tools/11_practicum/get_configuration_info.sh > MY_CONFIGURATION.txt
    7. Fill out the fields on the first page:

      image
      ELK service URL: from MY_CONFIGURATION.txt
      Kibana URL: from MY_CONFIGURATION.txt
      Authentication type: Token
      Token: from MY_CONFIGURATION.txt
      Filter:
      {
      "query": {
      "bool": {
    8. Click Test connection. You should get Connection successful!

      image
    9. Click Next

    10. Fill out the Field mapping:

      {
      "codec": "elk",
      "message_field": "message",
      "log_entity_types": "kubernetes.container_image_id, kubernetes.host, kubernetes.pod_name, kubernetes.namespace_name",
      "instance_id_field": "kubernetes.container_name",
      "rolling_time": 10,
      "timestamp_field": "@timestamp"
      }
    11. Click Next

      image
    12. Turn On Data collection

    13. Select Live data for continuous AI training and anomaly detection

    14. Click Done

    15. Make sure that the Data Collection and Connection Status turn green after a few minutes

      image
Page last updated: 03 November 2022