Hi stephenb,
it seems that the command is running fine now. I had to changet the path for the modules as in Windows the path changes a bit from linux inside filebeat.yml file.
PS C:\Program Files\Filebeat> .\filebeat.exe -e
2021-09-09T07:53:17.139Z INFO instance/beat.go:616 Home path: [C:\Program Files\Filebeat] Config path: [C:\Program Files\Filebeat] Data path: [C:\Program Files\Filebeat\data] Logs path: [C:\Program Files\Filebeat\logs]
2021-09-09T07:53:17.210Z DEBUG [beat] instance/beat.go:653 Beat metadata path: C:\Program Files\Filebeat\data\meta.json
2021-09-09T07:53:17.212Z INFO instance/beat.go:623 Beat UUID: a340f7e6-8e32-4e44-89ab-067f5c7ef0c2
2021-09-09T07:53:17.212Z DEBUG [seccomp] seccomp/seccomp.go:88 Syscall filtering is only supported on Linux
2021-09-09T07:53:17.213Z INFO [beat] instance/beat.go:849 Beat info {"system_info": {"beat": {"path": {"config": "C:\\Program Files\\Filebeat", "data": "C:\\Program Files\\Filebeat\\data", "home": "C:\\Program Files\\Filebeat", "logs": "C:\\Program Files\\Filebeat\\logs"}, "type": "filebeat", "uuid": "a340f7e6-8e32-4e44-89ab-067f5c7ef0c2"}}}
2021-09-09T07:53:17.213Z INFO [beat] instance/beat.go:858 Build info {"system_info": {"build": {"commit": "ff5b9b3db49856a25b5eda133b6997f2157a4910", "libbeat": "6.5.0", "time": "2018-11-09T17:54:46.000Z", "version": "6.5.0"}}}
2021-09-09T07:53:17.214Z INFO [beat] instance/beat.go:861 Go runtime info {"system_info": {"go": {"os":"windows","arch":"amd64","max_procs":4,"version":"go1.10.3"}}}
2021-09-09T07:53:17.229Z INFO [beat] instance/beat.go:865 Host info {"system_info": {"host": {"architecture":"x86_64","boot_time":"2021-07-22T10:18:43.9Z","name":"S-AZ-DP-DV1-01","ip":["fe80::1016:724d:3ec0:5990/64","10.200.114.7/23","::1/128","127.0.0.1/8"],"kernel_version":"10.0.17763.2061 (WinBuild.160101.0800)","mac":["00:0d:3a:c6:16:e5"],"os":{"family":"windows","platform":"windows","name":"Windows Server 2019 Datacenter","version":"10.0","major":10,"minor":0,"patch":0,"build":"17763.2061"},"timezone":"GMT","timezone_offset_sec":0,"id":"aa806102-4200-4cab-98a0-c146fd518233"}}}
2021-09-09T07:53:17.237Z INFO [beat] instance/beat.go:894 Process info {"system_info": {"process": {"cwd": "C:\\Program Files\\Filebeat", "exe": "C:\\Program Files\\Filebeat\\filebeat.exe", "name": "filebeat.exe", "pid": 9068, "ppid": 4308, "start_time": "2021-09-09T07:53:17.038Z"}}}
2021-09-09T07:53:17.237Z INFO instance/beat.go:302 Setup Beat: filebeat; Version: 6.5.0
2021-09-09T07:53:17.238Z DEBUG [beat] instance/beat.go:323 Initializing output plugins
2021-09-09T07:53:17.248Z DEBUG [filters] add_cloud_metadata/add_cloud_metadata.go:160 add_cloud_metadata: starting to fetch metadata, timeout=3s
2021-09-09T07:53:17.260Z DEBUG [filters] add_cloud_metadata/add_cloud_metadata.go:192 add_cloud_metadata: received disposition for openstack after 11.9991ms. result=[provider:openstack, error=failed with http status code 404, metadata={}]
2021-09-09T07:53:17.260Z DEBUG [filters] add_cloud_metadata/add_cloud_metadata.go:192 add_cloud_metadata: received disposition for gce after 11.9991ms. result=[provider:gce, error=failed with http status code 404, metadata={}]
2021-09-09T07:53:17.261Z DEBUG [filters] add_cloud_metadata/add_cloud_metadata.go:192 add_cloud_metadata: received disposition for ec2 after 13.001ms. result=[provider:ec2, error=failed with http status code 404, metadata={}]
2021-09-09T07:53:17.264Z DEBUG [filters] add_cloud_metadata/add_cloud_metadata.go:192 add_cloud_metadata: received disposition for digitalocean after 16.0018ms. result=[provider:digitalocean, error=failed with http status code 400, metadata={}]
2021-09-09T07:53:17.275Z DEBUG [filters] add_cloud_metadata/add_cloud_metadata.go:192 add_cloud_metadata: received disposition for az after 26.9979ms. result=[provider:az, error=<nil>, metadata={"instance_id":"7c997f8c-e76a-41cd-a2d4-a7629a7bb3af","instance_name":"S-AZ-DP-DV1-01","machine_type":"Standard_F4s_v2","provider":"az","region":"westus2"}]
2021-09-09T07:53:17.275Z DEBUG [filters] add_cloud_metadata/add_cloud_metadata.go:163 add_cloud_metadata: fetchMetadata ran for 26.9979ms
2021-09-09T07:53:17.276Z INFO add_cloud_metadata/add_cloud_metadata.go:323 add_cloud_metadata: hosting provider type detected as az, metadata={"instance_id":"7c997f8c-e76a-41cd-a2d4-a7629a7bb3af","instance_name":"S-AZ-DP-DV1-01","machine_type":"Standard_F4s_v2","provider":"az","region":"westus2"}
2021-09-09T07:53:17.277Z DEBUG [processors] processors/processor.go:66 Processors: add_host_metadata=[netinfo.enabled=[false]], add_cloud_metadata={"instance_id":"7c997f8c-e76a-41cd-a2d4-a7629a7bb3af","instance_name":"S-AZ-DP-DV1-01","machine_type":"Standard_F4s_v2","provider":"az","region":"westus2"}
2021-09-09T07:53:17.277Z DEBUG [publish] pipeline/consumer.go:137 start pipeline event consumer
2021-09-09T07:53:17.278Z INFO [publisher] pipeline/module.go:110 Beat name: S-AZ-DP-DV1-01
2021-09-09T07:53:17.279Z INFO instance/beat.go:424 filebeat start running.
2021-09-09T07:53:17.279Z INFO [monitoring] log/log.go:117 Starting metrics logging every 30s
2021-09-09T07:53:17.279Z DEBUG [service] service/service_windows.go:68 Windows is interactive: true
2021-09-09T07:53:17.280Z DEBUG [registrar] registrar/registrar.go:114 Registry file set to: C:\Program Files\Filebeat\data\registry
2021-09-09T07:53:17.281Z INFO registrar/registrar.go:134 Loading registrar data from C:\Program Files\Filebeat\data\registry
2021-09-09T07:53:17.283Z INFO registrar/registrar.go:141 States Loaded from registrar: 0
2021-09-09T07:53:17.284Z DEBUG [registrar] registrar/registrar.go:267 Starting Registrar
2021-09-09T07:53:17.284Z WARN beater/filebeat.go:374 Filebeat is unable to load the Ingest Node pipelines for the configured modules because the Elasticsearch output is not configured/enabled. If you have already loaded the Ingest Node pipelines or are using Logstash pipelines, you can ignore this warning.
2021-09-09T07:53:17.285Z INFO crawler/crawler.go:72 Loading Inputs: 1
2021-09-09T07:53:17.285Z DEBUG [processors] processors/processor.go:66 Processors:
2021-09-09T07:53:17.286Z DEBUG [input] log/config.go:200 recursive glob enabled
2021-09-09T07:53:17.286Z DEBUG [input] log/input.go:147 exclude_files: []. Number of stats: 0
2021-09-09T07:53:17.287Z DEBUG [input] log/input.go:168 input with previous states loaded: 0
2021-09-09T07:53:17.287Z INFO log/input.go:138 Configured paths: [C:\logs\events]
2021-09-09T07:53:17.287Z INFO input/input.go:114 Starting input of type: log; ID: 9660679015794530681
2021-09-09T07:53:17.288Z DEBUG [input] log/input.go:174 Start next scan
2021-09-09T07:53:17.288Z DEBUG [cfgfile] cfgfile/reload.go:118 Checking module configs from: C:\Program Files\Filebeat\modules.d\
2021-09-09T07:53:17.288Z DEBUG [input] log/input.go:195 input states cleaned up. Before: 0, After: 0, Pending: 0
2021-09-09T07:53:17.289Z DEBUG [cfgfile] cfgfile/reload.go:132 Number of module configs found: 0
2021-09-09T07:53:17.290Z INFO crawler/crawler.go:106 Loading and starting Inputs completed. Enabled inputs: 1
2021-09-09T07:53:17.290Z INFO cfgfile/reload.go:150 Config reloader started
2021-09-09T07:53:17.291Z DEBUG [cfgfile] cfgfile/reload.go:176 Scan for new config files
2021-09-09T07:53:17.291Z DEBUG [cfgfile] cfgfile/reload.go:195 Number of module configs found: 0
2021-09-09T07:53:17.292Z DEBUG [reload] cfgfile/list.go:62 Starting reload procedure, current runners: 0
2021-09-09T07:53:17.294Z DEBUG [reload] cfgfile/list.go:80 Start list: 0, Stop list: 0
2021-09-09T07:53:17.294Z INFO cfgfile/reload.go:205 Loading of config files completed.
2021-09-09T07:53:27.289Z DEBUG [input] input/input.go:152 Run input
2021-09-09T07:53:30.854Z DEBUG [input] log/input.go:174 Start next scan
2021-09-09T07:53:30.858Z DEBUG [input] log/input.go:195 input states cleaned up. Before: 0, After: 0, Pending: 0
2021-09-09T07:53:40.859Z DEBUG [input] input/input.go:152 Run input
2021-09-09T07:53:40.859Z DEBUG [input] log/input.go:174 Start next scan
2021-09-09T07:53:40.864Z DEBUG [input] log/input.go:195 input states cleaned up. Before: 0, After: 0, Pending: 0
2021-09-09T07:53:47.367Z INFO [monitoring] log/log.go:144 Non-zero metrics in the last 30s {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":156,"time":{"ms":171}},"total":{"ticks":218,"time":{"ms":264},"value":0},"user":{"ticks":62,"time":{"ms":93}}},"handles":{"open":246},"info":{"ephemeral_id":"1144f910-0276-47cb-bff7-e58321fc8c38","uptime":{"ms":30293}},"memstats":{"gc_next":4194304,"memory_alloc":2677944,"memory_total":4117064,"rss":23953408}},"filebeat":{"harvester":{"open_files":0,"running":0}},"libbeat":{"config":{"module":{"running":0},"reloads":1},"output":{"type":"logstash"},"pipeline":{"clients":1,"events":{"active":0}}},"registrar":{"states":{"current":0}},"system":{"cpu":{"cores":4}}}}}
2021-09-09T07:53:50.866Z DEBUG [input] input/input.go:152 Run input
2021-09-09T07:53:50.866Z DEBUG [input] log/input.go:174 Start next scan
2021-09-09T07:53:50.868Z DEBUG [input] log/input.go:195 input states cleaned up. Before: 0, After: 0, Pending: 0
2021-09-09T07:54:00.870Z DEBUG [input] input/input.go:152 Run input
2021-09-09T07:54:00.870Z DEBUG [input] log/input.go:174 Start next scan
2021-09-09T07:54:00.872Z DEBUG [input] log/input.go:195 input states cleaned up. Before: 0, After: 0, Pending: 0
2021-09-09T07:54:10.874Z DEBUG [input] input/input.go:152 Run input
2021-09-09T07:54:10.874Z DEBUG [input] log/input.go:174 Start next scan
2021-09-09T07:54:10.876Z DEBUG [input] log/input.go:195 input states cleaned up. Before: 0, After: 0, Pending: 0
2021-09-09T07:54:17.283Z INFO [monitoring] log/log.go:144 Non-zero metrics in the last 30s {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":171},"total":{"ticks":264,"value":264},"user":{"ticks":93}},"handles":{"open":246},"info":{"ephemeral_id":"1144f910-0276-47cb-bff7-e58321fc8c38","uptime":{"ms":60208}},"memstats":{"gc_next":4194304,"memory_alloc":2727416,"memory_total":4166536,"rss":28672}},"filebeat":{"harvester":{"open_files":0,"running":0}},"libbeat":{"config":{"module":{"running":0}},"pipeline":{"clients":1,"events":{"active":0}}},"registrar":{"states":{"current":0}}}}}
2021-09-09T07:54:20.878Z DEBUG [input] input/input.go:152 Run input
2021-09-09T07:54:20.878Z DEBUG [input] log/input.go:174 Start next scan
2021-09-09T07:54:20.880Z DEBUG [input] log/input.go:195 input states scan
2021-09-09T07:55:40.908Z DEBUG [input] log/input.go:195 input states cleaned up. Before: 0, After: 0, Pending: 0
2021-09-09T07:55:47.284Z INFO [monitoring] log/log.go:144 Non-zero metrics in the last 30s {"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":187},"total":{"ticks":296,"value":296},"user":{"ticks":109}},"handles":{"open":247},"info":{"ephemeral_id":"1144f910-0276-47cb-bff7-e58321fc8c38","uptime":{"ms":150208}},"memstats":{"gc_next":4194304,"memory_alloc":1634024,"memory_total":4346128,"rss":-8192}},"filebeat":{"harvester":{"open_files":0,"running":0}},"libbeat":{"config":{"module":{"running":0}},"pipeline":{"clients":1,"events":{"active":0}}},"registrar":{"states":{"current":0}}}}}
However in Kibana I cannot see any index like "filebeat" or similar. I suppose that i can see only the index "logstash" from different dates. When I create the index pattern in kibana for example "logstash-2021.05.09" for this one. I cannot retrieve any data there.
Is this because Filebeat in windows is sending logs in binaries to logstash and this one to Elasticsearch in binaries?
Thanks in advance.