Update #2: mongoDB profiling shows me a correct query with result
2015-02-16T14:30:30.083+0000 [conn46744] query graylog2_pro.dashboards
query: { _id: ObjectId('54e1f84a0589053e11bcab39') } planSummary: IDHACK
ntoskip:0 nscanned:1 nscannedObjects:1 idhack:1 keyUpdates:0 numYields:0
locks(micros) r:62 nreturned:1 reslen:146 0ms
Am Montag, 16. Februar 2015 14:43:56 UTC+1 schrieb Ano nym:
>
> Hey guys,
>
> i try to add a dashboard for every user directly to the MongoDB. The
> creation works fine:
>
> { "total": 2, "dashboards": [ { "creator_user_id": "admin", "description":
> "Personal dashboard from user x", "created_at": "2015-02-16T13:29:56.392Z",
> "positions": {}, "id": "54e1f0280589052eb56777e3", "title": "Dashboard x",
> "widgets": [] }, { "creator_user_id": "admin", "description": "test", "
> created_at": "2015-02-16T13:29:12.019Z", "positions": {}, "id":
> "54e1f0a8e4b0e2b5626e2dd7", "title": "Test", "widgets": [] } ] }
>
> The first one was created by an external python script directly to the
> mongoDB. Permissions for the user will be set too. The second dashboard was
> created over the web interface.
> Everything works fine, but i cant add a widget over the web interface to
> the first dashboard. The second one works fine. "Error: Could not add
> widget to dashboard."
>
> Did you have any ideas whats wrong?
>
> Regards, Rene
>
>
--
You received this message because you are subscribed to the Google Groups
"graylog2" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.