Logstash
Oodle provides a seamless integration with Logstash. By adding Oodle as an output destination in your Logstash pipeline, you can start sending logs directly to your Oodle instance.
Configuration
To configure Logstash to send logs to Oodle, you'll need the following values:
OODLE_INSTANCE: Your Oodle instance ID. Go toSettingsicon ->API Keyspage in your Oodle UI to find out. (Oodle UI links: ap1, us1)OODLE_API_KEY: Your Oodle API key for authentication. Go toSettingsicon ->API Keysin your Oodle UI to choose an appropriate key. (Oodle UI links: ap1, us1)
Add the following output block to your Logstash pipeline configuration file:
output {
http {
url => "https://<OODLE_INSTANCE>-logs.collector.oodle.ai/ingest/v1/logs"
http_method => "post"
format => "json_batch"
content_type => "application/json"
headers => {
"X-OODLE-INSTANCE" => "<OODLE_INSTANCE>"
"X-API-KEY" => "<OODLE_API_KEY>"
}
}
}
Setup
You can find the required Logstash configuration changes by doing the following:
- Login to the Oodle UI, then navigate to Settings page
- Click on the Logstash tile
- Choose an appropriate API key from the list on top of the drawer
Add the output configuration specified in the drawer to your Logstash pipeline configuration file
Support
If you need assistance or have any questions, please reach out to us through:
- Email at [email protected]