02 Mar 2022 12:59 PM - last edited on 17 May 2023 11: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.
02 Mar 2022 01:01 PM
You can have a look at Log Monitoring , but I'd just send the relevant Information as events via the Event API
02 Mar 2022 01:11 PM
Is it possible to create Dashboard using event data?
02 Mar 2022 01:13 PM
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?
02 Mar 2022 01:33 PM
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.
02 Mar 2022 01:56 PM
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.