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.
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:
“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.
I just need to set the node id because I cannot do it with content pack.
Can somebady help me?