I am trying to create a sensu stash using the cli as such:
sensu cli stash create silence/client
This then gives me a json file to create the stash, I put in my requirements as such:
{
"path": "silence/client",
"Content-Type": "application/json",
"content": {
"reason": "reason here",
"source": "uchiwa",
"timestamp": 1493220469
}
}
But when i save the file i get this error:
JSON::ParserError: A JSON text must at least contain two octets!
I am not too familiar with json, what does this mean?