Hi,
Graylog currently doesn't support a "bootstrap" configuration file with
entity configurations (e. g. inputs, streams, outputs, etc.) but you can
use the content pack feature to export a content pack containing your
entity configurations and import/apply that to your Graylog setup via the
REST API. This would at least minimize interaction with the REST API in
your Dockerfile.
Cheers,
Jochen
On Wednesday, 16 September 2015 11:01:35 UTC+2, Ming Fang wrote:
>
> Is there a way to create inputs using a config file?
>
> I want a set of inputs to be automatically create if necessary based on
> settings in a config file.
> Currently I creating the inputs using the REST Api.
> See the end of my Dockerfile here
> https://github.com/mingfang/docker-graylog/blob/master/Dockerfile
>
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to graylog2+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/38c373d0-15a7-4f92-9225-d3ad8a06252d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.