Skip to content

Instantly share code, notes, and snippets.

@gitschaub
Created December 9, 2016 21:12
Show Gist options
  • Save gitschaub/3fab5bf84db45723da1738fc50c3227e to your computer and use it in GitHub Desktop.
Save gitschaub/3fab5bf84db45723da1738fc50c3227e to your computer and use it in GitHub Desktop.
# @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