Get all log messages by using Graylog API

GET /messages/{index}/{messageId} - get single message

Hi, I am trying to get logs coming through SIEM by using the API feature. I am currently using Graylog v4.3.0-rc.3+80a393e . I have searched on documents and found above api feature.But it allows me to get only one single message and I waant to get all messeages that belong to spesific index(as parameter). Or is there any different way to get all messages at one get request ?

Here is an example image that I got a single log

You can bulk retrieve messages by exporting to a CSV file.
Check out the /views/search/messages and /views/export APIs.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.