cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to configure jenkins job log in Dynatrace

DThakur
Newcomer

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.

5 REPLIES 5

pahofmann
DynaMight Guru
DynaMight Guru

You can have a look at Log Monitoring , but I'd just send the relevant Information as events via the Event API

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

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?

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net

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. 

Dynatrace Certified Master, AppMon Certified Master - Dynatrace Partner - 360Performance.net