Created
December 9, 2016 21:12
-
-
Save gitschaub/3fab5bf84db45723da1738fc50c3227e to your computer and use it in GitHub Desktop.
This file contains 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
# @timestamp returns success, but does not insert | |
$ curl http://api.ciscozeus.io/logs/8dcccc00/hellozeus/ -H "Content-Type: application/json" -d '{"logs":[{"@timestamp": "key"}]}' | |
{"successful":1} | |
# timestamp return invalid input error | |
$ curl http://api.ciscozeus.io/logs/8dcccc00/hellozeus/ -H "Content-Type: application/json" -d '{"logs":[{"timestamp": "key"}]}' | |
{"successful":0,"error":"invalid input"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment