cookbook 'sumologic-collector', '= 1.2.1'
sumologic-collector
(29) Versions
1.2.1
-
Follow15
Installs/Configures sumologic-collector
cookbook 'sumologic-collector', '= 1.2.1', :supermarket
knife supermarket install sumologic-collector
knife supermarket download sumologic-collector
sumologic-collector Cookbook
This cookbook installs the Sumo Logic collector on Linux using the shell script
installer. Here are the steps it follows:
- Sets up
sumo.conf
andsumo.json
with standard Linux logs - Downloads latest installer
- Runs installer
- Starts collector and registers with the Sumo Logic service
The collector Requires outbound access to https://collectors.sumologic.com.
Edit sumo.json
to add/edit/remove sources. After installation you can
test connectivity.
Installation
- Create an Access Key
- Install the cookbook in your Chef repo:
knife cookbook github install SumoLogic/sumologic-collector-chef-cookbook
Specify data bag and item with your access credentials. The data item should
contain attributesaccessID
andaccessKey
. The default data bag/item is
['sumo-creds']['api-creds']
Upload the cookbook to your Chef Server:
knife cookbook upload sumologic-collector
- Add the
sumologic-collector
receipe to your node run lists. This step depends on your node configuration, so specifics will not be described in this README.md.
Attributes
<table>
<tr>
<td>['sumologic']['ephemeral']</td>
<td>Boolean</td>
<td>Sumo Logic Ephemeral Setting</td>
<td>Required</td>
</tr>
<tr>
<td>['sumologic']['sources']['default_timezone']</td>
<td>String</td>
<td>Timezone for source setup (defaults to UTC)</td>
<td>Required</td>
</tr>
<tr>
<td>['sumologic']['installDir'] </td>
<td>String</td>
<td>Sumo Logic Install Directory</td>
<td>Required</td>
</tr>
<tr>
<td>['sumologic']['ephemeral']</td>
<td>Boolean</td>
<td>Sumo Logic Ephemeral Setting</td>
<td>Required</td>
</tr>
<tr>
<td>['sumologic']['sources']['default_timezone']</td>
<td>String</td>
<td>Timezone for source setup (defaults to UTC)</td>
<td>Required</td>
</tr>
<tr>
<td>['sumologic']['installDir'] </td>
<td>String</td>
<td>Sumo Logic Install Directory</td>
<td>Required</td>
</tr>
<tr>
<td>['sumologic']['credentials']['bag_name']</td>
<td>String</td>
<td>Name of the data bag.</td>
<td>Required</td>
</tr>
<tr>
<td>['sumologic']['credentials']['item_name']</td>
<td>String</td>
<td>Name of the item within the data bag. </td>
<td>Required</td>
</tr>
<tr>
<td>['sumologic']['credentials']['secret_file']</td>
<td>String</td>
<td>Path to the local file containing the encryption secret key.</td>
<td>Optional</td>
</tr>
</table>
Contributing
This cookbook is meant to help customers use Chef to install Sumo Logic
collectors, so please feel to fork this repository, and make whatever changes
you need for your environment.
License and Authors
Authors:
Ben Newton (ben@sumologic.com)
Dependent cookbooks
This cookbook has no specified dependencies.