graylog2-web-interface
graylog2-web-interface copied to clipboard
Read users aren't able to export search results as CSV
Non-admin users who try to export messages of a stream as CSV, only get a JSON document with the following content:
{"type":"ApiError","message":"HTTP 403 Forbidden"}
Refs #1478
With 1.1.3 I get an error with "Invalid range type provided." as the reason. Only when exporting from a stream. Standard search -> export is working. Do you need any more information?
Request information:
Method
GET
Query
relative=300
sortField=timestamp
q=54bfbb5d0cf2b56ecadd2bf4?rangetype=relativeTrk*
fields=message,source
sortOrder=desc
Referer
https://<HOSTNAME>:1443/streams/54bfbb5d0cf2b56ecadd2bf4/messages?rangetype=relative&fields=message%2Csource&width=1883&relative=300&q=Trk*
Connection
keep-alive
Accept
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
DNT
1
Accept-Language
de,en-US;q=0.7,en;q=0.3
Accept-Encoding
gzip, deflate
User-Agent
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Host
<HOSTNAME>:1443
Cheers, Guido
I could reproduce the behaviour @Binford3000 described in 1.1.3 and master.
I thought it's better to create a new issue for tracking this, closing this one again :)