Skip to content

Commit 61d5922

Browse files
authored
Merge pull request #81 from jfrog/JOBS-760
JOBS-760 - Fix ha-values yaml and upgrade params
2 parents cbcd923 + 22a533b commit 61d5922

4 files changed

Lines changed: 13 additions & 8 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,20 @@
22

33
All changes to the log analytics integration will be documented in this file.
44

5+
## [1.0.12] - March 18, 2025
6+
7+
* Update artifactory-ha helm values file
8+
* Readme minor updates
9+
510
## [1.0.11] - January 2, 2025
611

712
* FluentD sidecar image version bumped to 4.15, to upgrade base image to bitnami/fluentd 1.18.0
813

9-
# [1.0.10] - December 10, 2024
14+
## [1.0.10] - December 10, 2024
1015

1116
* Upgrade Splunk App to version 1.2.8. Changes are available [here](./CHANGELOG-splunkbase.md)
1217

13-
# [1.0.9] - November 25, 2024
18+
## [1.0.9] - November 25, 2024
1419

1520
* FluentD sidecar image version bumped to 4.14, to reflect logging improvements in `jfrog_metrics` FluentD plugin
1621

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Versions Supported
44

5-
This integration is last tested with Artifactory 7.71.11 and Xray 3.88.12 versions.
5+
This integration is last tested with Artifactory 7.104.7 and Xray 3.88.12 versions.
66

77
## Table of Contents
88

@@ -170,7 +170,7 @@ gem install fluent-plugin-jfrog-metrics
170170

171171
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)
172172

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`
174174
* **SPLUNK_COM_PROTOCOL**: HTTP Scheme, http or https
175175
* **SPLUNK_HEC_HOST**: Splunk Instance URL
176176
* **SPLUNK_HEC_PORT**: Splunk HEC configured port
@@ -221,7 +221,7 @@ For Splunk as the observability platform, execute these commands to setup the do
221221
The above command will build the docker image.
222222
2. Fill the necessary information in the docker.env file
223223

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`
225225
**SPLUNK_COM_PROTOCOL**: HTTP Scheme, http or https
226226
**SPLUNK_HEC_HOST**: Splunk Instance URL
227227
**SPLUNK_HEC_PORT**: Splunk HEC configured port
@@ -237,7 +237,7 @@ For Splunk as the observability platform, execute these commands to setup the do
237237
3. Execute
238238

239239
```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>
241241
```
242242

243243
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.

docker-build/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Dockerfile for bitnami/fluentd sidecar image with all the necessary plugins for our log analytic providers
2-
FROM bitnami/fluentd:1.17.0
2+
FROM bitnami/fluentd:1.18.0
33
LABEL maintainer="Partner Engineering <partner_support@jfrog.com>"
44

55
## Build time Arguments, short circuit them to ENV Variables so they are available at run time also

helm/artifactory-ha-values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ artifactory:
55
enabled: true
66
customInitContainersBegin: |
77
- name: "prepare-fluentd-conf-on-persistent-volume"
8-
image: {{ include "artifactory.getImageInfoByValue" (list . "initContainers") }}
8+
image: {{ include "artifactory-ha.getImageInfoByValue" (list . "initContainers") }}
99
imagePullPolicy: "{{ .Values.artifactory.image.pullPolicy }}"
1010
command:
1111
- 'sh'

0 commit comments

Comments
 (0)