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

AMBARI-22750. Add custom input / mapper descriptor to config api #79

Merged
merged 1 commit into from Jan 10, 2018

Conversation

oleewere
Copy link
Contributor

What changes were proposed in this pull request?

New custom input and mapper blocks for the logsearch config api:

{ 
inputs :
[  
  "source":"custom"
  "class": "..."
  "properties": { "k1": "v1", "k2": "v2"}
]
#... and same for mappers inside filters 

How was this patch tested?

With docker based environment, logfeeder still behave as the same way.
The more detailed testing will be added after logfeeder will be pluggable

@kasakrisz @swagle @zeroflag


String getMapperClassName();

void setClassName(String className);
Copy link
Contributor

Choose a reason for hiding this comment

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

This can be setMapperClassName

@ShipperConfigElementDescription(
path = "/filter/[]/post_map_values/{field_name}/[]/map_custom/class_name",
type = "string",
description = "Custom class which implements an mapper type",
Copy link
Contributor

Choose a reason for hiding this comment

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

typo: a mapper

@oleewere oleewere merged commit 635ee1d into apache:trunk Jan 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants