Metricbeat-7.2.0-windows-x86_64 turn off with code exception in windows server 2016

I run metricbeat with admin privilage, after a few hours metric beat turn off with code exception.
Please help figrue out the problem, thanks a lot. For the limit I can not post all debug log

2020-07-04T18:31:48.591+0800    DEBUG   [processes]     process/process.go:475  Skip process pid=720: error getting process state for pid=720: getProcCredName failed: OpenProcess failed for pid=720: Access is denied.
Exception 0xc0000005 0x0 0xc000c10000 0x7ffa05c8389a
signal arrived during external code execution
syscall.Syscall(0x7ffa0638cd30, 0x2, 0xc000c0ff80, 0xc0007a8f74, 0x0, 0x0, 0x0, 0x0)
        /usr/local/go/src/runtime/syscall_windows.go:184 +0xea
syscall.CommandLineToArgv(0xc000c0ff80, 0xc0007a8f74, 0x80, 0x0, 0x0)
        /usr/local/go/src/syscall/zsyscall_windows.go:930 +0x80, 0x80, 0x80, 0x0, 0x0, 0x0, 0x0, 0x0)
        /go/src/ +0x75*ProcArgs).Get(0xc0007a9240, 0x1d4, 0x0, 0x0)
        /go/src/ +0x1f1*Process).getDetails(0xc00006ef00, 0xc0007a93b0, 0xb, 0xc00077ad01)
        /go/src/ +0x63c*Stats).getSingleProcess(0xc000a08120, 0x1d4, 0xc000bc4060, 0xc00006edc0)
        /go/src/ +0x240*Stats).Get(0xc000a08120, 0xc00078ede0, 0x0, 0xc00099bb60, 0x0, 0x0)
        /go/src/ +0x113*MetricSet).Fetch(0xc00099c0f0, 0xa695f80, 0xc000912f00)
        /go/src/ +0x51*metricSetWrapper).fetch(0xc0001d06e0, 0x254d1a0, 0xc000912f00)
        /go/src/ +0x2b7*metricSetWrapper).startPeriodicFetching(0xc0001d06e0, 0x254d1a0, 0xc000912f00)
        /go/src/ +0x121*metricSetWrapper).run(0xc0001d06e0, 0xc0001760c0, 0xc000183c80)
        /go/src/ +0x676*Wrapper).Start.func1(0xc0003fff20, 0xc0001760c0, 0xc000183c80, 0xc0001d06e0)
        /go/src/ +0x27e
created by*Wrapper).Start
        /go/src/ +0x147

Could you please share your configuration and format it using </>?

metricbeat output to redis

  host: "XX"
  username: "XX"
  password: "XX"

  hosts: ["XXX:6379"]
  db: 0
  timeout: 30s
  key: "default_list"
    - key: "XX"
      when.contains: "XX"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.