I have a python script that creates a JSON file every now and then (no specific schedule) I want to store this JSON file in elasticsearch when it is created. What is the best tool in elastic-stack to handle this? Is it can be done with Logstash or Beats?
Also I have another script that creates a custom file .klm every now and then (again no specific schedule) I want to insert the file's name as soon as it is created so again is this can be done with Logstash or Beats, or any other suggestion of where I can start?!