Buffering examples
- Last UpdatedApr 19, 2024
- 1 minute read
The following examples are buffering configurations made through the curl REST client.
Retrieve the buffering configuration
curl.exe --ntlm --negotiate -u <UserName> -X GET "http://localhost:5590/api/v1/configuration/system/buffering"
Sample output:
{
"bufferLocation": "C:/ProgramData/OSIsoft/Adapters/EventsToCONNECT/Buffers",
"maxBufferSizeMB": 1024,
"enablePersistentBuffering": true
}
The following response indicates success:
200 OK
Update MaxBufferSizeMb parameter
curl.exe --ntlm --negotiate -u <UserName> -d "{ \"MaxBufferSizeMB\": 100 }" -H "Content-Type: application/json" - X PATCH "http://localhost:5590/api/v1/configuration/system/buffering"
The following response indicates success:
204 No Content