When I use it from swagger or REST API browser I have the problen to understand how set the parameters. I can use the parameter default values.
If I leave the textarea empty I have the follor error:
So I don’t know the parameters json structure as the model shema say:
Somebody can help me?
the parameters are:
“parameters”: [
{
“name”: “locale”,
“title”: “Locale”,
“description”: “Locale used for time data ingestion”,
“type”: “string”,
“default_value”: “EN”
},
{
“name”: “timezone”,
“title”: “Timezone”,
“description”: “the timezone used for data event ingestion”,
“type”: “string”,
“default_value”: “UTC”
}
]
Is there a simple way to use the default values too?
You are right,
but this problem happens on a new Graylog installation. So I’m sure that the input does not exist.
This is the strange behavior.
If I restart the appliance, the input that after content pack input were red, become green.
So it seems something related with the content-pack import
I’ve tried it and it works fine for me. I created content pack with input and install it using curl and resp api, and input started as desired. So probably you have already started (something listening on the same port) some services in that port or started 2 inputs with same port?
Caused by: io.netty.channel.unix.Errors$NativeIoException: bind(…) failed: Address already in use
2021-05-18T15:19:21.142Z INFO [InputStateListener] Input [GELF TCP/60a3d9efe7651b64a50cc77c] is now FAILED
Can you help me to understand if the port is already used? because the strange thing is that if I restart Graylog it become geen and started
Hi @shoothub
the deprecated input comes from the Graylog migration.
I currently need to migrate from 2.5.2 to the last 4.
The content pack import is required for devel environment to client test one
Hello I’ve tried import content pack and install it using curl in clear version of graylog OVA 4.0.7 and everything worked as expected, input started correctly with status was Running.
How did you configure your graylog box, what type of installation do you use? Docker or standalone version on Debian/Ubuntu, CentOS?
Check also your listening ports before installing content pack to check if nothing is listening in used port in input with command: ss -tulpn
2021-05-19T13:04:51.627Z WARN [AbstractTcpTransport] Failed to start channel for input BeatsInput{title=AX-Beat, type=org.graylog.plugins.beats.BeatsInput, nodeId=null}
io.netty.channel.unix.Errors$NativeIoException: bind(…) failed: Address already in use
2021-05-19T13:04:51.627Z ERROR [InputLauncher] The [org.graylog.plugins.beats.BeatsInput] input with ID <60a50c20a010fd30e2204d1a> misfired. Reason: bind(…) failed: Address already in use.
org.graylog2.plugin.inputs.MisfireException: org.graylog2.plugin.inputs.MisfireException: io.netty.channel.unix.Errors$NativeIoException: bind(…) failed: Address already in use
at org.graylog2.plugin.inputs.MessageInput.launch(MessageInput.java:158) ~[graylog.jar:?]
at org.graylog2.shared.inputs.InputLauncher$1.run(InputLauncher.java:84) [graylog.jar:?]
at com.codahale.metrics.InstrumentedExecutorService$InstrumentedRunnable.run(InstrumentedExecutorService.java:180) [graylog.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_292]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_292]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_292]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_292]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_292]
Caused by: org.graylog2.plugin.inputs.MisfireException: io.netty.channel.unix.Errors$NativeIoException: bind(…) failed: Address already in use
at org.graylog2.plugin.inputs.transports.AbstractTcpTransport.launch(AbstractTcpTransport.java:199) ~[graylog.jar:?]
at org.graylog2.plugin.inputs.MessageInput.launch(MessageInput.java:155) ~[graylog.jar:?]
… 7 more
Caused by: io.netty.channel.unix.Errors$NativeIoException: bind(…) failed: Address already in use
2021-05-19T13:04:51.631Z INFO [InputStateListener] Input [Beats (deprecated)/60a50c20a010fd30e2204d1a] is now FAILED
At the end the strange, very strange, situation is that is I restart Graylog, I don’t have input error anymore
I don’t think it’s a bug, because it works with clear OVA install. Did you create/import/stop/delete some inputs before importing content pack? Did you upgrade from older version?