Skip to content

Page Not Found #48

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
MiddleGeorgiaState opened this issue Jun 7, 2018 · 3 comments
Open

Page Not Found #48

MiddleGeorgiaState opened this issue Jun 7, 2018 · 3 comments

Comments

@MiddleGeorgiaState
Copy link

MiddleGeorgiaState commented Jun 7, 2018

I have a regular user assigned the reader role and an additional role that has access to one stream. I can create a Quick Values Graph. When I try to create a Quick Values Plus graph I get "page not found." The Quick Values Plus graphs create fine when using the admin account. This is the URL shown in red at the bottom when the error is generated.

Loading quick values failed with status: Error: cannot GET https://graylog.mydomain.edu:9000/api/search/universal/relative/terms?query=%2A&range=604800&field=winlogbeat_level&order=winlogbeat_level%3Awinlogbeat_level%3Adesc&size=25&stacked_fields=&size=25&order=winlogbeat_level:desc (403)

@billmurrin
Copy link
Owner

billmurrin commented Jun 8, 2018 via email

@MiddleGeorgiaState
Copy link
Author

I'm in the process of implementing GrayLog. Your plugin makes Graylog so much more useful. I'll be glad to test or give further information if needed. Thank you.

@MiddleGeorgiaState
Copy link
Author

I managed to get the widget to work for non-admins by adding this permission:

sudo curl -v -XPOST -u admin:PASSWORD -H 'Content-Type: application/json' 'https://graylog.yourdomain.com:9000/api/roles' --insecure -d '{"read_only": false,"permissions": ["savedsearches:read","searches:relative","searches:absolute","searches:keyword","dashboards:edit"],"name": "Allow Add 3rd Party Widget","description": "Allow Add 3rd Party Widget"}'

There may be more permissions here than necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants