Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Remove read_from_head true from operation.conf #1466

Merged
merged 1 commit into from
May 27, 2022

Conversation

taglines
Copy link
Contributor

No description provided.

@NarineM
Copy link
Contributor

NarineM commented May 27, 2022

@taglines do you think it should be set to false instead of removing it? or you do not want the plugin ever read from the beginning of file given that it does not check on the overall file size or perform any slicing if pos file is missing? Also removing the setting would make it fall into read=false path or null path (which will start the position from the beginning of the file)?
One more clarification. Would not this change require change in DSC module? If pos file is missing will it start from the timestamp the plugin started running or it would not read anything at all?

@NarineM
Copy link
Contributor

NarineM commented May 27, 2022

The default (wihen no setting) is false, There is no option for more complex logic with “@type tail”. With false, “@type tail” starts at the end of the file is .pos file is missing, otherwise it picks up from the .pos position.

@NarineM NarineM merged commit 4e99d76 into microsoft:master May 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants