How to create an index_2 containing Index_1's aggregations results as fields?

I need terms aggregation but the dev tools manager answers to me:

"error": {
"root_cause": [
{
"type": "status_exception",
"reason": "Unsupported aggregation type [terms]"
}