Hi,

if anyone is interested I put the JSON Body directly into the Mongodb in
the collection users. This worked. The python script is available on
request. (Sorry no ruby code :-))

CU
Jens

> {
> "id":"539047e2e4b092d07a61c05e",
> "startpage":{},
> "timezone":"Europe/Berlin",
> "username":"XXXXXXXXX",
> "read_only":false,
> "session_timeout_ms":111000,
> "email":"test@localhost",
> "external":false,
> "permissions":[
>    "messagecount:read",
>    "messages:read",
>    "throughput:read",
>    "savedsearches:create",
>    "savedsearches:read",
>    "users:passwordchange:XXXXXXXXX",
>    "fieldnames:read",
>    "inputs:read",
>    "jvmstats:read",
>    "metrics:read",
>    "buffers:read",
>    "savedsearches:edit",
>    "streams:read:537f4e19e4b061f0c9047fce",
>    "indexercluster:read",
>    "users:edit:XXXXXXXXX",
>    "system:read"
>    ],
> "full_name":"XXXXXXXXX"
> }


-- 
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.

Reply via email to