diff --git a/pkg/promtail/targets/windows/bookmark.go b/pkg/promtail/targets/windows/bookmark.go index 4a13023e5ff1..d8aef00a15c4 100755 --- a/pkg/promtail/targets/windows/bookmark.go +++ b/pkg/promtail/targets/windows/bookmark.go @@ -21,8 +21,8 @@ type bookMark struct { // newBookMark creates a new windows event bookmark. // The bookmark will be saved at the given path. Use save to save the current position for a given event. func newBookMark(path string) (*bookMark, error) { - // 4kb buffer for rendering bookmark - buf := make([]byte, 4<<10) + // 16kb buffer for rendering bookmark + buf := make([]byte, 16<<10) _, err := fs.Stat(path) // creates a new bookmark file if none exists.