collect logs to database
Posted: Fri Feb 15, 2019 12:53 pm
Hi to all
Today I wondered why not to collect server logs not into a file but into a relational database.
As I see it, there are several solutions:
1 use rest api
2 use log4j (tm1s-log.properties)
3 parse log files by other means
1 Checking the rest api on a large amount of logs, I realized that it would be very slow.
2 Configuring a meadow did not give positive results. Maybe there is someone who has more experience in setting up log4j.
3 now I’ve stopped at the 3rd version and wrote a script for parsing and writing lg in the database using Powershell. but do not want to create crutches and bicycles.
Is there anyone who worked with the log4j here ???
Today I wondered why not to collect server logs not into a file but into a relational database.
As I see it, there are several solutions:
1 use rest api
2 use log4j (tm1s-log.properties)
3 parse log files by other means
1 Checking the rest api on a large amount of logs, I realized that it would be very slow.
2 Configuring a meadow did not give positive results. Maybe there is someone who has more experience in setting up log4j.
3 now I’ve stopped at the 3rd version and wrote a script for parsing and writing lg in the database using Powershell. but do not want to create crutches and bicycles.
Is there anyone who worked with the log4j here ???
