Modifying the Logstash Configuration File for an SSL Setup

This section includes guidelines for using Logstash with an OpenSearch installation that uses SSL signon.

  1. Open LOGSTASH_HOME\pt\config\LogstashPipeLine.CONF for editing.

    See "Performing Additional Tasks," Reviewing the Logstash Configuration Files.

  2. Add a line specifying the OpenSearch root certificate in the output section, and then save the file.

    See PeopleTools: Search Technology, "Configuring SSL between PeopleSoft and Search Engine."

    In this example, the cacert line is in bold font:

    input { 
      jmx {
        path => "C:\opensearch\pt\logstash-8.11.3\pt\jmxmonitor"
        polling_frequency => 5
        type => "jmx"
        nb_thread => 15
      }
     }
    output {
    opensearch {
    hosts => [" https://<OS_host>:<OS_port>"]
    index => "psft_hc_metrics"
    user => "osadmin"
    password => "encrypted_password"
    ecs_compatibility => disabled
    cacert => 'C:\opensearch\pt\opensearch-3.2.0\plugins\orcl-security-plugin\config\properties\cacert.cer'
    }
    }