# Logstash JDBC input metadata is overriding

**URL:** <https://discuss.elastic.co/t/logstash-jdbc-input-metadata-is-overriding/292691>\
**Category:** Logstash\
**Created:** [December 22, 2021, 1:47pm UTC](https://discuss.elastic.co/t/logstash-jdbc-input-metadata-is-overriding/292691 "2021-12-22T13:47:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinayak\_G](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/vinayak_g/32/99435_2.png) [@Vinayak\_G](https://discuss.elastic.co/u/Vinayak_G)\
**Post date:** [December 22, 2021, 1:47pm UTC](https://discuss.elastic.co/t/logstash-jdbc-input-metadata-is-overriding/292691/1 "2021-12-22T13:47:41Z")

</div>

Hey Everybody  
I am new to ELK

I was running logstash 6.8.3 on my machine, I wanted to upgrade to 6.8.21, so I created a new machine and installed logstash 6.8.21, then I pushed my pipeline's and metadata files so that logstash can resume the records were it left from the old machine, I expected this to work, looks it's not working, its basically overriding the the metadata file which i updated in new machine. so for example one of the metadata file has value as 7856, when I copied this metadata , to new machine I want logstash to start pushing the records from 7856 , not from 0th.

Can anyone please help on this, why is it overriding? , do we need to copy the whole data folder as well from the old machine to the new machine? why my new machine with 6.8.21 is overriding the updated metadata file?

Any help will be appreciated

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [January 19, 2022, 1:47pm UTC](https://discuss.elastic.co/t/logstash-jdbc-input-metadata-is-overriding/292691/2 "2022-01-19T13:47:47Z")

</div>

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