Graylog2 / Graylog2/graylog2-server

Missing api in verzion 6.x

Open
#20,200 3 comments 0 reactions 0 assignees View on GitHub
feature triaged
Dominant language
Java
Stars
8.1k
Forks
1.1k
Avg merge
1d 20h
Merged PRs (30d)
217

Description

From version 6.x, the ability to read data from widgets on dashboards disappeared in the browser api.
In the older version 2.3.x it is working.

Dashboards/Widgets : Manage widgets of an existing dashboard
post /dashboards/{dashboardId}/widgets
Add a widget to a dashboard
put /dashboards/{dashboardId}/widgets/{widgetId}
Update a widget
delete /dashboards/{dashboardId}/widgets/{widgetId}
Delete a widget
get /dashboards/{dashboardId}/widgets/{widgetId}
Get a widget
put /dashboards/{dashboardId}/widgets/{widgetId}/cachetime
Update cache time of a widget
put /dashboards/{dashboardId}/widgets/{widgetId}/description
Update description of a widget
get /dashboards/{dashboardId}/widgets/{widgetId}/value
Get a single widget value.

I need to read via API the data from the widget that are on the created dashboard.

I am using aggregated data dumps, but the api is limited to 15 items.

Anaglogically i need to do a select count(*), column dump for any data with group by any column.

and have a dump of all the results.

I am doing views on TOP stats, but I need to be able to set the number of records displayed.

I was looking for options to get this and the only option would be to go back to version 2 where the api is, but it doesn't make sense.


would it be possible to roll the api back to the new update please ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.