Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

chore: integration instructions: add typical log file locations on macOS (#4779)

Raj Kamal Singh39e0ef68ca9d
diff --git a/pkg/query-service/app/integrations/builtin_integrations/mongo/config/collect-logs.md b/pkg/query-service/app/integrations/builtin_integrations/mongo/config/collect-logs.md
index fa55ca9a63..86255f0df4 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/mongo/config/collect-logs.md
+++ b/pkg/query-service/app/integrations/builtin_integrations/mongo/config/collect-logs.md
@@ -97,7 +97,9 @@ Set the following environment variables in your otel-collector environment:
```bash
# path of MongoDB server log file. must be accessible by the otel collector
-export MONGODB_LOG_FILE=/var/log/mongodb.log
+# typically found in /usr/local/var/log/mongodb on macOS
+# mongod.conf file can also be checked for finding log file location
+export MONGODB_LOG_FILE=/var/log/mongodb/mongodb.log
# region specific SigNoz cloud ingestion endpoint
export OTLP_DESTINATION_ENDPOINT="ingest.us.signoz.cloud:443"
diff --git a/pkg/query-service/app/integrations/builtin_integrations/nginx/config/collect-logs.md b/pkg/query-service/app/integrations/builtin_integrations/nginx/config/collect-logs.md
index b421478ab9..71712c503b 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/nginx/config/collect-logs.md
+++ b/pkg/query-service/app/integrations/builtin_integrations/nginx/config/collect-logs.md
@@ -117,9 +117,11 @@ Set the following environment variables in your otel-collector environment:
```bash
# path of Nginx access log file. must be accessible by the otel collector
-export NGINX_ACCESS_LOG_FILE=/var/log/nginx/access.log;
+# typically found at /usr/local/var/log/nginx/access.log on macOS
+export NGINX_ACCESS_LOG_FILE=/var/log/nginx/access.log
# path of Nginx error log file. must be accessible by the otel collector
+# typically found at /usr/local/var/log/nginx/error.log on macOS
export NGINX_ERROR_LOG_FILE=/var/log/nginx/error.log
# region specific SigNoz cloud ingestion endpoint
diff --git a/pkg/query-service/app/integrations/builtin_integrations/postgres/config/collect-logs.md b/pkg/query-service/app/integrations/builtin_integrations/postgres/config/collect-logs.md
index 0c199061a7..9f20655cc3 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/postgres/config/collect-logs.md
+++ b/pkg/query-service/app/integrations/builtin_integrations/postgres/config/collect-logs.md
@@ -91,7 +91,9 @@ Set the following environment variables in your otel-collector environment:
```bash
# path of Postgres server log file. must be accessible by the otel collector
-export POSTGRESQL_LOG_FILE=/usr/local/var/log/postgres.log
+# typically found in /usr/local/var/log/postgresql on macOS
+# running `SELECT pg_current_logfile();` can also give you the location of postgresql log file
+export POSTGRESQL_LOG_FILE=/var/log/postgresql/postgresql.log
# region specific SigNoz cloud ingestion endpoint
export OTLP_DESTINATION_ENDPOINT="ingest.us.signoz.cloud:443"
diff --git a/pkg/query-service/app/integrations/builtin_integrations/redis/config/collect-logs.md b/pkg/query-service/app/integrations/builtin_integrations/redis/config/collect-logs.md
index e8b26ef710..0b8e697b13 100644
--- a/pkg/query-service/app/integrations/builtin_integrations/redis/config/collect-logs.md
+++ b/pkg/query-service/app/integrations/builtin_integrations/redis/config/collect-logs.md
@@ -82,7 +82,9 @@ Set the following environment variables in your otel-collector environment:
```bash
# path of Redis server log file. must be accessible by the otel collector
-export REDIS_LOG_FILE=/var/log/redis.log
+# typically found in /usr/local/var/log/redis on macOS
+# log file location can also be found in the output of `redis-cli CONFIG GET : *`
+export REDIS_LOG_FILE=/var/log/redis/redis-server.log
# region specific SigNoz cloud ingestion endpoint
export OTLP_DESTINATION_ENDPOINT="ingest.us.signoz.cloud:443"