I am developing an application using node.js (an custom interface) to visualize logs.
There are two issues that I am facing:
- How to dynamically change the index based on user input???
Through the interface, user would be able to decide/change the index name under which the logs will be stored.
- How to know whether logstash has completely processed the logs till the end???
Once the logs are processed, I want the logs to be deleted. I don't want the logstash to continuously monitor the logs.
Please note that logstash application would already/always be running in the background.
Any help would be appreciated...