Created
July 26, 2013 21:06
-
-
Save lennartkoopmann/6092239 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lennart ~/workspace/graylog2/graylog2-server(020)$ curl -XGET http://127.0.0.1:12910/system/inputs?pretty=true -v -0 | |
* About to connect() to 127.0.0.1 port 12910 (#0) | |
* Trying 127.0.0.1... | |
* connected | |
* Connected to 127.0.0.1 (127.0.0.1) port 12910 (#0) | |
> GET /system/inputs?pretty=true HTTP/1.0 | |
> User-Agent: curl/7.24.0 (x86_64-apple-darwin12.0) libcurl/7.24.0 OpenSSL/0.9.8x zlib/1.2.5 | |
> Host: 127.0.0.1:12910 | |
> Accept: */* | |
> | |
* HTTP 1.0, assume close after body | |
< HTTP/1.0 200 OK | |
< Content-Type: [application/json] | |
< X-Runtime-Microseconds: [2812] | |
< | |
{ | |
"total" : 3, | |
"inputs" : [ { | |
"persist_id" : "51f2e49b3004218ff42c4f13", | |
"name" : "Syslog TCP", | |
"input_id" : "c07270bb-cf1f-4477-a07e-84fa39576fd0", | |
"attributes" : { | |
"port" : 6661, | |
"allow_override_date" : true, | |
"bind_address" : "127.0.0.1" | |
} | |
}, { | |
"persist_id" : "51f2e47c3004218ff42c4f12", | |
"name" : "Syslog TCP", | |
"input_id" : "8fe2b0f8-5ccc-4e6b-8ee2-82c107175bcc", | |
"attributes" : { | |
"port" : 5519, | |
"allow_override_date" : true, | |
"bind_address" : "0.0.0.0", | |
"force_rdns" : true | |
} | |
}, { | |
"persist_id" : "51f2e4ae3004218ff42c4f14", | |
"name" : "Syslog UDP", | |
"input_id" : "5898712f-15c5-40ab-b275-03eda7da5f56", | |
"attributes" : { | |
"port" : 5551, | |
"allow_override_date" : true, | |
"store_full_message" : true, | |
"bind_address" : "127.0.0.1", | |
"force_rdns" : true | |
} | |
} ] | |
} | |
* Closing connection #0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment