Comments (1)
This must be related to logstash-plugins/logstash-output-elasticsearch#666
I have managed to solve my issue with
curl 'http://localhost:9200/_template'
curl -XDELETE 'http://localhost:9200/_template/logstash'
curl -XPUT 'localhost:9200/_template/logstash?pretty' -H 'Content-Type: application/json' -d'
{
"template" : "logstash-*",
"version" : 60001,
"settings" : {
"index.refresh_interval" : "5s"
},
"mappings" : {
"_default_" : {
"dynamic_templates" : [ {
"message_field" : {
"path_match" : "message",
"match_mapping_type" : "string",
"mapping" : {
"type" : "text",
"norms" : false
}
}
}, {
"string_fields" : {
"match" : "*",
"match_mapping_type" : "string",
"mapping" : {
"type" : "text", "norms" : false,
"fields" : {
"keyword" : { "type": "keyword", "ignore_above": 256 }
}
}
}
} ],
"properties" : {
"@timestamp": { "type": "date"},
"@version": { "type": "keyword"},
"geoip" : {
"dynamic": true,
"properties" : {
"ip": { "type": "ip" },
"location" : { "type" : "geo_point" },
"latitude" : { "type" : "half_float" },
"longitude" : { "type" : "half_float" }
}
}
}
}
}
}
'
from logspout-logstash.
Related Issues (20)
- Error building: ERROR: the correct import path is gopkg.in/check.v1 HOT 2
- Question: What's the value-add of this adaptor? HOT 2
- don't see logstash.go HOT 2
- write: connection refused HOT 1
- No logging if ELK stack is not fully up HOT 10
- High CPU Usage on dockerd HOT 7
- logstash: could not write:write tcp HOT 2
- Logging `null` causes container to crash
- Preserve JSON Number formating HOT 1
- Is there a way collecting multiline logs as a single event to logstash? HOT 3
- Add option to disable decoding json logs HOT 1
- Versionning HOT 1
- quotes in fields using LOGSTASH_FIELDS environment variable
- TLS & Client Certs HOT 3
- Not possible to build the custom version
- what's the format of DOCKER_LABELS? HOT 1
- Add option to only pull logs from certain containers
- Severity tag missing HOT 1
- Docker labels causes 400 error in logstash
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logspout-logstash.