Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
Knowme
Contributor
Contributor

Json data extraction from a log file

Hi,

I have a .log file which is having json script in the middle of some text data. I need to parse the json data from this and load into database. I tried tJsonInput but its not working. Any suggestions?

Thank you

Labels (4)
3 Replies
Anonymous
Not applicable

Hello,

TalendHelpCenter: tExtractJsonFields component is used to extract data from a Json string.

Let us know if it is what you are looking for.

Best regards

Sabrina

Knowme
Contributor
Contributor
Author

I tried that but since the format and text fields are not consistent its not getting the right schema.

gjeremy1617088143

Hi, you need to extract first the json from the rest of the text then you can use tExtractJsonFields to parse json data.

Could you send us an example of the log file content ?