Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

[BUG] docker run --input /path/to/access.log doesn't analyze log, but buffer does #306

@PoundXI

Description

@PoundXI

Describe the bug
Not analyze log

To Reproduce
image

This command doesn't work.

sudo docker run -i --rm -v $PWD/access.log:/mnt/access.log -v $PWD/teler.yaml:/mnt/teler.yaml -e TELER_CONFIG=/mnt/teler.yaml kitabisa/teler --input /mnt/access.log

But this works

tail -f $PWD/access.log | sudo docker run -i --rm -v $PWD/teler.yaml:/mnt/teler.yaml -e TELER_CONFIG=/mnt/teler.yaml kitabisa/teler

Expected behavior
Should analyze log

Environment (please complete the following information):

  • OS: Ubuntu 22.04
  • OS version: Linux pg-laptop 5.15.0-58-generic #64-Ubuntu SMP Thu Jan 5 11:43:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
  • teler Version v2.0.0-dev.3

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions