# Csv plugin cooperating with multiplying pattern

**URL:** https://discuss.elastic.co/t/csv-plugin-cooperating-with-multiplying-pattern/309865
**Category:** Logstash
**Created:** [July 18, 2022, 9:34am UTC](https://discuss.elastic.co/t/csv-plugin-cooperating-with-multiplying-pattern/309865 "2022-07-18T09:34:25Z")
**Posts on this page:** 1
**Showing post:** 7

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [July 19, 2022, 7:51pm UTC](https://discuss.elastic.co/t/csv-plugin-cooperating-with-multiplying-pattern/309865/7 "2022-07-19T19:51:52Z")

</div>

> [@INS](#):
>
> I don't know how to use this timestamps for all of event's from the first one of row

You could save in a ruby filter and add it to non-snapshot lines. An example is [here](https://discuss.elastic.co/t/how-to-handle-metadata-in-file-headers/167544/2). You will need pipeline.workers 1 and pipeline.ordered true. This kind of ruby solution tends to be fragile.

---

_[View the full topic](https://discuss.elastic.co/t/csv-plugin-cooperating-with-multiplying-pattern/309865)._
