How to maintain sql_last_value for different source queries

I have couple of scripts which reads data from oracle database and creates respective index files on Elasticsearch.I have implemented delta extraction logic by using the inbuilt feature of logstash by using :sql_last_value. Now the problem is I have only one file which stores the value of sql_last_value and for each execution of different source queries the sql_last_value of previous executed query is used and at the end current query value is being stored. Is there any way that sql_last_value can be stored exclusively for each extraction script we running?

Please advise.
Rajendra Nalluri.

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