Dear Graylog Rock Stars,

We are using Chef to automate the installation of our Graylog Server. We 
automate the creation of inputs, dashboards and widgets via the uploading 
of content packs via the REST api. (It is, quite honestly, super cool.)

The question has come up "How do we automate upgrades?" So if one of our 
dashboards changes, or new ones get added, how do we use Chef to handle the 
upgrade of our content?

One thing that occurred to us was that, if we knew the ids of the 
dashboards that we had added, we could modify them directly via the REST 
api. But it does not seem possible, with the current rest API, to upload a 
dashboard with a specific ID. When we try we get the message, "Unable to 
map property id. Known properties include: title, description". It seems 
like Graylog is always assigning the id. This makes things a bit more 
difficult, since to modify an existing dashboard, we will have to get its 
id first. 

Any thoughts on how to 
a.) Automate updates of Graylog content (inputs, dashboard, etc.) via Chef, 
or
b.) set the specific ids for objects, such as dashboards, in Graylog?

I suppose it might be possible to go straight into the Mongo database and 
change things. We haven't investigated that path.

All thoughts are welcome and appreciated.

Best,
Skip

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/graylog2/f933f25f-4f92-4e27-9f52-e2f989c3cb19%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to