| Jakub Pavlik | e7d12cd | 2015-09-03 19:02:45 +0200 | [diff] [blame] | 1 |  | 
 | 2 | ============ | 
 | 3 | Heka Formula | 
 | 4 | ============ | 
 | 5 |  | 
| Ales Komarek | c9a3eb1 | 2016-10-12 11:17:55 +0200 | [diff] [blame] | 6 | Heka is an open source stream processing software system developed by Mozilla. Heka is a Swiss Army Knife type tool for data processing. | 
| Jakub Pavlik | e7d12cd | 2015-09-03 19:02:45 +0200 | [diff] [blame] | 7 |  | 
 | 8 | Sample pillars | 
 | 9 | ============== | 
 | 10 |  | 
| Ales Komarek | c9a3eb1 | 2016-10-12 11:17:55 +0200 | [diff] [blame] | 11 | Log collector service | 
| jan kaufman | 1002cd9 | 2015-09-16 16:30:48 +0200 | [diff] [blame] | 12 |  | 
| Jakub Pavlik | e7d12cd | 2015-09-03 19:02:45 +0200 | [diff] [blame] | 13 | .. code-block:: yaml | 
 | 14 |  | 
 | 15 |     heka: | 
| Ales Komarek | c9a3eb1 | 2016-10-12 11:17:55 +0200 | [diff] [blame] | 16 |       log_collector: | 
| Éric Lemoine | 0aba3fd | 2016-12-06 10:36:39 +0000 | [diff] [blame] | 17 |         automatic_starting: true | 
 | 18 |         elasticsearch_host: 172.16.10.253 | 
 | 19 |         elasticsearch_port: 9200 | 
| Jakub Pavlik | e7d12cd | 2015-09-03 19:02:45 +0200 | [diff] [blame] | 20 |         enabled: true | 
| Éric Lemoine | c6d6df6 | 2016-12-06 14:19:58 +0000 | [diff] [blame] | 21 |         metric_collector_host: 127.0.0.1 | 
 | 22 |         metric_collector_port: 5567 | 
| Éric Lemoine | 0aba3fd | 2016-12-06 10:36:39 +0000 | [diff] [blame] | 23 |         poolsize: 100 | 
| jan kaufman | 1002cd9 | 2015-09-16 16:30:48 +0200 | [diff] [blame] | 24 |  | 
| Éric Lemoine | 0aba3fd | 2016-12-06 10:36:39 +0000 | [diff] [blame] | 25 | Default values: | 
 | 26 |  | 
 | 27 | * ``automatic_starting: true`` | 
 | 28 | * ``elastisearch_port: 9200`` | 
 | 29 | * ``enabled: false`` | 
| Éric Lemoine | c6d6df6 | 2016-12-06 14:19:58 +0000 | [diff] [blame] | 30 | * ``metric_collector_host: 127.0.0.1`` | 
 | 31 | * ``metric_collector_port: 5567`` | 
| Éric Lemoine | 0aba3fd | 2016-12-06 10:36:39 +0000 | [diff] [blame] | 32 | * ``poolsize: 100`` | 
 | 33 |  | 
 | 34 | Local Metric collector service | 
| jan kaufman | 1002cd9 | 2015-09-16 16:30:48 +0200 | [diff] [blame] | 35 |  | 
 | 36 | .. code-block:: yaml | 
 | 37 |  | 
| jan kaufman | 1002cd9 | 2015-09-16 16:30:48 +0200 | [diff] [blame] | 38 |     heka: | 
| Ales Komarek | c9a3eb1 | 2016-10-12 11:17:55 +0200 | [diff] [blame] | 39 |       metric_collector: | 
| Éric Lemoine | 0aba3fd | 2016-12-06 10:36:39 +0000 | [diff] [blame] | 40 |         aggregator_host: 172.16.20.253 | 
 | 41 |         aggregator_port: 5565 | 
 | 42 |         automatic_starting: true | 
| jan kaufman | 1002cd9 | 2015-09-16 16:30:48 +0200 | [diff] [blame] | 43 |         enabled: true | 
| Éric Lemoine | 0aba3fd | 2016-12-06 10:36:39 +0000 | [diff] [blame] | 44 |         influxdb_database: lma | 
 | 45 |         influxdb_host: 172.16.10.101 | 
 | 46 |         influxdb_password: lmapass | 
 | 47 |         influxdb_port: 8086 | 
 | 48 |         influxdb_time_precision: ms | 
 | 49 |         influxdb_timeout: 500 | 
 | 50 |         influxdb_username: lma | 
 | 51 |         nagios_host: 172.16.20.253 | 
 | 52 |         nagios_host_dimension_key: nagios_host | 
 | 53 |         nagios_password: secret | 
 | 54 |         nagios_port: 5601 | 
 | 55 |         nagios_username: nagiosadmin | 
 | 56 |         poolsize: 100 | 
 | 57 |  | 
 | 58 | Default values: | 
 | 59 |  | 
 | 60 | * ``aggregator_port: 5565`` | 
 | 61 | * ``automatic_starting: true`` | 
 | 62 | * ``enabled: false`` | 
 | 63 | * ``influxdb_port: 8086`` | 
 | 64 | * ``influxdb_time_precision: ms`` | 
 | 65 | * ``influxdb_timeout: 5000`` | 
 | 66 | * ``nagios_port: 8001`` | 
 | 67 | * ``poolsize: 100`` | 
 | 68 |  | 
 | 69 | Remote Metric Collector service | 
 | 70 |  | 
 | 71 | .. code-block:: yaml | 
 | 72 |  | 
 | 73 |     heka: | 
 | 74 |       remote_collector: | 
 | 75 |         aggregator_host: 172.16.20.253 | 
 | 76 |         aggregator_port: 5565 | 
 | 77 |         amqp_exchange: nova | 
 | 78 |         amqp_host: 172.16.10.254 | 
 | 79 |         amqp_password: workshop | 
 | 80 |         amqp_port: 5672 | 
 | 81 |         amqp_user: openstack | 
 | 82 |         amqp_vhost: /openstack | 
 | 83 |         automatic_starting: false | 
 | 84 |         elasticsearch_host: 172.16.10.253 | 
 | 85 |         elasticsearch_port: 9200 | 
 | 86 |         enabled: true | 
 | 87 |         influxdb_database: lma | 
 | 88 |         influxdb_host: 172.16.10.101 | 
 | 89 |         influxdb_password: lmapass | 
 | 90 |         influxdb_port: 8086 | 
 | 91 |         influxdb_time_precision: ms | 
 | 92 |         influxdb_username: lma | 
 | 93 |         poolsize: 100 | 
 | 94 |  | 
 | 95 | Default values: | 
 | 96 |  | 
 | 97 | * ``aggregator_port: 5565`` | 
 | 98 | * ``amqp_exchange: nova`` | 
| Éric Lemoine | d1be7c9 | 2016-12-06 13:18:29 +0000 | [diff] [blame] | 99 | * ``amqp_port: 5672`` | 
 | 100 | * ``amqp_vhost: ''`` | 
| Éric Lemoine | 0aba3fd | 2016-12-06 10:36:39 +0000 | [diff] [blame] | 101 | * ``automatic_starting: true`` | 
 | 102 | * ``elastisearch_port: 9200`` | 
 | 103 | * ``enabled: false`` | 
 | 104 | * ``influxdb_port: 8086`` | 
 | 105 | * ``influxdb_time_precision: ms`` | 
 | 106 | * ``influxdb_timeout: 5000`` | 
 | 107 | * ``poolsize: 100`` | 
| Ales Komarek | c9a3eb1 | 2016-10-12 11:17:55 +0200 | [diff] [blame] | 108 |  | 
 | 109 | Aggregator service | 
 | 110 |  | 
 | 111 | .. code-block:: yaml | 
 | 112 |  | 
 | 113 |     heka: | 
 | 114 |       aggregator: | 
| Éric Lemoine | 0aba3fd | 2016-12-06 10:36:39 +0000 | [diff] [blame] | 115 |         automatic_starting: false | 
| Ales Komarek | c9a3eb1 | 2016-10-12 11:17:55 +0200 | [diff] [blame] | 116 |         enabled: true | 
| Éric Lemoine | 0aba3fd | 2016-12-06 10:36:39 +0000 | [diff] [blame] | 117 |         influxdb_database: lma | 
 | 118 |         influxdb_host: 172.16.10.101 | 
 | 119 |         influxdb_password: lmapass | 
 | 120 |         influxdb_port: 8086 | 
 | 121 |         influxdb_time_precision: ms | 
 | 122 |         influxdb_username: lma | 
 | 123 |         nagios_default_host_alarm_clusters: 00-clusters | 
 | 124 |         nagios_host: 172.16.20.253 | 
 | 125 |         nagios_host_dimension_key: nagios_host | 
 | 126 |         nagios_password: secret | 
 | 127 |         nagios_port: 5601 | 
 | 128 |         nagios_username: nagiosadmin | 
 | 129 |         poolsize: 100 | 
| Ales Komarek | c9a3eb1 | 2016-10-12 11:17:55 +0200 | [diff] [blame] | 130 |  | 
| Éric Lemoine | 0aba3fd | 2016-12-06 10:36:39 +0000 | [diff] [blame] | 131 | Default values: | 
 | 132 |  | 
 | 133 | * ``automatic_starting: true`` | 
 | 134 | * ``enabled: false`` | 
 | 135 | * ``influxdb_port: 8086`` | 
 | 136 | * ``influxdb_time_precision: ms`` | 
 | 137 | * ``influxdb_timeout: 5000`` | 
 | 138 | * ``nagios_port: 8001`` | 
 | 139 | * ``nagios_default_host_alarm_clusters: 00-clusters`` | 
 | 140 | * ``poolsize: 100`` | 
 | 141 |  | 
 | 142 | Ceilometer service | 
 | 143 |  | 
 | 144 | .. code-block:: yaml | 
 | 145 |  | 
 | 146 |     heka: | 
 | 147 |       ceilometer_collector: | 
 | 148 |         elasticsearch_host: 172.16.10.253 | 
 | 149 |         elasticsearch_port: 9200 | 
 | 150 |         enabled: true | 
 | 151 |         influxdb_database: lma | 
 | 152 |         influxdb_host: 172.16.10.101 | 
 | 153 |         influxdb_password: lmapass | 
 | 154 |         influxdb_port: 8086 | 
 | 155 |         influxdb_time_precision: ms | 
 | 156 |         influxdb_username: lma | 
 | 157 |         resource_decoding: false | 
| Éric Lemoine | 381d73c | 2016-12-06 12:28:04 +0000 | [diff] [blame] | 158 |         amqp_exchange: ceilometer | 
 | 159 |         amqp_host: 172.16.10.253 | 
 | 160 |         amqp_port: 5672 | 
 | 161 |         amqp_queue: metering.sample | 
 | 162 |         amqp_vhost: /openstack | 
| Éric Lemoine | 0aba3fd | 2016-12-06 10:36:39 +0000 | [diff] [blame] | 163 |  | 
 | 164 | Default values: | 
 | 165 |  | 
| Éric Lemoine | d1be7c9 | 2016-12-06 13:18:29 +0000 | [diff] [blame] | 166 | * ``automatic_starting: true`` | 
| Éric Lemoine | 0aba3fd | 2016-12-06 10:36:39 +0000 | [diff] [blame] | 167 | * ``elastisearch_port: 9200`` | 
 | 168 | * ``enabled: false`` | 
 | 169 | * ``influxdb_port: 8086`` | 
 | 170 | * ``influxdb_time_precision: ms`` | 
 | 171 | * ``influxdb_timeout: 5000`` | 
| Éric Lemoine | d1be7c9 | 2016-12-06 13:18:29 +0000 | [diff] [blame] | 172 | * ``poolsize: 100`` | 
| Éric Lemoine | 381d73c | 2016-12-06 12:28:04 +0000 | [diff] [blame] | 173 | * ``amqp_exchange: ceilometer`` | 
 | 174 | * ``amqp_port: 5672`` | 
 | 175 | * ``amqp_queue: metering.sample`` | 
 | 176 | * ``amqp_vhost: /openstack`` | 
| Éric Lemoine | 0aba3fd | 2016-12-06 10:36:39 +0000 | [diff] [blame] | 177 | * ``resource_decoding: false`` | 
| Jakub Pavlik | e7d12cd | 2015-09-03 19:02:45 +0200 | [diff] [blame] | 178 |  | 
 | 179 | Read more | 
 | 180 | ========= | 
 | 181 |  | 
| jan kaufman | 1002cd9 | 2015-09-16 16:30:48 +0200 | [diff] [blame] | 182 | * https://hekad.readthedocs.org/en/latest/index.html | 
| Filip Pytloun | 9612dac | 2017-02-02 13:02:03 +0100 | [diff] [blame] | 183 |  | 
 | 184 | Documentation and Bugs | 
 | 185 | ====================== | 
 | 186 |  | 
 | 187 | To learn how to install and update salt-formulas, consult the documentation | 
 | 188 | available online at: | 
 | 189 |  | 
 | 190 |     http://salt-formulas.readthedocs.io/ | 
 | 191 |  | 
 | 192 | In the unfortunate event that bugs are discovered, they should be reported to | 
 | 193 | the appropriate issue tracker. Use Github issue tracker for specific salt | 
 | 194 | formula: | 
 | 195 |  | 
 | 196 |     https://github.com/salt-formulas/salt-formula-heka/issues | 
 | 197 |  | 
 | 198 | For feature requests, bug reports or blueprints affecting entire ecosystem, | 
 | 199 | use Launchpad salt-formulas project: | 
 | 200 |  | 
 | 201 |     https://launchpad.net/salt-formulas | 
 | 202 |  | 
 | 203 | You can also join salt-formulas-users team and subscribe to mailing list: | 
 | 204 |  | 
 | 205 |     https://launchpad.net/~salt-formulas-users | 
 | 206 |  | 
 | 207 | Developers wishing to work on the salt-formulas projects should always base | 
 | 208 | their work on master branch and submit pull request against specific formula. | 
 | 209 |  | 
 | 210 |     https://github.com/salt-formulas/salt-formula-heka | 
 | 211 |  | 
 | 212 | Any questions or feedback is always welcome so feel free to join our IRC | 
 | 213 | channel: | 
 | 214 |  | 
 | 215 |     #salt-formulas @ irc.freenode.net |