We are running Graylog on k8s and locally on docker. I have configured “things” on our k8s env for Graylog, like the dashboard. I’m trying to import the settings/configs to our local dev Graylog, with these steps
Created content pack with both dashboard and streams selected. No parameters.
Downloaded the json
Uploaded the json to local graylog
Hit the install, and I see error 500 on UI
On the Graylog logs I have this:
“org.graylog2.contentpacks.exceptions.ContentPackException: Missing Stream for widget entity”
Tried to understand the json what could be missing, but no luck…
I have exported both (and only these) dashboard and stream. I don’t get what am I missing here.
Hello,
Are both graylog servers the same version?
All your Widgets from the dashboard/s are using the default stream (All Messages) when you made your content pack?
Have you tried to make one content pack for one dashboard?
Maybe test each dashboard separately.
Thank you for these!
I had different versions of graylog 3.1.x and 3.1.1. Updated both to version 3.1.13. But the dashboard was created in the old version.
Created again the dashboard on new version, and uploading/installation for this content pack now works fine.
BUT, as I try add (or just make content pack of these) an event with notification. I hit the stream error again:
Caused by: org.graylog2.contentpacks.exceptions.ContentPackException: Missing Stream for event definition
Stream on event is “All messages”.
As I try to add the stream “All messages” to the content pack, it is not listed, why?
I was assuming as the event uses “all messages” stream that would work, even without exporting that into the content pack, as it is default “all streams”, or em I missing something here?
EDIT: removed the stream from the event “filter & aggregation” section, and then I was able to install. I will do some more testing & research, if I can came up with something resonable…
Hello,
Every Graylog Server version I’ve installed or upgraded to always had a default stream “All messages” so when I created dashboard/s or content packs I never had to configure “All messages” stream for “filter & aggregation” section. Here is one example of mine.
If I had a unique stream then yeah I would place it in “Streams (Optional)” section. I believe by default Event Definition uses the default streams. Maybe someone here has a better insight why you can’t use "All Message’ stream.
Hope that helps
And, I was able to upload and install after recreating the content packs after upgrading, there might be some issue with migrating the content packs. Should not have been in such a rush.