ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
RESUELTAS

Parsing a not regular log file

Saraabdi955
Asteroide

Hi,

I have a sample log file (like attached) and it has not a regular format in lines. It's breaking in middle of record suddenly.

How can I parse it?

10 RESPUESTAS 10

Hi @Saraabdi955 

 

You can flag the 'Ignore XML Errors and Continue' and assign the value 'TagID' for the XML Child Element Name.

 

Felipe_Ribeir0_0-1672230575402.png

 

ShankerV
Cástor

Hi @Saraabdi955 

 

What is the expected output please.

EN6924
Bola de fuego

EN6924_0-1672231325006.png

 

 

By the way, What is the expected output?

Saraabdi955
Asteroide

Please watch the new file attached.

Saraabdi955
Asteroide

@ShankerV @EN6924 @Felipe_Ribeir0 

 

Please watch the new file attached.

I expect something like this:

 

TagID, Record
555, AAA
111, BB
666, CCC
..
...
...

Hi @Saraabdi955 

 

One way of doing this

 

Felipe_Ribeir0_0-1672233081191.png

 

Saraabdi955
Asteroide

Hi @Felipe_Ribeir0 

It's not correct. please pay attention the log file. The removed lines are part of the data and <Record> part.

Hi @Saraabdi955 

 

Please take a look at this new version:

 

Felipe_Ribeir0_1-1672236913865.png

 

 

Saraabdi955
Asteroide

Thanks @Felipe_Ribeir0 

It's correct.

Would you explain a bit about the middle tools, please?

Etiquetas
Autores con mayor cantidad de soluciones