We started to migrate our simple jobs to pipeline and i would like to make some logging from that. Mainly diagnostic logging about the durations,usage and outputs of our custom stages.
So my question is: Is there a simple way to integrate our pipeline jobs with any log analyzer tool like logstash? With a plugin that is compatible with pipeline?
So the flow will be something like:
- Make some tricky logging in the groovy script(log info ..message..)
- After or during the build we send them to the "tool"
- We can make some query or see the result on graphs.
Other way is to send the full build log to a tool and then after some process we reach our goal.
Thanks for the help :)