When using Graylog, you may run into a case where you’re making a large number of streams to organize data. A quick way to do this is to use the API to programmatically add the streams to the system quickly.
For authorization, you can use Basic Auth with your username and password.
You can also create an access token to allow access for individual systems.
Interact with API
Use the GET endpoint to get the streams payload:
Grab one of the streams and format the payload to use for the POST endpoint, and then insert the streams using the API.
You can check the API browser for more endpoints at