Metricbeat collects Windows information and Linux information


(Panda) #1

Whether the code uses different functions to collects information on Linux and Windows operating systems? Why the source does not see it for different operating systems call a different function?

If you solved my question, I would be grateful!


(Carlos Pérez Aradros) #2

It calls different functions in some places, take a look to https://github.com/elastic/beats/tree/master/metricbeat/module/system, you will see system_linux.go, system_windows.go and system_other.go, the right file is chosen on compile time, when we package for each system


(Panda) #3

Your answer solve my question, thanks a lot.


(system) #4

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