Fluentd
Oodle provides a seamless integration with Fluentd. By adding Oodle as a output destination in your Fluentd configuration, you can start sending logs directly to your Oodle instance.
Configuration
To configure Fluentd 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 configuration to your Fluentd configuration file:
<match **>
@type http
endpoint "https://<OODLE_INSTANCE>-logs.collector.oodle.ai/ingest/v1/logs"
headers {"X-OODLE-INSTANCE":"<OODLE_INSTANCE>","X-API-KEY":"<OODLE_API_KEY>"}
content_type application/json
json_array false
<format>
@type json
include_time_key true
time_key timestamp
time_format %Y-%m-%dT%H:%M:%S.%NZ
</format>
</match>
Setup
You can find the required Fluent Bit configuration changes by doing the following:
- Login to the Oodle UI, then navigate to Settings page
- Click on the Fluentd tile
- Choose an appropriate API key from the list on top of the drawer
Add the configuration specified in the drawer to your Fluentd configuration file
Support
If you need assistance or have any questions, please reach out to us through:
- The help chat widget available on the Support link in the sidebar
- Email at support@oodle.ai