I don't want to span the issue "1935" on github (Metricbeat: Oracle Module · Issue #1935 · elastic/beats · GitHub) therefor I opened this topic.
@andrewkroh and @ruflin recommended me to write a module for metricbeat.
In the developer guide I read:
As a developer, you can use Metricbeat in two different ways:
- Extend Metricbeat directly
- Create your own Beat and use Metricbeat as a library
I tried to "Extend Metricbeat directly" but I have no clue how to test or execute my code since there is no main function anywhere (see https://github.com/odbaeu/oracledb_mb_mod).
Should I better start with "Create your own Beat and use Metricbeat as a library"?
Thanks a lot!