I'm not familiar with the "statsd-influxdb-backend" tool. That might not be
compatible with the latest InfluxDB. The blog post (
https://influxdata.com/blog/getting-started-with-sending-statsd-metrics-to-telegraf-influxdb/)
has instructions on how to configure StatsD to output to Telegraf, which
will then output to InfluxDB.

You may also be able to use the Graphite endpoint in InfluxDB:
https://github.com/influxdata/influxdb/blob/master/services/graphite/README.md

On Mon, Sep 5, 2016 at 1:16 AM, Eli Fish <[email protected]> wrote:

> Thank for your answer.
> But, what is this influxdb backend?
> How can i redirect and resend statsd metrics to telegraf?
> for example, this is how i am using graphite backend to send metrics to
> graphite:
>
>>
>> {
>>  graphitePort: 2004
>> , graphiteHost: "graphite-01-prod"
>> , mgmt_port: 8222
>> , port: 8998
>> , flushInterval: 60000
>> , log: "/tmp/statsd/agent01.log"
>> , backends: [ "./backends/graphite" , "statsd-influxdb-backend"]
>> , debug: true
>> , deleteGauges: true
>> , graphite:
>>  {
>>   globalPrefix: ""
>>  , prefixCounter: ""
>>  , prefixTimer: ""
>>  , prefixGauge: ""
>>  , prefixSet: ""
>>  , legacyNamespace: false
>>  }
>> }
>
>
>
> 2016-09-05 2:09 GMT+03:00 Sean Beckett <[email protected]>:
>
>> InfluxDB doesn't understand StatsD metrics natively. You need to use
>> Telegraf to translate the StatsD output into valid line protocol.
>>
>> https://influxdata.com/blog/getting-started-with-sending-sta
>> tsd-metrics-to-telegraf-influxdb/
>> https://github.com/influxdata/telegraf/tree/master/plugins/inputs/statsd
>>
>> On Sun, Sep 4, 2016 at 9:17 AM, <[email protected]> wrote:
>>
>>> Hi,
>>> I get this errors:
>>> [influxdb] (DEBUG) Sending 37450 different points via HTTP
>>> 4 Sep 15:16:47 - [influxdb] (DEBUG) Payload size 6130.46 KB
>>> 4 Sep 15:16:47 - [influxdb] HTTP Error: 404
>>> 4 Sep 15:16:48 - [influxdb] Error: write EPIPE
>>>
>>> This is my statsd configuration:
>>>
>>> {
>>>   influxdb: {
>>>     host: 'influxdb-test', // InfluxDB host (default 127.0.0.1)
>>>     port: 8086, // InfluxDB port (default 8086)
>>>     database: 'statsd',  // InfluxDB db instance (required)
>>>     username: 'influxusr', // InfluxDB db username (required)
>>>     password: 'influxpass', // InfluxDB db password (required)
>>>     flush: {
>>>       enable: true // enable regular flush strategy (default true)
>>>     },
>>>     proxy: {
>>>       enable: false, // enable the proxy strategy (default false)
>>>       suffix: 'raw', // metric name suffix (default 'raw')
>>>       flushInterval: 1000
>>>     }
>>>   },
>>>   mgmt_port: 8221,
>>>   port: 8991, // statsD port
>>>   version: 0.13,
>>>   backends: ['./backends/console', 'statsd-influxdb-backend'],
>>>   debug: true,
>>>   legacyNamespace: false
>>> }
>>>
>>> --
>>> Remember to include the InfluxDB version number with all issue reports
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "InfluxDB" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> Visit this group at https://groups.google.com/group/influxdb.
>>> To view this discussion on the web visit https://groups.google.com/d/ms
>>> gid/influxdb/a04f875d-32e3-4880-8f1b-bb3fc122c45c%40googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>>
>> --
>> Sean Beckett
>> Director of Support and Professional Services
>> InfluxDB
>>
>> --
>> Remember to include the InfluxDB version number with all issue reports
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "InfluxDB" group.
>> To unsubscribe from this topic, visit https://groups.google.com/d/to
>> pic/influxdb/gfK_B5imS-g/unsubscribe.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>> To post to this group, send email to [email protected].
>> Visit this group at https://groups.google.com/group/influxdb.
>> To view this discussion on the web visit https://groups.google.com/d/ms
>> gid/influxdb/CALGqCvNLQhxzUt1QoKiGn%3D1zAL0MH2huY8wT%3DW3RbE
>> JtHPWjvw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/influxdb/CALGqCvNLQhxzUt1QoKiGn%3D1zAL0MH2huY8wT%3DW3RbEJtHPWjvw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> *Eli Fish*
> *BSM / ESM **Architect **& Senior DevOps **Engineer*
> *MCITP & RHCE & CLA & CLP & REP & ITIL.V3 Certificated*
> *__________________________________________________*
> *Mobile: +972 50 5781700 <%2B972%2050%205781700> | Mail:
> [email protected] <[email protected]>*
>
>
> --
> Remember to include the InfluxDB version number with all issue reports
> ---
> You received this message because you are subscribed to the Google Groups
> "InfluxDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/influxdb.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/influxdb/CAOp41Ea7Qw_jj_2ZJcE4Eg8u9ZQuzV3h4NDr9V11JBKL
> qBu3rw%40mail.gmail.com
> <https://groups.google.com/d/msgid/influxdb/CAOp41Ea7Qw_jj_2ZJcE4Eg8u9ZQuzV3h4NDr9V11JBKLqBu3rw%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Sean Beckett
Director of Support and Professional Services
InfluxDB

-- 
Remember to include the InfluxDB version number with all issue reports
--- 
You received this message because you are subscribed to the Google Groups 
"InfluxDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/influxdb.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/influxdb/CALGqCvMzHa%2BYA%2BO7yRBPAg_5tRLgUgC2dMjStwyffm0S_25Bqg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to