BlueNinja
07/12/2026, 3:27 PMxpath_query to my config the service fails to restart.
Have anyone faced similar issues?Simran(OpenObserve)
07/13/2026, 6:20 AMwindows_event_log receiver config (especially the xpath_query part) along with the error you're getting when the collector restarts? Also, which OpenObserve version and OpenTelemetry Collector version are you using?
That should help us narrow down whether it's the XPath syntax, the collector config, or something else.BlueNinja
07/13/2026, 7:11 AMreceivers:
hostmetrics:
collection_interval: 30s
scrapers:
cpu:
disk:
filesystem:
load:
memory:
network:
paging:
processes:
# process: # a bug in the process scraper causes the collector to throw errors so disabling it for now
windowsperfcounters/memory:
metrics:
bytes.committed:
description: the number of bytes committed to memory
unit: By
gauge:
collection_interval: 30s
perfcounters:
- object: Memory
counters:
- name: Committed Bytes
metric: bytes.committed
windowsperfcounters/processor:
collection_interval: 1m
metrics:
processor.time:
description: active and idle time of the processor
unit: "%"
gauge:
perfcounters:
- object: "Processor"
instances: "*"
counters:
- name: "% Processor Time"
metric: processor.time
attributes:
state: active
- object: "Processor"
instances: [1, 2]
counters:
- name: "% Idle Time"
metric: processor.time
attributes:
state: idle
windowseventlog/application:
channel: application
windowseventlog/security:
channel: security
xpath_query: "*[System[(EventID=4624 or EventID=4688 or EventID=4663)]]"
windowseventlog/setup:
channel: setup
windowseventlog/system:
channel: system
windowseventlog/sysmon:
channel: Microsoft-Windows-Sysmon/Operational
processors:
resourcedetection/system:
detectors: ["system"]
system:
hostname_sources: ["os"]
memory_limiter:
check_interval: 1s
limit_percentage: 75
spike_limit_percentage: 15
batch:
send_batch_size: 10000
timeout: 10s
extensions:
zpages: {}
memory_ballast:
size_mib: 512
exporters:
otlphttp/openobserve:
endpoint: <http://192.168.200.22:5080/api/default/>
headers:
stream-name: windows
Authorization: "Basic YWRtaW5AZXhhbXBsZS5jb206bzJvaV9WeURyWW12bTVBbFJXVkF2WHZCYkMxcEVFNUdDbFpKQQ=="
service:
extensions: [zpages, memory_ballast]
pipelines:
metrics:
receivers: [windowsperfcounters/processor, windowsperfcounters/memory, hostmetrics]
processors: [resourcedetection/system, memory_limiter, batch]
exporters: [otlphttp/openobserve]
logs:
receivers: [windowseventlog/application,windowseventlog/security,windowseventlog/setup,windowseventlog/system,windowseventlog/sysmon]
processors: [resourcedetection/system, memory_limiter, batch]
exporters: [otlphttp/openobserve]
The error during service restart (EventID: 7023):
The otel-collector service terminated with the following error:
An exception occurred in the service when handling the control request.
I use v0.92.0-rc1 OpenObserve and OpenObserve Agent v0.156.0Simran(OpenObserve)
07/13/2026, 7:17 AMBlueNinja
07/13/2026, 8:19 AMSimran(OpenObserve)
07/13/2026, 8:20 AMBlueNinja
07/13/2026, 8:27 AM