# Refresh indexed value

**URL:** <https://discuss.elastic.co/t/refresh-indexed-value/229233>\
**Category:** Elasticsearch\
**Created:** [April 22, 2020, 10:45am UTC](https://discuss.elastic.co/t/refresh-indexed-value/229233 "2020-04-22T10:45:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![legolas\_bilbao](https://avatars.discourse-cdn.com/v4/letter/l/3da27b/32.png) [@legolas\_bilbao](https://discuss.elastic.co/u/legolas_bilbao)\
**Post date:** [April 22, 2020, 10:45am UTC](https://discuss.elastic.co/t/refresh-indexed-value/229233/1 "2020-04-22T10:45:12Z")

</div>

Hi everybody,

I've populate elasticsearch and kibana from data from a database but I've update some values in rows that are indexed yet, how can i reflex the update into elastic and kibana?

kindly regards

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [April 22, 2020, 10:48am UTC](https://discuss.elastic.co/t/refresh-indexed-value/229233/2 "2020-04-22T10:48:09Z")

</div>

How did you get the data from the database into Elasticsearch?

---

<div class="post-metadata">

**Author:** ![legolas\_bilbao](https://avatars.discourse-cdn.com/v4/letter/l/3da27b/32.png) [@legolas\_bilbao](https://discuss.elastic.co/u/legolas_bilbao)\
**Post date:** [April 22, 2020, 10:51am UTC](https://discuss.elastic.co/t/refresh-indexed-value/229233/3 "2020-04-22T10:51:44Z")

</div>

```
input {
  jdbc {
    jdbc_connection_string => "jdbc:mysql://localhost:3306/KPIS?useSSL=false"
    jdbc_user => "labo"
    jdbc_password => "arcsight_L4B0"
    jdbc_driver_library => "/home/jallende/elastic/mysql-connector-java-5.1.47.jar"
    jdbc_driver_class => "com.mysql.jdbc.Driver"
    schedule => "*/10 * * * *"
    statement => "Select * FROM KPIS.reglasArcsight where idreglasArcsight>:sql_last_value"
    use_column_value => true
    clean_run => false
    tracking_column => "idreglasarcsight"
    jdbc_paging_enabled => true
    jdbc_page_size => 250000
    last_run_metadata_path => "/usr/share/logstash/.logstash_pruebas_jdbc_last_run"
 }
}
output {
  elasticsearch {
  "hosts" => "localhost:9200"
  "index" => "pruebas"
  }
stdout { codec => json_lines }
}
```

---

<div class="post-metadata">

**Author:** ![legolas\_bilbao](https://avatars.discourse-cdn.com/v4/letter/l/3da27b/32.png) [@legolas\_bilbao](https://discuss.elastic.co/u/legolas_bilbao)\
**Post date:** [April 23, 2020, 1:47pm UTC](https://discuss.elastic.co/t/refresh-indexed-value/229233/4 "2020-04-23T13:47:41Z")

</div>

Any tips o possible solutions instead delete index and regenerate it from the database?

---

<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:** [May 21, 2020, 1:47pm UTC](https://discuss.elastic.co/t/refresh-indexed-value/229233/5 "2020-05-21T13:47:44Z")

</div>

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