Generating JSON Files for Logstash
The OSK installation prompts you for information that it uses to generate JSON files, which are used for collecting metrics for PeopleSoft Health Center. If you perform the OSK DPK installation before registering the PPM and JMX agents, carry out these steps to get the JSON configuration files for Logstash:
-
Register the PPM and JMX agents as described in an earlier section.
See Obtaining the Integration Broker REST URL.
See PeopleTools: Performance Monitor, "Configuring PeopleSoft Health Center."
-
Enter the value for the Integration Broker REST URL in LOGSTASH_HOME\pt\config\JsonLogstash.properties.
See "Performing Additional Tasks," Reviewing the Logstash Configuration Files.
-
Set the following environment variables:
-
Add JAVA_HOME to the PATH environment variable, where JAVA_HOME is the installation location for Java.
For Microsoft Windows:
PATH=%JAVA_HOME%/bin;%PATH%For Linux:
export PATH=JAVA_HOME/Bin;$PATH -
Set LOGSTASH_HOME to the installation location for Logstash if necessary.
For Microsoft Windows:
set LOGSTASH_HOME=BASE_DIR\pt\logstash-9.1.3For Linux:
export LOGSTASH_HOME=BASE_DIR/pt/logstash-9.1.3
-
-
Go to LOGSTASH_HOME\pt\bin and run the script CreateJSON.bat (Microsoft Windows) or CreateJSON.sh (Linux) to get the JSON files.
See PeopleTools: Performance Monitor, "Configuring PeopleSoft Health Center."
Note:
If you want to add a new application to be monitored, rerun CreateJSON.bat (Microsoft Windows) or CreateJSON.sh (Linux). It is not necessary to restart Logstash.
Note:
For information on generating JSON files with an SSL setup, see the section Using Logstash with an SSL Setup.