# Logstash ruby hash

**URL:** <https://discuss.elastic.co/t/logstash-ruby-hash/168788>\
**Category:** Logstash\
**Created:** [February 18, 2019, 9:00am UTC](https://discuss.elastic.co/t/logstash-ruby-hash/168788 "2019-02-18T09:00:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fedwe](https://avatars.discourse-cdn.com/v4/letter/f/a88e4f/32.png) [@fedwe](https://discuss.elastic.co/u/fedwe)\
**Post date:** [February 18, 2019, 9:00am UTC](https://discuss.elastic.co/t/logstash-ruby-hash/168788/1 "2019-02-18T09:00:08Z")

</div>

How do i make 2 hash keys for the same value for a csv reference in ruby filter.  
like i have an id field and a name field and a description field in a csv file and i have same ids but different names that have different descriptions and i want to ad the description as a new field

---

<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:** [March 18, 2019, 9:00am UTC](https://discuss.elastic.co/t/logstash-ruby-hash/168788/2 "2019-03-18T09:00:16Z")

</div>

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