Hi Dennis,
Would it also be possible for you give me and example of a put request for
updating the positions of a dashboards widgets -
/dashboard/{dashboardid}/positions
Thanks,
Greg
On Wednesday, July 1, 2015 at 9:13:43 AM UTC+1, Dennis Oelkers wrote:
>
> No, it should be “keyword”. For an absolute time range you need to specify
> “from” and “to” fields.
>
> I guess we need to work a bit on the available documentation for this.
>
> Kr,
> D.
> --
> Tel.: +49 (0)40 609 452 077
> Fax.: +49 (0)40 609 452 078
>
> TORCH GmbH - A Graylog company
> Steckelhörn 11
> 20457 Hamburg
> Germany
>
> Commercial Reg. (Registergericht): Amtsgericht Hamburg, HRB 125175
> Geschäftsführer: Lennart Koopmann (CEO)
>
> > On 01.07.2015, at 10:05, [email protected] <javascript:> wrote:
> >
> > Thanks Dennis.
> >
> > If the range_type is "keyword" should the field also be named "range"?
> >
> >
> > On Wednesday, July 1, 2015 at 8:13:27 AM UTC+1, Dennis Oelkers wrote:
> > Hey Greg,
> >
> > your request payload is incorrect. You are passing a field named
> “relative” for the relative time range specification, it needs to be named
> “range” instead. Also you currently have to pass its value as a String
> (“0”) although it is actually a number.
> >
> > Kr,
> > D.
> >
> > --
> > Tel.: +49 (0)40 609 452 077
> > Fax.: +49 (0)40 609 452 078
> >
> > TORCH GmbH - A Graylog company
> > Steckelhörn 11
> > 20457 Hamburg
> > Germany
> >
> > Commercial Reg. (Registergericht): Amtsgericht Hamburg, HRB 125175
> > Geschäftsführer: Lennart Koopmann (CEO)
> >
> > > On 30.06.2015, at 17:16, [email protected] wrote:
> > >
> > > When I try and create a widget for an existing dashboard using the
> REST API I get an internal server error (500). This logged on the server as
> Unhandler Exception in REST resource. Java.Lang.NumberFormatException :
> null
> > >
> > > This is the POST request body I am using {"description":"Event Details
> Requested
> Total","type":"SEARCH_RESULT_COUNT","config":{"range_type":"relative","relative":0,"trend":false,"query":"Feed:RBFootball
>
> AND Type:EventDetailsRequested","lower_is_better":false}}
> > >
> > > Is there something I'm doing incorrectly?
> > >
> > > --
> > > You received this message because you are subscribed to the Google
> Groups "graylog2" group.
> > > To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected].
> > > For more options, visit https://groups.google.com/d/optout.
> >
> >
> > --
> > You received this message because you are subscribed to the Google
> Groups "graylog2" group.
> > To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected] <javascript:>.
> > For more options, visit https://groups.google.com/d/optout.
>
>
--
You received this message because you are subscribed to the Google Groups
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.