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

Get logfile name

mferstl
Participant

We are using grail and i am using a folder with different files as the logsource and would like to be able to get the filename in each logfileline, is that possbile?

4 REPLIES 4

krzysztof_hoja
Dynatrace Champion
Dynatrace Champion

If I am not mistaken, in this case full file name with path should be in log.file.path field.
Should be visible when you:

| fieldsAdd log.file.path

 

Thanks for the reply, but i get a null on that one

moin_DT1
Helper

Hi @mferstl 
May be try adding attributes in Custom Logs Source:

moin_DT1_0-1740760301313.png

 

Regards,

Moin

 



thanks that works, 

Featured Posts