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
{{ message }}
This repository was archived by the owner on Sep 2, 2025. It is now read-only.
Use the Universal Forwarder to send logs to the Splunk platform. See more at :ref:`collector-with-the-uf`.
176
-
177
-
.. _fluentd-manual-config-windows:
178
-
179
-
Collect Windows logs with Fluentd
180
-
---------------------------------------
181
-
182
-
If you wish to collect logs for the target host with Fluentd, use the ``with_fluentd = 1`` option to install and enable Fluentd when installing the Collector. For example:
When activated, the Fluentd service is configured by default to collect and forward log events with the ``@SPLUNK`` label to the Collector, which then send these events to the HEC ingest endpoint determined by the ``realm = "<SPLUNK_REALM>"`` option.
189
-
For example, ``https://ingest.<SPLUNK_REALM>.signalfx.com/v1/log``.
190
-
191
-
To configure the package to send log events to a custom HTTP Event Collector (HEC) endpoint URL with a token different than ``<SPLUNK_ACCESS_TOKEN>``, you can specify the following parameters for the installer script:
192
-
193
-
* ``hec_url = "<SPLUNK_HEC_URL>"``
194
-
* ``hec_token = "<SPLUNK_HEC_TOKEN>"``
195
-
196
-
For example (replace the ``<SPLUNK...>`` values in the command for your configuration):
The installation creates the main fluentd configuration file ``<drive>\opt\td-agent\etc\td-agent\td-agent.conf``, where ``<drive>`` is the drive letter for the fluentd installation directory.
203
-
204
-
You can add custom fluentd source configuration files to the ``<drive>\opt\td-agent\etc\td-agent\conf.d``
205
-
directory after installation.
206
-
207
-
Note the following:
208
-
209
-
* In this directory, fluentd includes all files with the .conf extension.
210
-
* By default, fluentd collects from the Windows Event Log. See ``<drive>\opt\td-agent\etc\td-agent\conf.d\eventlog.conf`` for the default configuration.
211
-
212
-
After any configuration modification, apply the changes by restarting the system or running the following PowerShell commands:
If you wish to collect logs for the target host with Fluentd, use the ``with_fluentd = 1`` option to install and enable Fluentd when installing the Collector.
When activated, the Fluentd service is configured by default to collect and forward log events with the ``@SPLUNK`` label to the Collector, which then send these events to the HEC ingest endpoint determined by the ``realm = "<SPLUNK_REALM>"`` option.
29
+
For example, ``https://ingest.<SPLUNK_REALM>.signalfx.com/v1/log``.
30
+
31
+
To configure the package to send log events to a custom HTTP Event Collector (HEC) endpoint URL with a token different than ``<SPLUNK_ACCESS_TOKEN>``, you can specify the following parameters for the installer script:
32
+
33
+
* ``hec_url = "<SPLUNK_HEC_URL>"``
34
+
* ``hec_token = "<SPLUNK_HEC_TOKEN>"``
35
+
36
+
For example (replace the ``<SPLUNK...>`` values in the command for your configuration):
The installation creates the main fluentd configuration file ``<drive>\opt\td-agent\etc\td-agent\td-agent.conf``, where ``<drive>`` is the drive letter for the fluentd installation directory.
43
+
44
+
You can add custom fluentd source configuration files to the ``<drive>\opt\td-agent\etc\td-agent\conf.d``
45
+
directory after installation.
46
+
47
+
Note the following:
48
+
49
+
* In this directory, fluentd includes all files with the .conf extension.
50
+
* By default, fluentd collects from the Windows Event Log. See ``<drive>\opt\td-agent\etc\td-agent\conf.d\eventlog.conf`` for the default configuration.
51
+
52
+
After any configuration modification, apply the changes by restarting the system or running the following PowerShell commands:
Copy file name to clipboardExpand all lines: gdi/opentelemetry/troubleshoot-logs.rst
+8-1Lines changed: 8 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,14 @@ Troubleshoot Collector logs
8
8
:description: Describes known issues when collecting logs with the Splunk Distribution of OpenTelemetry Collector.
9
9
10
10
11
-
.. note:: See also the :new-page:`OpenTelemetry Project troublehooting docs <https://opentelemetry.io/docs/collector/troubleshooting>` for more information about debugging.
11
+
.. note::
12
+
13
+
To collect logs see:
14
+
15
+
* :ref:`kubernetes-config-logs`
16
+
* :ref:`linux-config-logs`
17
+
18
+
See also the :new-page:`OpenTelemetry Project troublehooting docs <https://opentelemetry.io/docs/collector/troubleshooting>` for more information about debugging.
12
19
13
20
Here are some common issues related to log collection on the Collector.
0 commit comments