We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun here.
Start Free Trial

Alteryx Designer Desktop Discussions

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

Parsing a not regular log file

Saraabdi955
8 - Asteroid

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 REPLIES 10
Felipe_Ribeir0
16 - Nebula

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
17 - Castor

Hi @Saraabdi955 

 

What is the expected output please.

EN6924
10 - Fireball

EN6924_0-1672231325006.png

 

 

By the way, What is the expected output?

Saraabdi955
8 - Asteroid

Please watch the new file attached.

Saraabdi955
8 - Asteroid

@ShankerV @EN6924 @Felipe_Ribeir0 

 

Please watch the new file attached.

I expect something like this:

 

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

Felipe_Ribeir0
16 - Nebula

Hi @Saraabdi955 

 

One way of doing this

 

Felipe_Ribeir0_0-1672233081191.png

 

Saraabdi955
8 - Asteroid

Hi @Felipe_Ribeir0 

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

Felipe_Ribeir0
16 - Nebula

Hi @Saraabdi955 

 

Please take a look at this new version:

 

Felipe_Ribeir0_1-1672236913865.png

 

 

Saraabdi955
8 - Asteroid

Thanks @Felipe_Ribeir0 

It's correct.

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

Labels
Top Solution Authors