1

I need to poll every hour a url and store the (small) data that it returns in json format to Elastic.... Is this something I can/should do from Kibana with a plugin? Or is there some lightweight service that can be run on a dockerfile to poll and push to elastic with relatively small configuration?

1 Answer 1

0

I would just script it and run it as a cron job. Something simple like

curl "https://worldtimeapi.org/api/timezone/Europe/Amsterdam" | curl -X POST "http://localhost:9200/my-index/_doc"

should do the job, but maybe you have to add additional parameters if e.g. you use authentication for your Elastic instance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.