How to read/process log file

How to read/process log file

Hi,
i want to read a log file and based on some criteria i need to load those log details into db.
please suggest how to read log4j log file ?
Regards
Jayaraman
Moderator

Re: How to read/process log file

Hi,
You can use the tLog4j components, tLog4j are custom components developed by our community user and shared on Talend Exchange,  you can download tLog4j components and example job from Talend Exchage and then install custom component into Talend Studio.

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Re: How to read/process log file

Hi Sabrina,
I want to read other application log file and process those log file.
The component you specified doesn't match my requirement.
Regards,
Jayaraman
Moderator

Re: How to read/process log file

Hi,
I want to read other application log file and process those log file.


What's kind of application log file do you want to read? Could you please set an example?

Best regards
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.

Re: How to read/process log file

The log file is from  JBOSS EAP server log.
sample is 
22:03:46,164 INFO   (main) JBoss Modules version 1.3.3.Final-redhat-1
22:03:46,444 INFO   (main) JBoss MSC version 1.1.5.Final-redhat-1
22:03:46,577 INFO   (MSC service thread 1-7) JBAS015899: JBoss EAP 6.3.0.GA (AS 7.4.0.Final-redhat-19) starting
22:03:46,587 DEBUG (MSC service thread 1-7) Configured system properties:
23:50:48,578 WARNING (ajp-/192.168.104.194:8109-3) 'for' attribute cannot be null
Regards,
Jayaraman