Skip to content

Instantly share code, notes, and snippets.

View jothoma1's full-sized avatar

Johan THOMAS jothoma1

View GitHub Profile
@jothoma1
jothoma1 / graylog_token.txt
Created April 6, 2017 09:45 — forked from joschi/graylog_token.txt
Graylog access token login
# Create an access token for user "admin" with name "test-1234"
# POST /users/{username}/tokens/{name}
$ curl -i -u admin:admin -H 'Accept: application/json' -X POST 'http://127.0.0.1:12900/users/admin/tokens/test-1234?pretty=true'
HTTP/1.1 200 OK
X-Graylog-Node-ID: cd03ee44-b2a7-4824-be16-bb7456149dbd
Content-Type: application/json
Date: Mon, 08 Aug 2016 12:12:09 GMT
Content-Length: 139
{
@jothoma1
jothoma1 / nxlog.conf
Created April 2, 2017 18:18 — forked from chelming/nxlog.conf
NXLOG config that will parse SCCM and IIS logs
## Please set the ROOT to the folder your nxlog was installed into,
## otherwise it will not start.
#define ROOT C:\Program Files\nxlog
define ROOT C:\Program Files (x86)\nxlog
define CERTDIR %ROOT%\cert
Moduledir %ROOT%\modules
CacheDir %ROOT%\data
Pidfile %ROOT%\data\nxlog.pid