Hi,

it looks like the field "result" has previously been used to store numeric 
values and Elasticsearch's dynamic mapping inferred it to be a numeric 
field. You can either use another field name than "result" or create an 
explicit mapping for this field using a custom index template (see 
https://www.elastic.co/guide/en/elasticsearch/reference/1.7/mapping.html 
and 
https://www.elastic.co/guide/en/elasticsearch/reference/1.7/indices-templates.html).


Cheers,
Jochen

On Monday, 7 December 2015 11:48:29 UTC+1, eleftherios Banos wrote:
>
> I am using JSON path input, and although my query looks correct when 
> testing on 
> http://jsonpath.herokuapp.com/?path=$.store.*
>
> I receive 
>
> MapperParsingException[failed to parse [result]]; nested: 
> NumberFormatException[For input string: "
> {timestamp=1449236333919, uptime_in_millis=137429108, 
> mem={heap_used_in_bytes=3125594840, heap_used_percent=32, 
> heap_committed_in_bytes=9610592256, heap_max_in_bytes=9610592256, 
> non_heap_used_in_bytes=93593280, non_heap_committed_in_bytes=94994432, 
> pools={young={used_in_bytes=40827728, max_in_bytes=139591680, 
> peak_used_in_bytes=139591680, peak_max_in_bytes=139591680}, 
> survivor={used_in_bytes=4202320, max_in_bytes=17432576, 
> peak_used_in_bytes=17432576, peak_max_in_bytes=17432576}, 
> old={used_in_bytes=3080564792, max_in_bytes=9453568000, 
> peak_used_in_bytes=7092187792, peak_max_in_bytes=9453568000}}}, 
> threads={count=51, peak_count=57}, 
> gc={collectors={young={collection_count=16289, 
> collection_time_in_millis=1094485}, old={collection_count=7, 
> collection_time_in_millis=999}}}, buffer_pools={direct={count=617, 
> used_in_bytes=16609087, total_capacity_in_bytes=16609087}, 
> mapped={count=80, used_in_bytes=1113253299, 
> total_capacity_in_bytes=1113253299}}}"];
>
> Using this input, is not possible to get  a proper JSON format? 
>
> Elasticsearch Error Log:
>
> https://gist.github.com/leftyb/63d383670d8aaddb62c0
>
> Thank you,
> Lefteris,
>

-- 
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/146afc39-515f-4287-b03c-b464118aa8ff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to