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

Mtail does not count the amount of lines correctely #768

Open
dbaudat opened this issue Sep 21, 2023 · 1 comment
Open

Mtail does not count the amount of lines correctely #768

dbaudat opened this issue Sep 21, 2023 · 1 comment
Labels
more-info-needed Waiting for an answer from the issue reporter question This issue looks like a usage problem, not a bug or feature request

Comments

@dbaudat
Copy link

dbaudat commented Sep 21, 2023

Hi,

I am new in using mtail and hope not making a mistake creating this bad behavior.

I am using the following version:
mtail version 3.0.0-rc52 git revision 6c1f19c go version go1.20.5 go arch amd64 go os linux with 4 log files, the peak amount of lines is app. 30 000 per minute.

The following command is used to start the mtail process:
/opt/CoMo/mtail_exporter/mtail -address 10.223.86.12 -progs /opt/CoMo/mtail_exporter/config_mtail.mtail -logs /var/log/MAAA/maaa_syslog.log -logs...

I use in example such filter:
counter MAAA_PPEAPSIM_Accounting_Start_counter
/pw-maaa.?Type=Accounting-Start.?LoginType=POSTPAIDEAPSIM/ {
MAAA_PPEAPSIM_Accounting_Start_counter++
}

The machine is not overloaded (CPU / memory or disk), but the results presented in mtail do not match the amount of filterd lines in the log files.

Am I doing somthing wrong? Am I reaching some limits?

Thank you in advance.
Denis

@dbaudat dbaudat changed the title The result does not count the amount of lines correctely Mtail does not count the amount of lines correctely Sep 21, 2023
@jaqx0r
Copy link
Contributor

jaqx0r commented Apr 21, 2024

Can you share an example of a log line?

Please follow the https://github.com/google/mtail/blob/main/docs/Testing.md guide.

@jaqx0r jaqx0r added the question This issue looks like a usage problem, not a bug or feature request label Apr 21, 2024
@jaqx0r jaqx0r added the more-info-needed Waiting for an answer from the issue reporter label May 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
more-info-needed Waiting for an answer from the issue reporter question This issue looks like a usage problem, not a bug or feature request
Projects
None yet
Development

No branches or pull requests

2 participants