Setting up Logstash for OpenTelemetry Export
This guide covers how to configure Logstash to receive OpenTelemetry data from a Trustgrid HTTP exporter.
less than a minute
Early Access Notice
The Observability feature is currently in early access. We are actively gathering feedback and usage data to help determine if additional charges will apply in the future. Functionality and pricing are subject to change.To enable this feature for your account, please contact Trustgrid Support.
Part 1: Configure Logstash to Receive OTEL Data
Here is an example logstash.conf that matches the Trustgrid export format:
input {
http {
port => 5044
codec => json
}
}
output {
stdout {
codec => rubydebug
}
}
Part 2: Configure Trustgrid to Send OTEL Data
Step 1: Navigate to Exporters
- In the Trustgrid Portal, go to Observability > Exporters.
- Click Add Exporter.
Step 2: Configure the Exporter
- Type: Select
http. - Exporter Name: Enter a descriptive name (e.g.,
logstash). - Description: Optional.
- Instrumentation Types: Select one or more:
MetricsNode AuditsNode EventsChanges

- Endpoint: Set this to your Logstash endpoint (e.g.,
http://logstash.internal:5044).
Trustgrid appends
/v1/metricsor/v1/logsautomatically depending on the instrumentation type. You can also explicitly set:
Metrics Endpoint: Overrides default for metricsLogs Endpoint: Overrides default for logs (audits, events, changes)

Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.