Good day! I’m a novice developer trying to solve a problem: we need to get all messages through an arbitrary search through the API. For example, I specify the MAC address and get all the logs in which it is mentioned. How to do it? It’s on the line: Search / Messages: Simple search returning (matching) messages only, as CSV? What parameters need to be passed?
Hello && Welcome
I might be able to help. With Graylog you can use the REST API browser. This is located System/Nodes/API browser . Looks something like this.
Unfortunately, I haven’t work with API that much to give you a direct answer.
You can find more information here.
Hope that helps
Click on Model Schema and below that ( Red Box) you can add parameter.