Client library for Logz.io API, see below for supported endpoints.
The primary purpose of this library is to act as the API interface for the logz.io Terraform provider.
To use it, you'll need to create an API token and provide it to the client library along with your logz.io regional API server address.
The library currently supports the following API endpoints:
Contributing
- Clone this repo locally
- As this package uses Go modules, make sure you are outside of
$GOPATH
or you have the GO111MODULE=on
environment variable set. Then run go get
to pull down the dependencies.
Run tests
go test -v -race ./...
Changelog
- v1.9.1
- Bug fix - adjust "not found" message to all resources.
- v1.9.0
Exapnd to check old versions
- v1.8.0
- `sub_accounts`:
- Add `flexible` & `reservedDailyGB`.
- **Breaking changes:** refactor resource.
- `endpoints`:
- **Breaking changes:** refactor resource.
- Add new endpoint types (OpsGenie, ServiceNow, Microsoft Teams).
- v1.7.0
- Add [drop filters API](https://docs.logz.io/api/#tag/Drop-filters).
- v1.6.0
- Add [log shipping tokens API](https://docs.logz.io/api/#tag/Manage-log-shipping-tokens) compatibility.
- v1.5.3
- Fix for `sub account`: return token & account id on Create.
- v1.5.2
- Fix `custom endpoint` -empty headers bug.
- Allow empty array for sharing accounts in `sub account`.
- v1.5.1
- Fix alerts_v2 sort bug.
- v1.5
- Add alerts v2 compatibility.
- v1.3.2
- fix client custom endpoint headers bug
- improve tests
- v1.3
- unnecessary resource updates bug fix.
- support tags in alerts
- v1.2
- Add subaccount support