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

Feature/notify 12 log dating #57

Merged
merged 3 commits into from
Aug 28, 2024

Conversation

mhaswell-bcgov
Copy link

No description provided.

@mhaswell-bcgov mhaswell-bcgov marked this pull request as ready for review August 27, 2024 21:32
Copy link

@robrien-bcgov robrien-bcgov left a comment

Choose a reason for hiding this comment

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

seems reasonable, though I lack context on this.

- To add any other custom values (to change the image version, for example), add another `-f` flag pointing to your values yaml file.
4. To undo a deployment, run the command `helm delete local`.
- If you used a different release name in the previous step, replace `local` with that release name.

Choose a reason for hiding this comment

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

this seems easy to follow. I like numbered lists with actual commands in them

Tag app.access.log
Mem_Buf_Limit 5MB
Name tail
Path /tmp/logs/*.log

Choose a reason for hiding this comment

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

why all the whitespace changes?

Copy link
Author

Choose a reason for hiding this comment

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

I thought it would be easier to read if the values were aligned with each other.

Name Lua
Match *
call append_tag
code function append_tag(tag, timestamp, record) new_record = record new_record["datestamp"] = os.date("%Y%m%d", timestamp) return 1, timestamp, new_record end

Choose a reason for hiding this comment

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

cool - Lua code!

seems to be appending a tag to each record containing a datestamp.

Copy link
Author

Choose a reason for hiding this comment

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

That's right. It's pretty hacky but I'm just wanting to finish this thing up even if it isn't done in the best way.

@mhaswell-bcgov mhaswell-bcgov merged commit 4a603d1 into fluentbit-logging Aug 28, 2024
1 check passed
@mhaswell-bcgov mhaswell-bcgov deleted the feature/NOTIFY-12-log-dating branch August 28, 2024 15:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants