Graylog2 / Graylog2/graylog2-server
Input update ResT: cannot set the node
- Dominant language
- Java
- Stars
- 8.1k
- Forks
- 1.1k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 217
Description
Hi, using Graylog 4.1.6 I need to create input using content pack.
But I don’t see where I can set the node value as it is not global.
```
"global": {
"@type": "boolean",
"@value": false
}
```
Is there a way to set it in the content pack json?
If not I try to use the Graylog ReST API that we can find in Node menu.
But even if I have the node id and the input id the put rest service give me error on missing parameters that should be optional like title

But I have the follow error message:
```
{
“type”: “ApiError”,
“message”: “Cannot construct instance of org.graylog2.rest.models.system.inputs.requests.InputCreateRequest, problem: Null title\n at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 4, column: 1]”
}
```
Why I should add the title if it is optional?
Even if I add it, the error message continue with type and then with configuration.
So input update does not work as expected and I canno set the node value to my imported input
Contributor guide
Assessment
This issue has not been assessed yet.