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

Parse xml from logs

marusla
Participant

Hello, i try to parse a xml, but i dont know  how to doing, maybe do you have a steps, im trying with xml:xml but just extract a few lines

 

Fecha: 2025-09-08 00:33:33

Respuesta: Casos 0 de Casos Tiempo: 0

Request: <caso>

<infoBasica>

<origen>C</origen>

<mid>112222</mid>

<tid />

<idAsesor>mflores</idCliente> <appPeticion>

Tipos</appPeticion> </infoBasica> <detalledelCaso>

 

 

Thanks

2 REPLIES 2

p_devulapalli
Leader

@marusla Have you tried the DPL ? Below video cover some use cases around parsing json content which might help

https://docs.dynatrace.com/docs/shortlink/dpl-json-values

https://docs.dynatrace.com/docs/shortlink/dpl-dynatrace-pattern-language-hub

https://youtu.be/DqHiEUInZE0?si=AgwAOGf9RBF4aFkf

 

Phani Devulapalli

marusla
Participant

thanks, finally i parse the logs, using data and eol commands , thanks, data for parse all the log, and eol for moving to next line

Featured Posts