Boto3 python package wasn't installed either.
# tail -n20 /var/ossec/etc/ossec.conf
<bucket type="custom">
<name>inspectorlogging</name>
<path>firehose</path>
<access_key>insert_access_key</access_key>
<secret_key>insert_secret_key</secret_key>
</bucket>
<bucket type="custom">
<name>macielogging</name>
<path>firehose</path>
<access_key>insert_access_key</access_key>
<secret_key>insert_secret_key</secret_key>
</bucket>
<bucket type="custom">
<name>vpcflowlogging</name>
<path>flowlogs</path>
<access_key>insert_access_key</access_key>
<secret_key>insert_secret_key</secret_key>
</bucket>
</wodle>
</ossec_config>
# pip install boto3
Collecting boto3
Downloading https://files.pythonhosted.org/packages/6d/5b/67f82c90b73ea21121a7d94c0b56546c1bfbd516ca27ae829220389c547a/boto3-1.9.69-py2.py3-none-any.whl (128kB)
100% |████████████████████████████████| 133kB 5.7MB/s
Collecting s3transfer<0.2.0,>=0.1.10 (from boto3)
Downloading https://files.pythonhosted.org/packages/d7/14/2a0004d487464d120c9fb85313a75cd3d71a7506955be458eebfe19a6b1d/s3transfer-0.1.13-py2.py3-none-any.whl (59kB)
100% |████████████████████████████████| 61kB 8.4MB/s
Collecting botocore<1.13.0,>=1.12.69 (from boto3)
Downloading https://files.pythonhosted.org/packages/72/ba/a188505f67a78a686aa24d8511a18cb5a8bb27705c9d1b1bb81bee97a138/botocore-1.12.69-py2.py3-none-any.whl (5.2MB)
100% |████████████████████████████████| 5.2MB 228kB/s
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in /usr/lib/python2.7/dist-packages (from boto3)
Requirement already satisfied: futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" in /usr/lib/python2.7/dist-packages (from s3transfer<0.2.0,>=0.1.10->boto3)
Collecting urllib3<1.25,>=1.20; python_version == "2.7" (from botocore<1.13.0,>=1.12.69->boto3)
Downloading https://files.pythonhosted.org/packages/62/00/ee1d7de624db8ba7090d1226aebefab96a2c71cd5cfa7629d6ad3f61b79e/urllib3-1.24.1-py2.py3-none-any.whl (118kB)
100% |████████████████████████████████| 122kB 8.9MB/s
Requirement already satisfied: python-dateutil<3.0.0,>=2.1; python_version >= "2.7" in /usr/lib/python2.7/dist-packages (from botocore<1.13.0,>=1.12.69->boto3)
Requirement already satisfied: docutils>=0.10 in /usr/lib/python2.7/dist-packages (from botocore<1.13.0,>=1.12.69->boto3)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from python-dateutil<3.0.0,>=2.1; python_version >= "2.7"->botocore<1.13.0,>=1.12.69->boto3)
Installing collected packages: urllib3, botocore, s3transfer, boto3
Found existing installation: urllib3 1.8.2
Uninstalling urllib3-1.8.2:
Successfully uninstalled urllib3-1.8.2
Found existing installation: botocore 1.10.82
Uninstalling botocore-1.10.82:
Successfully uninstalled botocore-1.10.82
Successfully installed boto3-1.9.69 botocore-1.12.69 s3transfer-0.1.13 urllib3-1.24.1
You are using pip version 9.0.3, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
# pip install boto3
Requirement already satisfied: boto3 in /usr/local/lib/python2.7/site-packages
Requirement already satisfied: s3transfer<0.2.0,>=0.1.10 in /usr/local/lib/python2.7/site-packages (from boto3)
Requirement already satisfied: botocore<1.13.0,>=1.12.69 in /usr/local/lib/python2.7/site-packages (from boto3)
Requirement already satisfied: jmespath<1.0.0,>=0.7.1 in /usr/lib/python2.7/dist-packages (from boto3)
Requirement already satisfied: futures<4.0.0,>=2.2.0; python_version == "2.6" or python_version == "2.7" in /usr/lib/python2.7/dist-packages (from s3transfer<0.2.0,>=0.1.10->boto3)
Requirement already satisfied: urllib3<1.25,>=1.20; python_version == "2.7" in /usr/local/lib/python2.7/site-packages (from botocore<1.13.0,>=1.12.69->boto3)
Requirement already satisfied: python-dateutil<3.0.0,>=2.1; python_version >= "2.7" in /usr/lib/python2.7/dist-packages (from botocore<1.13.0,>=1.12.69->boto3)
Requirement already satisfied: docutils>=0.10 in /usr/lib/python2.7/dist-packages (from botocore<1.13.0,>=1.12.69->boto3)
Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (from python-dateutil<3.0.0,>=2.1; python_version >= "2.7"->botocore<1.13.0,>=1.12.69->boto3)
You are using pip version 9.0.3, however version 18.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.