8000 Unable to parse log line [BUG] · Issue #5 · wymangr/blueiris_exporter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Unable to parse log line [BUG] #5

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

Closed
denzelm5 opened this issue Nov 15, 2023 · 10 comments
Closed

Unable to parse log line [BUG] #5

denzelm5 opened this issue Nov 15, 2023 · 10 comments
Assignees
Labels
bug Something isn't working

Comments

@denzelm5
Copy link

Describe the bug
Good Day, i have installed and configure your exported. when i run the tool i get Unable to parse log line command that runs continually

To Reproduce
Steps to reproduce the behavior:

  1. installed the .exe on my c:\ drive
  2. opened the command prompt in admin mode.
  3. navigated the to the location were the .exe is located.
  4. ran this line to start : blueiris_exporter-amd64.exe --logpath=C:\BlueIris\log
  5. confirmed log is writing to /metric directory

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image
image

Desktop (please complete the following information):

  • Windows Server 2019 - HP Gen10 Proliant
  • Blue Iris Version 5.7.9.14 (2023/11/01)
  • blueiris_exporter Version [e.g. 1.2.0 latest]

Additional context
Even though there is the parse error, the data still writes to my influxdb until the exporter tool times out.

@wymangr
Copy link
Owner
wymangr commented Nov 15, 2023

Hi @denzelm5 thank you for the report! Would you mind sharing a copy of your latest log file in C:\BlueIris\log? I'll dig in and try and get a fix pushed up this week.

@denzelm5
Copy link
Author

Hi @denzelm5 thank you for the report! Would you mind sharing a copy of your latest log file in C:\BlueIris\log? I'll dig in and try and get a fix pushed up this week.

Hi ,

Thanks for your reply. please see log file below.

Regards

202311.zip

@wymangr
Copy link
Owner
wymangr commented Nov 15, 2023

Thanks for the log, it will make things much easier. At initial glance, it looks like Blue Iris has added some additional logging that the exporter doesn't know how to parse. I've been running mine as a Windows service, so I haven't noticed, but now that I look, it's doing the same thing for me. Feel free to install it as a service if you want to ignore it now as well.

Good news is, it should be a somewhat easy fix. I'll work on it a bit this week and should have something for you soon!

@wymangr
Copy link
Owner
wymangr commented Nov 16, 2023

Testing a fix, if all goes well, I'll push it up tomorrow!

@wymangr
Copy link
Owner
wymangr commented Nov 16, 2023

@denzelm5 I've released a fix: https://github.com/wymangr/blueiris_exporter/releases/tag/v1.2.1 as well as a update to the dashboard. Let me know how it goes!

@denzelm5
Copy link
Author

Hi,
Thank you very much. I have updated the collector, I dont get the error anymore . As this is the first time running the collector , was it suppose to like the below ? I also need to ask, In the grafana server import dashboard, i see the connection requires a Prometheus datasource ? How do you get this working as im writing the data to a bucket....

image

@wymangr
Copy link
Owner
wymangr commented Nov 16, 2023

@denzelm5 Looking at the output of the command prompt window on the right, that is what it's supposed to look like. As for the powershell script, I'm guessing you are converting the prometheus metrics to influxdb? Unfortunately, I don't use influxdb, so I can't tell you if that's correct.

As for the Grafana dashboard, the one I have included in this repo and the one I maintain is for the Prometheus data source as that was the intended use for this exporter. However, I did have one other person who used influxdb and I did create this dashboard as well:

https://grafana.com/grafana/dashboards/17456-blueiris-influx/

It's out dated, and I don't currently have plans on setting up an influxdb to update it, but it could help as a starting point?

@wymangr
Copy link
Owner
wymangr commented Dec 4, 2023

@denzelm5 Hey, just wanted to check in and make sure everything is working for you?

@denzelm5
Copy link
Author
denzelm5 commented Dec 5, 2023 via email

@wymangr
Copy link
Owner
wymangr commented Dec 5, 2023

@denzelm5, that's good that the exporter is working! Like I said, unfortunately, the dashboard I support is for the Prometheus Data source, so I won't be able to help you much with an Influx dashboard other then the one I provided you. If you end up building a dashboard for influx, let me know and I can share it :)

@wymangr wymangr self-assigned this Dec 5, 2023
@wymangr wymangr added the bug Something isn't working label Dec 5, 2023
@wymangr wymangr closed this as completed Dec 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
0