Setup Your config.yml Fileedit

The first step after installation is to define the buckets that Loud ML can use to find data. You can edit the file /etc/loudml/config.yml and add minimal settings such as the address, port, and name of your bucket.

We will define one numenta bucket pointing to a database of the same name.

A bucket can act as a source to read data or destination to write data depending on the context.

cat /etc/loudml/config.yml
---
buckets:
 - name: numenta
   type: influxdb
   addr: localhost
   database: numenta
   measurement: loudml
   create_database: true
   retention_policy: autogen
   max_series_per_request: 2000
 - name: output
   type: influxdb
   addr: localhost
   database: output
   measurement: loudml
   create_database: true
   retention_policy: autogen
   max_series_per_request: 2000

Or if your config.yml settings must specify Elasticsearch indexes:

cat /etc/loudml/config.yml
---
buckets:
 - name: numenta
   type: elasticsearch
   addr: localhost
   index: numenta
   doc_type: doc
 - name: output
   type: elasticsearch
   addr: localhost
   index: loudml
   doc_type: doc
Note

Settings will differ according to the type of database used in your environment. But if your favorite database is missing, we’ve made it simple to submit a pull request on Github.