02 Mar 2022
04:59 AM
- last edited on
17 May 2023
03:06 AM
by
Michal_Gebacki
In Jenkins when we trigger a job build a build_number directory created and under that directory log of that build saved and log file name is "log". How to configure Dynatrace to get Jenkins job log.
Solved! Go to Solution.
You can have a look at Log Monitoring , but I'd just send the relevant Information as events via the Event API
Is it possible to create Dashboard using event data?
Not really, but neither will you get the log data on a custom dashboard.
What is your goal, just display the Jenkins log on a Dashboard in Dynatrace?
I would like to create a Dashboard using jenkins log or event data based on status of job (Success/Failure), job execution time, stages etc.
Okay, for that I'd say the best fit is writing a small extension that collects the data you need from the Jenkins API and creates the metrics you want. You can put those on a dashboard.
Featured Posts