Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top