Contributing- Unable to log to file using Otel Collector exporter #2055
Replies: 4 comments
-
This problem is more appropriate in the otel col contrib repo, However, I think you should read the
|
Beta Was this translation helpful? Give feedback.
-
as @JaredTan95 said, this is a good question for the collector community, #otel-collector channel on CNCF Slack might be a good place to ask this. If there is any docs related issue please update accordingly |
Beta Was this translation helpful? Give feedback.
-
myconfig.yaml otlp: protocols:
processors: batch: file: path: ./logs/test.txt health_check: pprof: zpages: service: extensions: [health_check, pprof, zpages] pipelines:
metrics:
Command Executed :sudo docker run -v ./myconfig.yaml:/etc/otelcol-contrib/config.yaml -v ./te./logs:/logs otel/opentelemetry-collector-contrib:0.97.0 2024/04/15 17:23:54 collector server run finished with error: cannot start pipelines: open ./logs/test.txt: permission denied |
Beta Was this translation helpful? Give feedback.
-
@SantoshAvaji I moved this over here into the community repo as a discussion, but please note that there are other formus where you are more likely to get a good answer, the CNCF slack channels as mentioned before and also Stackoverflow (or similar public places to discuss issues with OSS technology) |
Beta Was this translation helpful? Give feedback.
-
I have created new file and provided all permission then given that path in yml config (It's in Ubuntu machine)
exporters:
file:
path: ./filename.json
But facing an issue permission denied
Unable to write file, please help me to resolve this issue asap
Beta Was this translation helpful? Give feedback.
All reactions