Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
public class Location implements Serializable { private Double lat; private Double lon; public Double getLat() { return lat; } public void setLat(Double lat) { this.lat = lat; } public Double getLon() { return lon; } public void setLon(Double lon) { this.lon = lon; } } public class InFlowLog implements Serializable { private Location location; } |
키바나에서 geopoint 맵핑명령실행
Code Block | ||||
---|---|---|---|---|
| ||||
PUT my_indexput logstash-idxname { "mappings": { "_doc": { "properties": { "location": { "type": "geo_point" } } } } } |
- 맵핑설정을 먼저하는게 좋다.
성공시
Links:
- https://github.com/logstash/logstash-logback-encoder
- https://layer4.fr/blog/2016/10/25/efficient-logging-spring-boot-logback-logstash/
- 로그시스템에대한 고찰
...