From d3bb7b5c2e00ab588a812e6096538d56904e3b34 Mon Sep 17 00:00:00 2001 From: Steve Gordon Date: Tue, 10 Oct 2023 12:32:09 +0100 Subject: [PATCH] Add note to profiler logs (#2192) --- docs/setup-auto-instrumentation.asciidoc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/setup-auto-instrumentation.asciidoc b/docs/setup-auto-instrumentation.asciidoc index 812716df9..9558ebdc2 100644 --- a/docs/setup-auto-instrumentation.asciidoc +++ b/docs/setup-auto-instrumentation.asciidoc @@ -376,6 +376,14 @@ If the default directory cannot be written to for some reason, the profiler will try to write log files to a `logs` directory in the home directory specified by `ELASTIC_APM_PROFILER_HOME` environment variable. +[IMPORTANT] +-- +The user account under which the profiler process runs must have permission to +write to the destination log directory. Specifically, ensure that when running +on IIS, the https://learn.microsoft.com/en-us/iis/manage/configuring-security/application-pool-identities[AppPool identity] +has write permissions in the target directory. +-- + `ELASTIC_APM_PROFILER_LOG_TARGETS` _(optional)_:: A semi-colon separated list of targets for profiler logs. Valid values are