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

Doc: Clarify behavior for concatenate_sources option #60

Merged
merged 3 commits into from
Mar 11, 2021

Conversation

karenzone
Copy link
Contributor

Related: #59

@karenzone karenzone added the docs label Mar 9, 2021
@karenzone
Copy link
Contributor Author

@kaisecheng Here's a first draft. I look forward to discussing with you and refining the content.

Copy link
Contributor

@kaisecheng kaisecheng left a comment

Choose a reason for hiding this comment

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

👍 @karenzone overall looks good. I believe user will feel much better with the example you give. I provide the updated fingerprints output in case of users really try it and find different output

**Example: `concatenate_sources`=false**

This example produces a single "fingerprint" of
"6b6390a4416131f82b6ffb509f6e779e5dd9630f". The fingerprint is computed from "birthday"
Copy link
Contributor

Choose a reason for hiding this comment

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

I like the format of multiple fingerprints that you give an example of config and an example of output.
How about making them consistent? Instead of saying This example produces a single "fingerprint" of "6b6390a4416131f82b6ffb509f6e779e5dd9630f", gives

[source,ruby]

"fingerprint" => "6b6390a4416131f82b6ffb509f6e779e5dd9630f"

[0] "fdfeb16f096983ada02db49d46a8154475d700ae",
[1] "a85ed0f0a425b690a75fcbab6c256837bac04dad",
[2] "6b6390a4416131f82b6ffb509f6e779e5dd9630f"
],
Copy link
Contributor

Choose a reason for hiding this comment

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

I use Logstash to generate a real output of ["big brother", "little sister", "little brother"]

    [0] "8a8a9323677f4095fcf0c8c30b091a0133b00641",
    [1] "2ce11b313402e0e9884e094409f8d9fcf01337c2",
    [2] "adc0b90f9391a82098c7b99e66a816e9619ad0a7"

Co-authored-by: kaisecheng <[email protected]>
@karenzone
Copy link
Contributor Author

@kaisecheng Will you please take a quick look to be sure that I interpreted your review comments correctly? The info and examples you provided were very helpful, and I gave you an authoring credit. :-)

@kaisecheng
Copy link
Contributor

@karenzone the examples look good 💯 thanks for the credit ❤️

@karenzone karenzone merged commit 928f285 into logstash-plugins:master Mar 11, 2021
@karenzone karenzone deleted the concatenate branch March 11, 2021 15:48
@karenzone
Copy link
Contributor Author

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.

2 participants