Logging with applications overview
You can use the Ingestion REST API and libraries to send application logs to an IBM® Log Analysis instance.
End of Support: As of 30 March 2025 the IBM Log Analysis and IBM Cloud Activity Tracker services are no longer supported. IBM Cloud Logs replaces these two services. For information about IBM Cloud Logs, see the IBM Cloud Logs documentation.
In an application log, you can find information that you can use to troubleshoot and monitor your application.
In Log Analysis, you can choose any of the following options to send application logs to an IBM Log Analysis instance:
REST API
You can send log data to an IBM Log Analysis instance by using the Ingestion REST API. For more information, see Sending logs by using the REST API.
Code library
You can add code to an application to manage application logs through an IBM® Log Analysis instance.
The following table lists libraries that you can use to send application logs to an IBM Log Analysis instance:
Library | Git Repo | More info |
---|---|---|
Python |
Python | Sending logs by using Python. |
Node |
Node | You can send logs from your Node.js and JavaScript applications to an IBM Log Analysis instance by using the Node.js library and adding a transport.
Valid transports are Winston and Bunyan. |
Ruby and Ruby on Rails |
Ruby |