Quantcast
Viewing all articles
Browse latest Browse all 4243

Analytic Tool with AWS S3 -- Fatal error: Precondition Failed (3 replies)

I am trying to get the Analytic Tool to work with S3 logs. After downloading the logs, I combine all the logs with

cat /tmplog/* > access.log

And then I called the following command

sudo python /vhosts/piwik/misc/log-analytics/import_logs.py --url=https://mybucket.s3-ap-southeast-1.amazonaws.com /home/ubuntu/s3logs/es_access.log --idsite=2 --log-format-name=s3

But I keep getting the following error

Fatal error: Precondition Failed

Any ideas?

Viewing all articles
Browse latest Browse all 4243

Trending Articles