elastic / stream2es

Stream data into ES (Wikipedia, Twitter, stdin, or other ESes)
355 stars 60 forks source link

Option to move index settings and mapping #60

Open Vineeth-Mohan opened 8 years ago

Vineeth-Mohan commented 8 years ago

We find stream2es very useful and handy , especially for moving indices around. But then once thing that we find hard is to copy the mapping by ourself. It would be great if stream2es can do this also. Something like 2 extra flag will do the work neatly

stream2es es --includeIndexSetting --includeMapping  \
     --source http://foo.local:9200/wiki \
     --target http://bar.local:9200/wiki2
drewr commented 8 years ago

Vineeth, this should be the default behavior if wiki2 doesn't yet exist. Let me dig.