Skip to main content

Documentation Portal

How to fetch Plant Integrations (connector) logs?

Connector logs can be fetched in two ways: via the API endpoint (recommended) or manually from the server.

Option 1 — Via API endpoint

Logs can be downloaded directly via an API endpoint.

  1. Open a browser and navigate to the Swagger UI of your connector: https://<your-connector-url>/swagger

  2. Locate the Logging section.

  3. Expand the GET /api/logging endpoint.

  4. Click Try it out, then Execute.

  5. Download the returned .zip file — it contains all log files present in the connector's logs folder.

2026_R1_PlantIntegrations_Swagger_GetLogs.png

Option 2 — Manually from the server

  1. Log in on the connector (Plant Integrations) server.

  2. Open the folder 'C:/…/<my-connector>/logs

    2026_R1_PlantIntegrations_LogsFolder_1.png
  3. Select all log files and compress them into a .zip file. 

    2026_R1_PlantIntegrations_LogsFolder_2.png

    Note

    Connector generates two types of log files, each with its own numbering sequence: text logs (connector.log_<id>.txt) and JSON logs (connector.log_<id>.json). Both contain the same entries — the JSON format is simply a structured alternative that makes it easier to process logs programmatically, integrate with aggregation tools, and run automated diagnostics.

  4. Open the browser and browse to https://files.trendminer.com

    files_trendminer_com.png
  5. Log in using your TrendMiner file server credentials. If you don't know these or your credentials are not working, please contact your TrendMiner Customer Success Manager or send a support request to support@trendminer.com

    files_trendminer_com-login.png
  6. Click on upload.php

    files_trendminer_com-upload.png
  7. Select your file and enter your company or plant name and click 'Send File'.

    files_trendminer_com-upload2.png