Updated on 2022-02-22 GMT+08:00

Testing the DIS Logstash Plugin

Testing DIS Logstash Input

  1. Start PuTTY and log in to the server on which Logstash is installed.
  2. Start the Logstash program.

    bin/logstash -f dis_to_local.conf

    In the preceding command, -f indicates the path of the configuration file.

  3. Check that DIS Input can successfully download data from DIS.

    Upload data to a stream to which DIS Input points. If Logstash does not report an error and DIS Output can obtain data, the download is successful.

  4. Log in to the DIS console. Two minutes later, check monitoring data of the DIS stream specified in Table 1. If data download (blue lines) is displayed, DIS Logstash Input is running successfully.

Testing DIS Logstash Output

  1. Start PuTTY and log in to the server on which Logstash is installed.
  2. Start the Logstash program.

    bin/logstash -f local_to_dis.conf

    In the preceding command, -f indicates the path of the configuration file.

  3. Check that DIS Logstash Output can successfully upload data to DIS.

    Ingest data to the input end of Logstash. If Logstash does not report an error and can upload data to the specified stream, the upload is successful.

  4. Log in to the DIS console. Two minutes later, check monitoring data of the DIS stream specified in Table 2. If data upload (green lines) is displayed, DIS Logstash Output is running successfully.