Skip to content

FIlestat plugin and super asterisks not working on windows? #6248

@dsvemp

Description

@dsvemp

Hello, when trying to use the filestat plugin on windows with the following config, I'm unable to make super asterisks work.

[[inputs.filestat]]
  ## Files to gather stats about.
  ## These accept standard unix glob matching rules, but with the addition of
  ## ** as a "super asterisk". See https://github.com/gobwas/glob.
  files = ['E:\data\Databases\**wololo_0']
  ## If true, read the entire file and calculate an md5 checksum.
  md5 = false

It takes 'E:\data\Databases**wololo_0' as a literal path, instead of trying to do a recurse search for wololo_0 files. I've tried using double quotes and it didn't help.

Are filestat and super asterisks supported on windows?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugunexpected problem or unintended behaviorplatform/windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions