# Send one single datapoint for each @timestamp milisecond

**URL:** <https://discuss.elastic.co/t/send-one-single-datapoint-for-each-timestamp-milisecond/139970>\
**Category:** Logstash\
**Created:** [July 13, 2018, 3:17pm UTC](https://discuss.elastic.co/t/send-one-single-datapoint-for-each-timestamp-milisecond/139970 "2018-07-13T15:17:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![n1ur0](https://avatars.discourse-cdn.com/v4/letter/n/7ab992/32.png) [@n1ur0](https://discuss.elastic.co/u/n1ur0)\
**Post date:** [July 13, 2018, 3:17pm UTC](https://discuss.elastic.co/t/send-one-single-datapoint-for-each-timestamp-milisecond/139970/1 "2018-07-13T15:17:15Z")

</div>

Hello,

Reading through logstash plugins documentation, I couldn't find a way to send single data point for each generated @timestamp (1 datapoint/event per milisecond). Is that even a possibility?

Appreciate the help!

> input {  
> file {  
> path =\> "/home/emanuel/ondas/amp/amp\_\*.csv"  
> start\_position =\> "beginning"  
> sincedb\_path =\> "/dev/null"  
> }  
> }
> 
> filter {
> 
> ```
> grok {
> match => ["path", "/(?<filename>[^/]+).csv" ]
> }
> 
> csv {
> separator => ","
> columns => ["id", "amplitude", "time", "dist"]
> skip_header => true
> }
> mutate {convert => ["id", "integer"] }
> mutate {convert => ["amplitude", "float"] }
> mutate {convert => ["time", "float"] }
> mutate {convert => ["dist", "float"] }
> mutate { remove_field => ["host", "message", "path", "@version"] }
> 
> ```
> 
> }
> 
> output {  
> elasticsearch {  
> hosts =\> "192.168.20.32:9200"  
> document\_type =\> "data"  
> index =\> "%{filename}"  
> }  
> stdout { codec =\> json\_lines }  
> }

---

<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:** [August 10, 2018, 3:17pm UTC](https://discuss.elastic.co/t/send-one-single-datapoint-for-each-timestamp-milisecond/139970/2 "2018-08-10T15:17:20Z")

</div>

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