Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filebeat Redis module #4441

Merged
merged 1 commit into from
Jun 6, 2017
Merged

Conversation

tsg
Copy link
Contributor

@tsg tsg commented Jun 1, 2017

Contains two filesets:

  • One for collecting & parsing the logs written on disk by Redis
  • One that uses the Redis prospector to interrogate the slow logs

TODOs:

  • docs & changelog
  • dashboards
  • test with redis authentication

This also moves beat.read_timestamp to read_timestamp to match the rest of the modules.

@tsg tsg added Filebeat Filebeat in progress Pull request is currently in progress. review labels Jun 1, 2017
@tsg tsg force-pushed the filebeat_redis_module branch 2 times, most recently from 54980ff to b781250 Compare June 2, 2017 08:29
@tsg
Copy link
Contributor Author

tsg commented Jun 2, 2017

Sample dashboard:

2017-06-02-14-51-localhost-5601

@tsg tsg removed the in progress Pull request is currently in progress. label Jun 2, 2017
@tsg tsg force-pushed the filebeat_redis_module branch 2 times, most recently from ba7f73b to 9e5c298 Compare June 2, 2017 13:42
Copy link
Contributor

@ruflin ruflin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great to see a module on top of the new prospector type.

"beat": common.MapStr{
"read_timestamp": common.Time(time.Now()),
},
"read_timestamp": common.Time(time.Now()),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That means read_timestamp is now a "common" global field in filebeat?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's how it is since we introduced the modules. We can still change it for 6.0..

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, now I remember we even had a quick discussion. +1 on changing it but not sure what to :-)

Copy link
Member

@andrewkroh andrewkroh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice dashboard

@exekias
Copy link
Contributor

exekias commented Jun 4, 2017

LGTM, please address check error

@tsg tsg force-pushed the filebeat_redis_module branch from 9e5c298 to 6f0ca38 Compare June 6, 2017 07:57
Contains two filesets:

* One for collecting & parsing the logs written on disk by Redis
* One that uses the Redis prospector to interrogate the slow logs

This also moves beat.read_timestamp to read_timestamp to match the rest of the modules.
@tsg tsg force-pushed the filebeat_redis_module branch from 6f0ca38 to c1d41d4 Compare June 6, 2017 10:04
@tsg
Copy link
Contributor Author

tsg commented Jun 6, 2017

Remaining test failures don't look related.

@monicasarbu monicasarbu merged commit 0946282 into elastic:master Jun 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants