This section provides information on LogRhythm's suite of REST APIs.


The LogRhythm's REST APIs communicate over HTTPS and use JSON. The available routes and methods are used for a variety of administration, investigative, and search functions. LogRhythm currently offers the following REST APIs:

Security

The Admin API uses a number of standard protocols to ensure the security and integrity of solutions built using the API.

  • All communication is encrypted using HTTPS. Supported versions of TLS are 1.1 and 1.2.
  • By default, self-signed certifications and keys are generated at the time of installation. You can provide your own certificates and keys by modifying the service configuration files (.env files). For more information, see the LogRhythm Software Installation Guide, available at https://docs.logrhythm.com/docs/deploy.
  • Services are stateless and require a valid API token to be sent with every request. There is no login process and no session is maintained.
  • API tokens are JSON web tokens that are generated through the Client Console and are associated with an API account.
  • To revoke API access for a particular token, you can disable the API account associated with it or delete the token that was generated for it. This immediately causes any API requests using that token to be rejected.

Postman and the LogRhythm API

Postman is an API Development environment that makes it easy to develop against RESTful APIs in any common programming language. You can use it to save parameters and set environmental variables. You can also use it to build and save collections of requests. The LogRhythm Community offers a help guide to get you started with Postman and the suite of LogRhythm’s RESTful APIs.