Commit Graph

36 Commits

Author SHA1 Message Date
Sven Rebhan c46f42f797
feat: Migrate json parser to new style (#11226) 2022-06-22 09:56:51 -06:00
Aleksei Larkov 9d3d5b9414
feat: add ANSI color filter for tail input plugin (#10880) 2022-03-30 09:00:16 -06:00
Sven Rebhan 193dc450c3
feat: Parser plugin restructuring (#8791) 2022-01-12 15:54:42 -07:00
Paweł Żak 146fff3183
fix: Linter fixes for plugins/inputs/[t-z]* (#10105) 2021-11-18 07:22:43 -07:00
Ehsan db86904759
fix: directory monitor input plugin when data format is CSV and csv_skip_rows>0 and csv_header_row_count>=1 (#9865) 2021-11-16 15:05:48 -07:00
Eng Zer Jun 6a3b27126a
refactor: move from io/ioutil to io and os package (#9811) 2021-09-28 15:16:32 -06:00
Sebastian Spaink cfd50de57c
fix(inputs.tail): change test default watch method to poll when Win 2021-09-14 15:56:49 -05:00
Sven Rebhan 9853bf6c54
Get rid of deprecated internal.{Duration,Size,Number} (#8969) 2021-04-09 13:15:04 -04:00
Sven Rebhan 8e7da355b3
Linter fixes (unhandled errors) -- Part 1 (#8992) 2021-04-08 11:43:39 -05:00
David Bennett 78d67ba87b
Add configurable option for the 'path' tag override in the Tail plugin. (#9069)
* Add configurable option for the 'path' tag override in the Tail plugin.

* get test cases to pass

* update default config

* convert to configurable string field
2021-03-31 12:06:13 -04:00
David Bennett cfc5300ee2
Get Tail tests to pass on windows (#8927)
* fix tests

* Update tail_test.go
2021-03-04 14:37:57 -05:00
Paweł Żak 0fcfee0caf
Fix tests for Windows - part 1 (#8414) 2020-11-23 10:40:32 -05:00
Steven Soroka 382dac70c7
Semigroupoid multiline (#8167) (#8190)
Co-authored-by: javicrespo <javiercrespoalvez@gmail.com>
Co-authored-by: jcrespo <javier.crespo@ingenico.com>
Co-authored-by: semigroupoid <semigroupoid@users.noreply.github.com>
2020-09-28 18:06:00 -04:00
reimda c7236ebbe5
Fix tail following on EOF (#7927) 2020-07-31 13:31:02 -06:00
Daniel Nelson cd97534315
Set log output before starting plugin (#7820) 2020-07-10 13:58:38 -07:00
Daniel Nelson 51f6cc36cd
Close file to ensure it has been flushed (#7819) 2020-07-10 10:59:06 -07:00
Daniel Nelson be77fbab31
Support utf-16 in file and tail inputs (#7792) 2020-07-07 12:43:32 -07:00
Jakub Warczarek decd656a93
Fix data race in tail input tests (#7780) 2020-07-02 15:20:47 -07:00
Harshit Bansal 092059c066
Exclude csv_timestamp_column and csv_measurement_column from fields (#7572) 2020-05-26 14:16:48 -07:00
Daniel Nelson 9a1c26d6cc
Add limit to number of undelivered lines to read ahead in tail (#7210) 2020-03-27 15:40:08 -07:00
Greg 817c9a69a9 Document and add support to input plugins for logging alias (#6357) 2019-09-23 15:39:50 -07:00
Daniel Nelson 8c2b3addd3
Fix parsing multiple metrics on the first line of tailed file (#6289) 2019-08-21 16:30:55 -07:00
Matthew Crenshaw 981dd5bfc0 Resume from last known offset when reloading in tail input (#6074) 2019-07-11 17:39:59 -07:00
Daniel Nelson b5299f4cc4
Fix cleanup of csv parser options, use per file parser (#4712) 2018-09-18 09:23:45 -07:00
Daniel Nelson 7591a50d52
Add path tag to tail tests 2018-07-09 17:39:51 -07:00
Margarita Bliznikova 8005883de8 Fix intermittent TestTailBadLine failures (#3869) 2018-03-08 13:03:48 -08:00
Daniel Nelson 97f6c9d8e1
Skip intermittent test on CircleCI 2018-01-12 16:49:05 -08:00
Daniel Nelson f3147cc44d
Skip CircleCI test of tail plugin due to intermittent deadlock 2018-01-09 15:01:20 -08:00
Daniel Nelson 3ecfd32df5 Allow dos line endings in tail and logparser (#2920)
Parsing dos line ending delimited line protocol is still illegal in most
cases.
2017-06-16 13:16:48 -07:00
Patrick Hemmer 06baf7cf78 use AddError everywhere (#2372) 2017-04-24 11:13:26 -07:00
Daniel Nelson 2d7f612bd7 Use fork of hpcloud/tail (#2595) 2017-03-29 14:25:33 -07:00
Patrick Hemmer 1402c158b7 remove sleep from tests (#2555) 2017-03-24 12:03:36 -07:00
Cameron Sparr 30dbfd9af8 Fix racy tail from beginning test 2016-07-28 14:08:12 +01:00
Cameron Sparr 6f991ec78a Sleep longer in tail test 2016-06-01 15:49:32 +01:00
Cameron Sparr 44c945b9f5 Tail unit tests and README tweaks 2016-04-26 10:43:41 -06:00
Cameron Sparr b9c24189e4 Tail input plugin 2016-04-26 09:42:06 -06:00