Cron job

Can someone provide me clarification on the below points

1.Is it possible to set a cron job so that it fetches records on a weekly basis(Example:every sunday)
2.While setting as a cron job the records are fetched from beginning.Is there a way to fetch only the updated records and not load records from beginning

Records from what?

I take records using logstash from oracle database

Have you seen https://www.elastic.co/guide/en/logstash/current/plugins-inputs-jdbc.html#_scheduling?

While setting as a cron job the records are fetched from beginning.Is there a way to fetch only the updated records and not load records from beginning

Yes, see what the documentation says about the sql_last_value parameter. You can use it to restrict the resutl set to only include rows added/updated since the last run.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.