# Reindexing data - Novice Question

**URL:** <https://discuss.elastic.co/t/reindexing-data-novice-question/144057>\
**Category:** Elasticsearch\
**Created:** [August 12, 2018, 10:44pm UTC](https://discuss.elastic.co/t/reindexing-data-novice-question/144057 "2018-08-12T22:44:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![CCJ](https://avatars.discourse-cdn.com/v4/letter/c/d2c977/32.png) [@CCJ](https://discuss.elastic.co/u/CCJ)\
**Post date:** [August 12, 2018, 10:44pm UTC](https://discuss.elastic.co/t/reindexing-data-novice-question/144057/1 "2018-08-12T22:44:05Z")

</div>

Hi there, I'm currently using ELK to index and visualise my data. At the moment, the data that I'm working with is sitting in a CSV file. once the below data is in ES i can visualise it in a metrics graph in kibana, 12 record are shown which is fine. When i then make a change to the csv by adding 1 row, my metric within Kibana jump to 38, why is this? bassically what I need to achieve is the current data to be reindexed, essentially replacing the current. I appreciate i have probably missed something blatantly obvious however any help would be appreciated.

my csv is as follows:

| ID | car | color | date\_cars |
| --- | --- | --- | --- |
| 1 | ford | blue | 05/05/2018 |
| 2 | ford | blue | 06/05/2018 |
| 3 | honda | silver | 07/05/2018 |
| 4 | kier | silver | 08/05/2018 |
| 5 | kier | red | 09/05/2018 |
| 6 | bmw | red | 10/05/2018 |
| 7 | bmw | blue | 11/05/2018 |
| 8 | ford | white | 12/05/2018 |
| 9 | ford | red | 13/05/2018 |
| 10 | ford | green | 14/05/2018 |
| 11 | ford | silver | 15/05/2018 |
| 12 | ford | silver | 16/05/2018 |

config file:

input {  
file {  
path =\> "C:\Data\cars.csv"  
start\_position =\> "beginning"  
sincedb\_path =\> "/dev/null"  
}  
}  
filter {  
csv {  
separator =\> ","  
columns =\> ["ID", "car", "colour", "date\_cars"]

```
}

```

date{  
match =\> ["date\_cars","yyyy-MM-dd HH:mm:ss Z","ISO8601"]  
target =\> "cars\_date"  
}  
}  
output {  
elasticsearch {  
hosts =\> "[http://localhost:9200](http://localhost:9200)"  
index =\> "cars"

```
 }
stdout{}
}
```

---

<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:** [August 13, 2018, 1:22am UTC](https://discuss.elastic.co/t/reindexing-data-novice-question/144057/2 "2018-08-13T01:22:28Z")

</div>

> [@CCJ](#):
>
> start\_position =\> "beginning"  
> sincedb\_path =\> "/dev/null"

That's why. It's telling Logstash to reprocess the entire file every single time.

---

<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:** [September 10, 2018, 1:22am UTC](https://discuss.elastic.co/t/reindexing-data-novice-question/144057/3 "2018-09-10T01:22:29Z")

</div>

Closed on September 10, 2018, 1:22am UTC

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