I have a database table and a document array
+---------+--------+
| m_id | state |
+---------+--------+
| m1 | s1 |
| m2 | s2 |
| m3 | s1 |
+---------+--------+
state_array = array(s1=>'tamilnadu',s2=>'kerala')
How to joint and create a single type in elastic search using logstash.
+---------+------------+
| m_id | state |
+---------+------------+
| m1 | tamilnadu |
| m2 | kerala |
| m3 | tamilnadu |
+---------+------------+
Give me any suggestions for this kind of situation.
My core process is analyzing this kind of data by Kibana.