Hi Mathieu,

the Graylog REST API changed between Graylog 1.x and Graylog 2.x.

What should the request, you've posted, exactly do?

Cheers,
Jochen

On Tuesday, 23 August 2016 14:14:13 UTC+2, Mathieu Grzybek wrote:
>
> Hello, 
>
> I have found that since my upgrade to 2.0 I cannot compute the quick 
> value widget. It only appears on field called "status". 
> I don't see any exception on elasticsearch logs. The only messages found 
> are in graylog server.log: 
>
> [SearchResource] Missing fields parameter. Returning HTTP 400 
> [SearchResource] Unable to execute search: [reduce] 
>
>
> call example: 
>
> curl 
> "
> http://mygraylog.org:12900/search/universal/relative/terms?query=%2A&range=300&filter=streams%3A55dc68d60cf293c638ddf255&field=status";
>  
>
> {"query":"*","begin_column":null,"begin_line":null,"end_column":null,"end_line":null,"message":"Unable
>  
>
> to execute 
> search","exception_name":"org.elasticsearch.action.search.ReduceSearchPhaseException"}
>  
>
>
> Is it a reserved word ? 
> I don't understand the error because a lot of messages of the given 
> stream contain the requested field. 
>
> Thanks, 
> Mathieu 
>
> -- 
> Le capitaine Mathieu GRZYBEK 
> COMSOPGN / STIG / BCQ 
>
>

-- 
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 graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/29bf680f-c9f6-45cc-bf13-a1f7a19f32a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to