zhuxu
651d899653
kafka phasor parse
2025-08-08 16:25:23 +08:00
Paweł Żak
0804ccef4e
chore(linters): Enable `string-format` rule for revive ( #15983 )
2024-10-09 09:07:46 +02:00
Paweł Żak
ae7fbc5082
chore(linters): Replace 'fmt.Errorf' with 'errors.New' wherever possible ( #14698 )
2024-02-08 11:32:30 -06:00
Sven Rebhan
7ced2606b2
chore(parsers)!: Remove old-style creation ( #13310 )
2023-05-23 14:17:11 -06:00
Sven Rebhan
bea5414384
feat(parsers.xpath): Add timezone handling ( #12820 )
2023-03-13 12:17:14 +01:00
Paweł Żak
4201f24020
chore: Fix linter findings for errorlint (part2) ( #12702 )
...
Co-authored-by: Pawel Zak <Pawel Zak>
2023-02-22 12:08:46 +01:00
Sven Rebhan
3ad9fe73ba
chore: More parser cleanup ( #11532 )
2022-07-28 15:30:36 -05:00
Sven Rebhan
c46f42f797
feat: Migrate json parser to new style ( #11226 )
2022-06-22 09:56:51 -06:00
Paweł Żak
8e85a67ee1
fix: Linter fixes for plugins/parsers/[a-z]* ( #10145 )
2021-11-24 11:52:51 -07:00
Julien Riou
4336dae3b5
Make JSON format compatible with nulls ( #9110 )
2021-04-20 17:47:14 -04:00
David Bennett
842a788022
Remove error return type from metric.New method ( #9116 )
...
* Remove error return type from metric.New method.
* Formatting changes for linter + gofmt
* Additional linter fixes.
* More linter fixes.
* Linter fix.
* address comments
2021-04-13 14:40:03 -04:00
Paweł Żak
38c61c07ef
Revive fixes - part 4: ( #8981 )
...
empty-lines
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Helen Weller
94eb8f2e42
Add wildcard tags json parser support ( #8579 )
2020-12-17 19:32:25 -05:00
presslab-us
e1b2ebe06d
Use same timestamp for all objects in arrays in the json parser ( #7412 )
2020-04-29 11:32:19 -07:00
Daniel Nelson
03de92b962
Remove trailing underscore trimming from json flattener ( #6744 )
2019-12-03 11:46:29 -08:00
David McKay
a9a0d4048a
Add strict mode to JSON parser ( #6536 )
2019-10-23 14:06:39 -07:00
Daniel Nelson
6dc61be6eb
Fix detection of layout timestamps ( #6390 )
2019-09-16 16:32:14 -07:00
Greg
df288a0bb4
Keep boolean when listed in json_string_fields ( #6400 )
2019-09-16 16:30:34 -07:00
Daniel Nelson
e576048e02
Treat empty array as successful parse ( #6130 )
2019-07-17 15:03:09 -07:00
Daniel Nelson
41176dd1f1
Support string field glob matching in json parser ( #6102 )
2019-07-15 16:48:19 -07:00
Douglas Drinka
1886676e14
Support configuring a default timezone in JSON parser ( #5472 )
2019-02-25 11:30:33 -08:00
Greg
10ac030502
Unify time parsing in json/csv parsers ( #5382 )
2019-02-05 17:43:35 -08:00
Greg
6ef331efeb
Add micro and nanosecond unix timestamp support to JSON parser ( #5149 )
2018-12-14 14:38:01 -08:00
Daniel Nelson
ad320ac1e0
Remove the time_key from the field values in JSON parser ( #4951 )
2018-11-02 17:53:45 -07:00
Greg
4c9c31c34f
Fix panic if JSONNameKey is not found ( #4735 )
2018-09-21 15:47:41 -07:00
David Reniz
cd4c4e7fbd
Added Unix epoch timestamp support for JSON parser ( #4633 )
2018-09-06 18:44:33 -06:00
maxunt
2729378b7f
Add name, time, path and string field options to JSON parser ( #4351 )
2018-08-22 19:26:48 -07:00
maxunt
8482c40a91
Fix selection of tags under nested objects in the JSON parser ( #4284 )
2018-06-14 13:17:32 -07:00
Daniel Meiners
9647ea88ea
Ignore UTF8 BOM in JSON parser ( #4099 )
2018-05-03 11:40:28 -07:00
Daniel Nelson
4243403432
Remove warning when JSON contains null value ( #3359 )
2017-10-19 16:25:58 -07:00
Daniel Nelson
22a9ffbb9d
Allow JSON data format to contain zero metrics ( #3268 )
2017-09-26 15:58:33 -07:00
Matt O'Hara
1392e73125
Add clusterstats to elasticsearch plugin ( #1979 )
...
* add clusterstats to elasticsearch input plugin
* add clusterstats to elasticsearch input plugin
* add clusterstats to elasticsearch input plugin
* add clusterstats to elasticsearch input plugin
* add clusterstats to elasticsearch input plugin
* responses to requested changes
* remove unnecessary recommendation
2016-12-20 16:30:03 +00:00
Cameron Sparr
db7a4b24b6
Implement telegraf's own full metric type
...
main reasons behind this:
- make adding/removing tags cheap
- make adding/removing fields cheap
- make parsing cheaper
- make parse -> decorate -> write out bytes metric flow much faster
Refactor serializer to use byte buffer
2016-12-01 18:17:02 +00:00
John Engelman
94ce67cc67
Add support to parse JSON array. ( #1965 )
2016-11-15 13:02:55 -05:00
Daniele Gozzi
9ea3dbeee8
Allow numeric and non-string values for tag_keys. ( #1782 )
...
* Allow numeric and non-string values for tag_keys.
According to the go documentation the JSON deserializer only produces these
base types in output:
- string
- bool
- float64
- nil
With this patch bool, float64 and nil values get converted to a string when
their field key is specified in tag_keys. Previously the field was simply
discarded.
* Updated handling of nil for passing tests.
The automated tests are less than trivial to reproduece locally for me,
so I hope CircleCI wonn't mind...
* Updated changelog entries with PR and issue links.
2016-09-21 18:07:35 +01:00
Cameron Sparr
8d0f50a6fd
MQTT Consumer Input plugin
2016-02-12 11:13:32 -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