Report cwd in metricbeat system process

I need metricbeat's system process metricset to report current working directory (cwd).

I have a fork at (based on v5.2.1) that passes tests

It was straightforward to use gosigar's ProcExe, at least for linux. I had to skip the test on darwin since gosigar doesn't get cwd, and libproc.h is not a public interface anyway. I have not checked freebsd and windows.

@mcenirm Perhaps you can open a PR agains the beats repo so we can discuss directly based on the code if it makes sense to get it into beats and how we could fix / improve it for other platforms.

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