If you’d like to install Automate 2.0 alongside an Automate 1.x deployment, you can relay the data from Automate 1.x using a logstash forwarding filter. Be sure to set
- the
automate_url
to point at the Automate 2 instance - the
automate_token
must be set to an api token created in Automate 2.
To create your token, login to Automate 2.0 and click Admin, API Keys, Generate API Key.
Download the A2 filter here - https://gist.github.com/itmustbejj/0ae90817d918a55d1ad6bc769332150f
After downloading the filter, replace with your generated token and A2 hostname, and copy to: /opt/delivery/embedded/etc/logstash/conf.d/05-a2-forwarder.conf
and then run:
$ sudo automate-ctl restart logstash
To send data from your Chef Server or Chef Clients to Automate 2.0, the process is the same as Automate 1.x. See the documentation on how to Configure Data Collection for more info.
Configure Data Collection - https://docs.chef.io/data_collection.html#step-2-configure-your-chef-server-to-point-to-chef-automate