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
We rely heavily on environment variables so that the correct log files are streamed to your observability dashboards. Ensure that you fill in the .env file with correct values. Download the .env file from [here](https://raw.githubusercontent.com/jfrog/log-analytics-splunk/master/jfrog.env)
172
172
173
-
***JF_PRODUCT_DATA_INTERNAL**: The environment variable JF_PRODUCT_DATA_INTERNAL must be defined to the correct location. For each JFrog service you will find its active log files in the `$JFROG_HOME/<product>/var/log`directory
173
+
***JF_PRODUCT_DATA_INTERNAL**: This environment variable must be set to the folder that contains the `log` folder. For each JFrog service, you can find its active log files in the `$JFROG_HOME/<product>/var/log`. This environment variable should point to the folder that contains the `log`directory. For example, for `artifactory` set this variable to `$JFROG_HOME/artifactory/var`
174
174
***SPLUNK_COM_PROTOCOL**: HTTP Scheme, http or https
175
175
***SPLUNK_HEC_HOST**: Splunk Instance URL
176
176
***SPLUNK_HEC_PORT**: Splunk HEC configured port
@@ -221,7 +221,7 @@ For Splunk as the observability platform, execute these commands to setup the do
221
221
The above command will build the docker image.
222
222
2. Fill the necessary information in the docker.env file
223
223
224
-
**JF_PRODUCT_DATA_INTERNAL**: The environment variable JF_PRODUCT_DATA_INTERNAL must be defined to the correct location. For each JFrog service you will find its active log files in the `$JFROG_HOME/<product>/var/log`directory
224
+
**JF_PRODUCT_DATA_INTERNAL**: This environment variable must be set to the folder that contains the `log` folder. For each JFrog service, you can find its active log files in the `$JFROG_HOME/<product>/var/log`. This environment variable should point to the folder that contains the `log`directory. For example, for `artifactory` set this variable to `$JFROG_HOME/artifactory/var`
225
225
**SPLUNK_COM_PROTOCOL**: HTTP Scheme, http or https
226
226
**SPLUNK_HEC_HOST**: Splunk Instance URL
227
227
**SPLUNK_HEC_PORT**: Splunk HEC configured port
@@ -237,7 +237,7 @@ For Splunk as the observability platform, execute these commands to setup the do
237
237
3. Execute
238
238
239
239
```bash
240
-
docker run -it --name jfrog-fluentd-splunk-rt -v <path_to_logs>:/var/opt/jfrog/artifactory --env-file docker.env <image_name>
240
+
docker run -it --name jfrog-fluentd-splunk-rt -v <path_to_folder_contains_log_dir>:/var/opt/jfrog/artifactory --env-file docker.env <image_name>
241
241
```
242
242
243
243
The <path_to_logs> should be an absolute path where the Jfrog Artifactory Logs folder resides, i.e for an Docker based Artifactory Installation, ex: /var/opt/jfrog/artifactory/var/logs on the docker host.
0 commit comments