Hi,
I'm trying to add a new widget to an existing dashboard using the
api-browser.
My JSON Body looks like this:
{
"description": "TEST WIDGET",
"config": {
"range_type" :"relative",
"range" : "300000",
"query": "TESTQUERY",
"stream_id": "534bdf94e4b0826b15ef6149"
},
"type": "search_result_count",
"creator_user_id": "chris"
}
It seems to work find, but the API ignores the stream_id, so my result
looks like this:
{ "id": "059e18f2-4d3d-4ef9-8bd8-a9c8bcc4fcf8", "description": "TEST WIDGET",
"config": { "query": "TESTQUERY", "timerange": { "range": 300000, "type":
"relative" } }, "cache_time": 10, "type": "search_result_count", "
creator_user_id": "chris" }
Has anyone an idea?
--
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.