Created
June 1, 2017 22:23
-
-
Save ei-grad/457f900d5fbbfb384c9813171b177250 to your computer and use it in GitHub Desktop.
Gather field types from elasticsearch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl localhost:9200/*/_mapping | jq -S 'map_values(.mappings|map_values(.properties|try map_values(.type)))' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment