IngestionLogs
Curl
Curl Log Ingestion - HTTP API Testing
Single record
curl http://localhost:5080/api/default/quickstart1/_json -i -u 'root@example.com:Complexpass#123' -d '[{"level":"info","job":"test","log":"test message for openobserve"}]'Large number if records from a file
For the sample file. You can use the below command.
curl http://localhost:5080/api/default/quickstart1/_json -i -u 'root@example.com:Complexpass#123' --data-binary "@k8slog_json.json"Was this page helpful?
Last updated on
Go
Go/Golang SDK guide for structured log ingestion, application logging, and log forwarding to OpenObserve using HTTP API for Go application monitoring.
Index
Ingest metrics into OpenObserve with Prometheus, the OpenTelemetry Collector, or Telegraf for infrastructure and application performance monitoring.