Created
March 31, 2015 22:10
-
-
Save aaronfeng/a8736ad319e2050efbb4 to your computer and use it in GitHub Desktop.
heka bulk api error
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
POST /_bulk HTTP/1.1 | |
Host: 172.17.0.36:9200 | |
User-Agent: Go 1.1 package http | |
Content-Length: 97 | |
Accept: application/json | |
Accept-Encoding: gzip | |
{"index":{"_index":"2015.03.31","_type":"7d98073d388e"}} | |
{"bar":"boo","log":"awesome"} | |
HTTP/1.1 400 Bad Request | |
Content-Type: application/json; charset=UTF-8 | |
Content-Length: 99 | |
{"error":"ActionRequestValidationException[Validation Failed: 1: no requests added;]","status":400} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment