Max U
674b9578d7
readability tweak
2018-06-28 15:56:36 -07:00
Max U
4db667573a
newJsonParser function is now unexported, must use NewParser(config)
2018-06-28 15:35:20 -07:00
Max U
c50bfc2c71
edit unittests for JSON parser
2018-06-27 16:09:14 -07:00
Daniel Nelson
de355b76d6
Simplify testing with TLS ( #4095 )
2018-05-04 16:33:23 -07:00
Daniel Nelson
4ac78d5c6d
Deprecate httpjson input
2018-02-15 19:06:22 -08:00
Daniel Nelson
9cfa3b292b
Reorder httpjson config to keep variables out of toml table
2018-01-08 15:06:58 -08:00
Daniel Nelson
22a9ffbb9d
Allow JSON data format to contain zero metrics ( #3268 )
2017-09-26 15:58:33 -07:00
Daniel Nelson
8614445235
Fix parsing of JSON with a UTF8 BOM in httpjson ( #3267 )
2017-09-26 15:36:00 -07:00
Patrick Hemmer
06baf7cf78
use AddError everywhere ( #2372 )
2017-04-24 11:13:26 -07:00
Daniel Nelson
8bf193dc06
Update httpjson documentation ( #2619 )
...
closes #2536
2017-04-03 18:34:04 -07:00
John Engelman
94ce67cc67
Add support to parse JSON array. ( #1965 )
2016-11-15 13:02:55 -05:00
Yaser Alraddadi
32aa1cc814
httpjson: support configurable response_timeout ( #1651 )
...
* httpjson: support configurable response_timeout
* make default ResponseTimeout in init
* Update CHANGELOG.md
2016-08-30 16:23:15 +01:00
Cameron Sparr
9347a70425
Fix httpjson README
...
closes #947
2016-03-31 20:37:04 -06:00
Cameron Sparr
035e4cf90a
Fix bug with httpjson client pointer receiver
...
fixes #859
2016-03-16 10:57:15 -06:00
Cameron Sparr
b2a4d4a018
Allow ssl option specification for httpjson plugin
...
closes #769
2016-03-01 18:17:19 +00:00
Pierre Fersing
7416d6ea71
Improve timeout in input plugins
2016-03-01 09:43:28 +00:00
Cameron Sparr
3e8f96a463
httpjson: add unit test to verify that POST params get passed
2016-02-23 11:01:23 -07:00
Cameron Sparr
69e4f16b13
Fix bad http GET parameter encoding, add unit test
2016-02-23 10:07:56 -07:00
Cameron Sparr
918c3fb260
httpjson test real response from issue #729
2016-02-23 09:34:01 -07:00
Cameron Sparr
8d2e5f0bda
Seems to be a toml parse bug around triple pounds
2016-02-18 14:36:03 -07:00
Gabriel Levine
1837f83282
cleaned up the httpjson POST function.
...
closes #688
closes #394
2016-02-18 10:11:56 -07:00
Cameron Sparr
fc7fa4b6c5
Cleanup comments and indentation in config file
2016-02-09 11:01:50 -07:00
Cameron Sparr
e619493ece
Implementing generic parser plugins and documentation
...
This constitutes a large change in how we will parse different data
formats going forward (for the plugins that support it)
This is working off @henrypfhu's changes.
2016-02-08 21:08:44 -07:00
Reginaldo Sousa
9406961125
Fix a bug when setting host header in httpjson
...
closes #634
2016-02-02 21:59:18 -07:00
Cameron Sparr
c549ab907a
Throughout telegraf, use telegraf.Metric rather than client.Point
...
closes #599
2016-01-27 23:47:32 -07:00
Cameron Sparr
9c0d14bb60
Create public models for telegraf metrics, accumlator, plugins
...
This will basically make the root directory a place for storing the
major telegraf interfaces, which will make telegraf's godoc looks quite
a bit nicer. And make it easier for contributors to lookup the few data
types that they actually care about.
closes #564
2016-01-27 15:42:50 -07:00
Andrea Sosso
f8930b9cbc
Additional request header parameters for httpjson plugin
...
closes #471
2016-01-26 16:02:47 -07:00
Cameron Sparr
3bfb3a9fe2
Insert documentation into sample-config on JSON parsing
...
closes #521
2016-01-25 13:29:05 -07:00
Jack Zampolin
0cdf1b07e9
Fix issue 524
2016-01-20 10:57:35 -08:00
Thibault Cohen
b44644b6bf
Add response time to httpjson plugin
...
closes #475
2016-01-15 11:13:12 -07:00
Philip Silva
3c89847489
internal: FlattenJSON, flatten arrays as well
...
With HTTP JSON or Elasticsearch, one can also process values nested in arrays.
2016-01-14 09:52:58 -08:00
Cameron Sparr
9c5db1057d
renaming plugins -> inputs
2016-01-07 15:04:30 -07:00