Move index metadata

Please? hel me move index metadata from 2_6 to 2_5

root@graylog-secondary:/etc/init.d# curl -XGET
http://localhost:9200/graylog2_5/_mapping?pretty
{
"graylog2_5" : { }
}

root@graylog-secondary:/etc/init.d# curl -XGET
http://localhost:9200/graylog2_6/_mapping?pretty

"graylog2_6" : {
"message" : {
"dynamic_templates" : [ {
"store_generic" : {
"mapping" : {
"index" : "not_analyzed"
},
"match" : "*"
}
} ],
"_ttl" : {
"enabled" : true
},
"_source" : {
"compress" : true
},
"properties" : {
"full_message" : {
"type" : "string",
"analyzer" : "standard"
},
"gl2_source_input" : {
"type" : "string",
"index" : "not_analyzed",
"norms" : {
"enabled" : false
},
"index_options" : "docs"
},
"gl2_source_node" : {
"type" : "string",
"index" : "not_analyzed",
"norms" : {
"enabled" : false
},
"index_options" : "docs"
},
"message" : {
"type" : "string",
"analyzer" : "standard"
},
"source" : {
"type" : "string",
"analyzer" : "analyzer_keyword"
},
"streams" : {
"type" : "string",
"index" : "not_analyzed",
"norms" : {
"enabled" : false
},
"index_options" : "docs"
},
"timestamp" : {
"type" : "date",
"format" : "yyyy-MM-dd HH:mm:ss.SSS"
}
}
}
}
}

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/45655d69-7bc8-4f89-ae66-26f7abfa3b70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

You want to move the mapping?
This might help -

Regards,
Mark Walkom

Infrastructure Engineer
Campaign Monitor
email: markw@campaignmonitor.com
web: www.campaignmonitor.com

On 25 September 2014 17:52, Константин Мокеев 243714km@gmail.com wrote:

Please? hel me move index metadata from 2_6 to 2_5

root@graylog-secondary:/etc/init.d# curl -XGET http://localhost:9200/
graylog2_5/_mapping?pretty
{
"graylog2_5" : { }
}

root@graylog-secondary:/etc/init.d# curl -XGET http://localhost:9200/
graylog2_6/_mapping?pretty

"graylog2_6" : {
"message" : {
"dynamic_templates" : [ {
"store_generic" : {
"mapping" : {
"index" : "not_analyzed"
},
"match" : "*"
}
} ],
"_ttl" : {
"enabled" : true
},
"_source" : {
"compress" : true
},
"properties" : {
"full_message" : {
"type" : "string",
"analyzer" : "standard"
},
"gl2_source_input" : {
"type" : "string",
"index" : "not_analyzed",
"norms" : {
"enabled" : false
},
"index_options" : "docs"
},
"gl2_source_node" : {
"type" : "string",
"index" : "not_analyzed",
"norms" : {
"enabled" : false
},
"index_options" : "docs"
},
"message" : {
"type" : "string",
"analyzer" : "standard"
},
"source" : {
"type" : "string",
"analyzer" : "analyzer_keyword"
},
"streams" : {
"type" : "string",
"index" : "not_analyzed",
"norms" : {
"enabled" : false
},
"index_options" : "docs"
},
"timestamp" : {
"type" : "date",
"format" : "yyyy-MM-dd HH:mm:ss.SSS"
}
}
}
}
}

--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/45655d69-7bc8-4f89-ae66-26f7abfa3b70%40googlegroups.com
https://groups.google.com/d/msgid/elasticsearch/45655d69-7bc8-4f89-ae66-26f7abfa3b70%40googlegroups.com?utm_medium=email&utm_source=footer
.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAEM624bKcmZ-nnPMQVPL%2Bzt85WGdQrR4cP_-gXO9sbV10KXMKw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Thanks

and how i can change in index

  • index.analysis.analyzer.analyzer_keyword.tokenizer: keyword
  • index.analysis.analyzer.analyzer_keyword.filter: lowercase

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/1f72b542-5262-420f-8d17-f818b05dccfe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.