Hey jochen,
thanks for the quick answering.
Yeah i probably should have noted that in my initial post, i already tried that. When im using the text/csv type request header i get no message/output/error on the command-line whatsoever:
[Kevin.Barros-Weiser@graylog ~]# curl -u USER:PW -H 'Accept: text/csv' -X GET 'https://localhost:9000/api/search/universal/relative/export?query=%22session%20opened%20for%20user%20root%22&range=300&fields=timestamp%2Cmessage'
[Kevin.Barros-Weiser@graylog ~]#
BUT, i do get the following error messages in the Graylog-Server logfile:
2018-02-08 16:50:21,221 ERROR: org.glassfish.jersey.message.internal.WriterInterceptorExecutor - MessageBodyWriter not found for media type=text/csv, type=class org.graylog2.rest.resources.search.responses.AutoValue_SearchError, genericType=class org.graylog2.rest.resources.search.responses.AutoValue_SearchError.
2018-02-08 16:50:21,221 ERROR: org.glassfish.jersey.server.ServerRuntime$Responder - Error occurred when processing a response created from an already mapped exception
Didn’t recognize them before…do i need a special Plugin/Addon for this? The export to CSV should be a builtin function, shouldn’t it?
Regards
Kevin