Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch v 2.13.0
Fluent Bit v3.1
Describe the issue:
I am testing Fluent Bit latest version to send Windows system metrics to OpenSearch using the windows_exporter_metrics
input plugin. However, I am encountering difficulties as no data is being received on the OpenSearch side. When I removed the windows_exporter_metrics
input and added the winevtlog
input, it is working correctly. The Fluent Bit logs do not indicate any errors. Please find my current fluent Bit configuration below:
Configuration:
[INPUT]
name windows_exporter_metrics
tage node_metrics
scrape_interval 2[OUTPUT]
Name opensearch
Match *
Host OPENSEARCH_HOST
Port OPENSEARCH_PORT
Index fluentbit-windows
HTTP_User username
HTTP_Passwd password
tls on
tls.verify off
tls.ca_file C:\ca.file
tls.crt_file C:\crt.file
tls.key_file C:\key.file
Suppress_Type_Name On
Relevant Logs or Screenshots:
Fluent Bit v3.1.9
* Copyright (C) 2015-2024 The Fluent Bit Authors
* Fluent Bit is a CNCF sub-project under the umbrella of Fluentd
* https://fluentbit.io
______ _ _ ______ _ _ _____ __
| ___| | | | | ___ (_) | |____ |/ |
| |_ | |_ _ ___ _ __ | |_ | |_/ /_| |_ __ __ / /`| |
| _| | | | | |/ _ \ '_ \| __| | ___ \ | __| \ \ / / \ \ | |
| | | | |_| | __/ | | | |_ | |_/ / | |_ \ V /.___/ /_| |_
\_| |_|\__,_|\___|_| |_|\__| \____/|_|\__| \_/ \____(_)___/
[2024/11/07 00:05:13] [ info] Configuration:
[2024/11/07 00:05:13] [ info] flush time | 1.000000 seconds
[2024/11/07 00:05:13] [ info] grace | 5 seconds
[2024/11/07 00:05:13] [ info] daemon | 0
[2024/11/07 00:05:13] [ info] ___________
[2024/11/07 00:05:13] [ info] inputs:
[2024/11/07 00:05:13] [ info] windows_exporter_metrics
[2024/11/07 00:05:13] [ info] ___________
[2024/11/07 00:05:13] [ info] filters:
[2024/11/07 00:05:13] [ info] ___________
[2024/11/07 00:05:13] [ info] outputs:
[2024/11/07 00:05:13] [ info] opensearch.0
[2024/11/07 00:05:13] [ info] ___________
[2024/11/07 00:05:13] [ info] collectors:
[2024/11/07 00:05:13] [ info] [fluent bit] version=3.1.9, commit=431fa79ae2, pid=15396
[2024/11/07 00:05:13] [debug] [engine] coroutine stack size: 98302 bytes (96.0K)
[2024/11/07 00:05:13] [ info] [storage] ver=1.5.2, type=memory, sync=normal, checksum=off, max_chunks_up=128
[2024/11/07 00:05:13] [ info] [cmetrics] version=0.9.6
[2024/11/07 00:05:13] [ info] [ctraces ] version=0.5.6
[2024/11/07 00:05:13] [ info] [input:windows_exporter_metrics:windows_exporter_metrics.0] initializing
[2024/11/07 00:05:13] [ info] [input:windows_exporter_metrics:windows_exporter_metrics.0] storage_strategy='memory' (memory only)
[2024/11/07 00:05:13] [debug] [windows_exporter_metrics:windows_exporter_metrics.0] created event channels: read=856 write=860
[2024/11/07 00:05:13] [debug] [input:windows_exporter_metrics:windows_exporter_metrics.0] enabled metrics cpu
[2024/11/07 00:05:13] [debug] [input:windows_exporter_metrics:windows_exporter_metrics.0] enabled metrics cpu_info
[2024/11/07 00:05:13] [debug] [input:windows_exporter_metrics:windows_exporter_metrics.0] enabled metrics os
[2024/11/07 00:05:13] [debug] [input:windows_exporter_metrics:windows_exporter_metrics.0] enabled metrics net
[2024/11/07 00:05:13] [debug] [input:windows_exporter_metrics:windows_exporter_metrics.0] enabled metrics logical_disk
[2024/11/07 00:05:13] [debug] [input:windows_exporter_metrics:windows_exporter_metrics.0] enabled metrics cs
[2024/11/07 00:05:13] [debug] [input:windows_exporter_metrics:windows_exporter_metrics.0] enabled metrics thermalzone
[2024/11/07 00:05:13] [debug] [input:windows_exporter_metrics:windows_exporter_metrics.0] enabled metrics logon
[2024/11/07 00:05:13] [debug] [input:windows_exporter_metrics:windows_exporter_metrics.0] enabled metrics system
[2024/11/07 00:05:13] [debug] [input:windows_exporter_metrics:windows_exporter_metrics.0] enabled metrics service
[2024/11/07 00:05:13] [debug] [opensearch:opensearch.0] created event channels: read=1260 write=884
[2024/11/07 00:05:13] [ info] [sp] stream processor started