You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This configuration collects system logs and metric for OSX and Linux systems, sending the results to ClickStack via the OTLP endpoint on port 4317.
115
+
This configuration collects system logs and metrics for OSX and Linux systems, sending the results to ClickStack. The configuration extends the ClickStack collector by adding new receivers and pipelines—you reference the existing `clickhouse` exporter and processors (`memory_limiter`, `batch`) that are already configured in the base ClickStack collector.
122
116
123
117
:::note Ingestion timestamps
124
118
This configuration adjusts timestamps at ingest, assigning an updated time value to each event. Users should ideally [preprocess or parse timestamps](/use-cases/observability/clickstack/ingesting-data/otel-collector#processing-filtering-transforming-enriching) using OTel processors or operators in their log files to ensure accurate event time is retained.
@@ -136,20 +130,42 @@ Users wanting more detailed logs on OSX can run the command `log stream --debug
136
130
137
131
## Start the collector {#start-the-collector}
138
132
139
-
Run the following docker command to start an instance of the OTel collector.
133
+
Run the following docker command to start the all-in-one container with your custom configuration:
We run the collector as the root user to access all system logs—this is necessary to capture logs from protected paths on Linux-based systems. However, this approach is not recommended for production. In production environments, the OpenTelemetry Collector should be deployed as a local agent with only the minimal permissions required to access the intended log sources.
148
+
149
+
Note that we mount the host's `/var/log` to `/host/var/log` inside the container to avoid conflicts with the container's own log files.
150
+
:::
151
+
152
+
:::note HyperDX in ClickHouse Cloud
153
+
If using HyperDX in ClickHouse Cloud with a standalone collector, use this command instead:
0 commit comments