I think you have an extra single quote in the first line.
$ curl -i -X POST -H 'Content-Type: application/json' -H 'Accept: 
application/json' http://127.0.0.1:12900/system/sessions*'* -d 
'{"username":"USER", "password":"SECRET", "host":""}'
In any case once I got it to pull an ID it still didn't work in the script.
Thanks for the help though.


On Sunday, April 24, 2016 at 8:07:32 AM UTC-4, Jim Bailey wrote:
>
> Can someone tell me where to get the API key for a hubot script to pull 
> events from Graylog?
> This is the script on Github. 
> https://github.com/github/hubot-scripts/blob/master/src/scripts/graylog.coffee
>

-- 
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/07da0dab-72af-4976-9c7f-8cfb0aa309df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to