Skip to content

Cherry-pick to 6.6: Ignore timestamp in redis, haproxy and system filebeat module (#9855)#9858

Merged
kaiyan-sheng merged 5 commits intoelastic:6.6from
kaiyan-sheng:backport_9855_6.6
Jan 3, 2019
Merged

Cherry-pick to 6.6: Ignore timestamp in redis, haproxy and system filebeat module (#9855)#9858
kaiyan-sheng merged 5 commits intoelastic:6.6from
kaiyan-sheng:backport_9855_6.6

Conversation

@kaiyan-sheng
Copy link
Contributor

@kaiyan-sheng kaiyan-sheng commented Jan 3, 2019

  • Ignore timestamp in redis, haproxy and system filebeat module

  • Fixing formatting

(cherry picked from commit b9a20f7)

This PR also cherry picked #9506 from commit ea8e6d6

This PR also cherry picked #9862 from commit 9b740a9

kaiyan-sheng and others added 5 commits January 3, 2019 09:38
* Ignore timestamp in redis, haproxy and system filebeat module

* Fixing formatting

(cherry picked from commit b9a20f7)
The icing/startup log file does not contain a timestamp. Because of this the timestamp from filebeat is taken. During the generation of golden files still a timestamp was added but every skipped on comparison. Instead now the timestamp is not added to the generated file anymore to now show a diff each time GENERATE is run.
@kaiyan-sheng kaiyan-sheng requested a review from jsoriano January 3, 2019 18:15
@kaiyan-sheng kaiyan-sheng merged commit 6defdd4 into elastic:6.6 Jan 3, 2019
@kaiyan-sheng kaiyan-sheng deleted the backport_9855_6.6 branch January 3, 2019 20:21
jsoriano pushed a commit to jsoriano/beats that referenced this pull request Jan 15, 2019
…ebeat module (elastic#9855) (elastic#9858)

* Ignore timestamp in redis, haproxy and system filebeat module (elastic#9855)

* Ignore timestamp in redis, haproxy and system filebeat module

* Fixing formatting

(cherry picked from commit b9a20f7)

* Use event.dataset in if statement

* Update golden files for icinga/startup test to exclude timestamp (elastic#9506)

The icing/startup log file does not contain a timestamp. Because of this the timestamp from filebeat is taken. During the generation of golden files still a timestamp was added but every skipped on comparison. Instead now the timestamp is not added to the generated file anymore to now show a diff each time GENERATE is run.

* Regenerate expectations for logs without timestamps (elastic#9862)

* Rerun GENERATE=1 to update expected json files

(cherry picked from commit 6defdd4)
jsoriano added a commit that referenced this pull request Jan 17, 2019
…ebeat module (#9855) (#9858) (#10072)

(cherry picked from commit b9a20f7)

The icing/startup log file does not contain a timestamp. Because of this the timestamp from filebeat is taken. During the generation of golden files still a timestamp was added but every skipped on comparison. Instead now the timestamp is not added to the generated file anymore to now show a diff each time GENERATE is run.

(cherry picked from commit 6defdd4)

Co-authored-by: Nicolas Ruflin <spam@ruflin.com>
Co-authored-by: kaiyan-sheng <kaiyan.sheng@elastic.co>
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…ebeat module (elastic#9855) (elastic#9858)

* Ignore timestamp in redis, haproxy and system filebeat module (elastic#9855)

* Ignore timestamp in redis, haproxy and system filebeat module

* Fixing formatting

(cherry picked from commit a5f0323)

* Use event.dataset in if statement

* Update golden files for icinga/startup test to exclude timestamp (elastic#9506)

The icing/startup log file does not contain a timestamp. Because of this the timestamp from filebeat is taken. During the generation of golden files still a timestamp was added but every skipped on comparison. Instead now the timestamp is not added to the generated file anymore to now show a diff each time GENERATE is run.

* Regenerate expectations for logs without timestamps (elastic#9862)

* Rerun GENERATE=1 to update expected json files
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
…ebeat module (elastic#9855) (elastic#9858) (elastic#10072)

(cherry picked from commit a5f0323)

The icing/startup log file does not contain a timestamp. Because of this the timestamp from filebeat is taken. During the generation of golden files still a timestamp was added but every skipped on comparison. Instead now the timestamp is not added to the generated file anymore to now show a diff each time GENERATE is run.

(cherry picked from commit 6defdd4)

Co-authored-by: Nicolas Ruflin <spam@ruflin.com>
Co-authored-by: kaiyan-sheng <kaiyan.sheng@elastic.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants