Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # new line json
- curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/bank/account/_build?pretty' --data-binary @accounts.json
- # in kibana
- GET _cat/indices
- GET bank
- # setting data type mappings
- PUT /logstash-2015.05.05
- {
- "mappings": {
- "log": {
- "properties": {
- "geo": {
- "properties": {
- "coordinates": {
- "type": "geo_point"
- }
- }
- }
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment