Hi,
the *properties* level is still missing (also missed that in my example):
{
"template" : "graylog_*",
"mappings" : {
"message": {
"properties": {
"result" : { "type" : "string" }
}
}
}
}
Please refer
to
https://www.elastic.co/guide/en/elasticsearch/reference/1.7/indices-put-mapping.html
for a complete description of the Elasticsearch index mapping.
Cheers,
Jochen
On Monday, 4 January 2016 15:14:39 UTC+1, eleftherios Banos wrote:
>
> Sorry this is the correct index template, but still the same error:
>
> curl http://localhost:9200/_template?pretty
>
> {
> "graylog_per_index" : {
> "order" : 0,
> "template" : "graylog_*",
> "settings" : { },
> "mappings" : {
> "message" : {
> "result" : {
> "type" : "string"
> }
> }
> },
> "aliases" : { }
> }
> }
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/1a207381-aaf8-4578-835d-642a198b82bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.