I'm trying to upload my old logs to gcloud for anomaly detection but it seems it isn't possible. I've tried AWS but they support uploading only 2 week old logs the oldest (wtf?).
`gcloud logging write --payload-type=json` seems to be doing the trick, but it disregards the timestamp. How do I specify the timestamp field, or maybe in "Log Search" UI it would be possible to force-set timestamp field like it's possible in Kibana?...
Second question is how do run the anomaly detection, if that's possible at all?
All this is unrelated to gcloud per se, this is an external app.