Skip to content

Commit 758688e

Browse files
author
Mark Stumpf
committed
rename splunk_config_linux.yaml to gateway_config.yaml
1 parent 848fe10 commit 758688e

File tree

10 files changed

+12
-12
lines changed

10 files changed

+12
-12
lines changed

cmd/otelcol/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN chmod 755 /otelcol
1010
FROM scratch
1111
COPY --from=certs /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
1212
COPY --from=otelcol /otelcol /
13-
COPY config/collector/splunk_config_linux.yaml /etc/otel/collector/splunk_config_linux.yaml
13+
COPY config/collector/gateway_config.yaml /etc/otel/collector/gateway_config.yaml
1414
COPY config/collector/otlp_config_linux.yaml /etc/otel/collector/otlp_config_linux.yaml
1515
ENTRYPOINT ["/otelcol"]
1616
EXPOSE 13133 14250 14268 55680 4317 6060 7276 8888 9411 9443

cmd/otelcol/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ const (
3939
realmEnvVarName = "SPLUNK_REALM"
4040
tokenEnvVarName = "SPLUNK_ACCESS_TOKEN"
4141

42-
defaultDockerSAPMConfig = "/etc/otel/collector/splunk_config_linux.yaml"
42+
defaultDockerSAPMConfig = "/etc/otel/collector/gateway_config.yaml"
4343
defaultDockerOTLPConfig = "/etc/otel/collector/otlp_config_linux.yaml"
44-
defaultLocalSAPMConfig = "cmd/otelcol/config/collector/splunk_config_linux.yaml"
44+
defaultLocalSAPMConfig = "cmd/otelcol/config/collector/gateway_config.yaml"
4545
defaultLocalOTLPConfig = "cmd/otelcol/config/collector/otlp_config_linux.yaml"
4646
defaultMemoryBallastPercentage = 33
4747
defaultMemoryLimitPercentage = 90

docs/getting-started/linux-standalone.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ EOH
6868
yum install -y splunk-otel-collector
6969
```
7070
2. A default configuration file will be installed to
71-
`/etc/otel/collector/splunk_config_linux.yaml` if it does not already exist.
71+
`/etc/otel/collector/gateway_config.yaml` if it does not already exist.
7272
3. The `/etc/otel/collector/splunk_env` environment file is required to start
7373
the `splunk-otel-collector` systemd service. A sample environment file will
7474
be installed to `/etc/otel/collector/splunk_env.example` that includes the
@@ -91,7 +91,7 @@ the Collector. The following environmental variables are required:
9191
Optional environment variables
9292
</summary>
9393

94-
- `SPLUNK_CONFIG` (default = `/etc/otel/collector/splunk_config_linux.yaml`): Which configuration to load.
94+
- `SPLUNK_CONFIG` (default = `/etc/otel/collector/gateway_config.yaml`): Which configuration to load.
9595
- `SPLUNK_BALLAST_SIZE_MIB` (no default): How much memory to allocate to the ballast.
9696
- `SPLUNK_MEMORY_TOTAL_MIB` (default = `512`): Total memory allocated to the Collector.
9797

@@ -181,5 +181,5 @@ configuration as shown above.
181181
If the custom configuration includes a `memory_limiter` processor then the
182182
`ballast_size_mib` parameter should be the same as the
183183
`SPLUNK_BALLAST_SIZE_MIB` environment variable. See
184-
[splunk_config_linux.yaml](cmd/otelcol/config/collector/splunk_config_linux.yaml)
184+
[gateway_config.yaml](cmd/otelcol/config/collector/gateway_config.yaml)
185185
as an example.

internal/buildscripts/packaging/fpm/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ SERVICE_GROUP="splunk-otel-collector"
1616

1717
OTELCOL_INSTALL_PATH="/usr/bin/otelcol"
1818
CONFIG_REPO_PATH="$REPO_DIR/cmd/otelcol/config/collector/agent_config.yaml"
19-
CONFIG_INSTALL_PATH="/etc/otel/collector/splunk_config_linux.yaml"
19+
CONFIG_INSTALL_PATH="/etc/otel/collector/gateway_config.yaml"
2020
SERVICE_REPO_PATH="$FPM_DIR/$SERVICE_NAME.service"
2121
SERVICE_INSTALL_PATH="/lib/systemd/system/$SERVICE_NAME.service"
2222

internal/buildscripts/packaging/fpm/deb/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ sudo fpm -s dir -t deb -n "$PKG_NAME" -v "$VERSION" -f -p "$OUTPUT_DIR" \
3434
--after-install "$POSTINSTALL_PATH" \
3535
--before-remove "$PREUNINSTALL_PATH" \
3636
--deb-no-default-config-files \
37-
--config-files /etc/otel/collector/splunk_config_linux.yaml \
37+
--config-files /etc/otel/collector/gateway_config.yaml \
3838
--config-files /etc/otel/collector/fluentd \
3939
"$buildroot/"=/
4040

internal/buildscripts/packaging/fpm/etc/otel/collector/fluentd/README

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This directory contains a custom fluentd configuration to forward log events
44
to the Splunk OpenTelemetry Collector. By default, the collector will listen
55
on 127.0.0.1:8006 for log events forwarded from fluentd. See the
66
"fluentforward" receiver in the default collector config at
7-
/etc/otel/collector/splunk_config_linux.yaml for details or to make any changes
7+
/etc/otel/collector/gateway_config.yaml for details or to make any changes
88
to the collector.
99

1010
Directory contents:

internal/buildscripts/packaging/fpm/etc/otel/collector/splunk_env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Sample environment file for passing variables to the splunk-otel-collector service.
2-
# See /etc/otel/collector/splunk_config_linux.yaml for how these variables will be consumed.
2+
# See /etc/otel/collector/gateway_config.yaml for how these variables will be consumed.
33

44
# To use this file, update the values below appropriately,
55
# and save the changes to "/etc/otel/collector/splunk_env".

internal/buildscripts/packaging/fpm/rpm/build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ sudo fpm -s dir -t rpm -n "$PKG_NAME" -v "$VERSION" -f -p "$OUTPUT_DIR" \
4242
--before-install "$PREINSTALL_PATH" \
4343
--after-install "$POSTINSTALL_PATH" \
4444
--before-remove "$PREUNINSTALL_PATH" \
45-
--config-files /etc/otel/collector/splunk_config_linux.yaml \
45+
--config-files /etc/otel/collector/gateway_config.yaml \
4646
--config-files /etc/otel/collector/fluentd \
4747
"$buildroot/"=/
4848

internal/buildscripts/packaging/installer/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ get_distro_codename() {
5656
}
5757

5858
collector_config_dir="/etc/otel/collector"
59-
collector_config_path="${collector_config_dir}/splunk_config_linux.yaml"
59+
collector_config_path="${collector_config_dir}/gateway_config.yaml"
6060
collector_env_path="${collector_config_dir}/splunk_env"
6161
distro="$( get_distro )"
6262
distro_codename="$( get_distro_codename )"

0 commit comments

Comments
 (0)