I’m working on a project where a log is generated after each operation. Is it possible to call DIH whenever a new log is generated with a path to this file as a parameter?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Personally I havent tried doing it but there are planty of examples (and also questions) around like this and this and a blog post… I dont know the format of your logs but if it is possible for XML as you can see from the links, it could be applied for your case too…
the other workaround could be using a cronjob or another thing to post your logs in a time period like every 5 or 10 minutes… or directly detecting the log creation and then posting it to the solr server.