iobroker.logparser

2.2.2 • Public • Published

Logo

ioBroker.logparser

GitHub license Downloads GitHub repo size Translation status GitHub commit activity GitHub commits since latest release (by date) GitHub last commit GitHub issues Version: NPM version Current version in stable repository Number of Installations Tests: Test and Release CodeQL

Sentry

This adapter uses Sentry libraries to automatically report exceptions and code errors to the developers. For more details and for information how to disable the error reporting see Sentry-Plugin Documentation! Sentry reporting is used starting with js-controller 3.0.

Documentation

🇬🇧 Documentation 🇩🇪 Dokumentation

Discussion and Questions

ioBroker Forum

Info

This adapter parses (filters) all logs of ioBroker adapters and provides the results as JSON in states for each filter as configured in the settings. Resulting JSON can then be used in VIS for visualization. States for emptying (clearing) old logs are provided as well (like logparser.0.filters.Homematic.emptyJson or logparser.0.emptyAllJson to empty all.)

States

Installation

Just install the adapter regularly through the ioBroker admin interface. The adapter is both in the latest and stable repository.

Instructions

I have included all instructions right in the admin settings of this adapter.

Also, you can read most of these instructions here as well:

Visualization Example (animated gif)

Vis

Screenshots of adapter options

Please note that these screenshots are a snapshot and do not reflect the latest adapter options. This is just to provide you an overview of the adapter options.

  • Will be add later

Credits

Providing this adapter would not have been possible without the great work of @Mic-M (https://github.com/Mic-M).

How to report issues and feature requests

Please use GitHub issues for this.

Best is to set the adapter to Debug log mode (Instances -> Expert mode -> Column Log level). Then please get the logfile from disk (subdirectory "log" in ioBroker installation directory and not from Admin because Admin cuts the lines). If you do not like providing it in GitHub issue you can also send it to me via email (mcm57@gmx.at). Please add a reference to the relevant GitHub issue AND also describe what I see in the log at which time.

Changelog

2.2.2 (2024-01-20)

  • (ciddi89) Fixed: missing space in one entry of global blacklist #145

2.2.1 (2023-12-22)

  • (ciddi89) Fixed: Visualization tables was not working correctly #97
  • (ciddi89) Updated: Dependencies

2.2.0 (2023-05-28)

  • (ciddi89) Dropped: Node v14.x support and added: Node v20.x support
  • (ciddi89) Added: Option to empty log for each parser rule.

2.1.3 (2023-05-19)

  • (ciddi89) Updated: Dependencies

2.1.2 (2023-04-07)

  • (ciddi89) Fixed: Visualization tables was not working correctly
  • (ciddi89) Fixed: Issue if no dateformat was selected correctly

2.1.1 (2023-04-05)

  • (ciddi89) Fixed: #25 Missing CSS class in date if it's older than today
  • (ciddi89) Changed: Moved Dateformat option from table to other settings
  • (ciddi89) Updated: Dependencies

2.1.0 (2023-03-05)

  • (ciddi89) Added: #24 Option to remove 'COMPACT' in log entries
  • (ciddi89) Added: #21 Option to remove only 'script.js' in log entries
  • (ciddi89) Fixed: #46 Midnight function to change today/yesterday
  • (ciddi89) Fixed: #23 When nothing selected in blacklist, adapter didn't work anymore
  • (ciddi89) Other: Small code and translation improvements

2.0.0 (2023-03-02)

  • (ciddi89) Dropped: Admin 5 support
  • (ciddi89) Changed: Admin html to jsonConfig #36
  • (ciddi89) Fixed: Issue with Midnight function
  • (ciddi89) Added: Translations of admin ui #28
  • (ciddi89) Updated: Readme

1.2.3 (2023-02-25)

  • (ciddi89) Fixed: Alexa-History script
  • (ciddi89) Fixed: adjusted links in admin/docs to new repo
  • (ciddi89) Rebuilded main.js

1.2.2 (2023-02-23)

  • (McM1957) sentry integration has been fixed

1.2.1 (2023-02-23)

  • (McM1957) Adapter has been moved to iobroker-community-adapters

1.1.0

  • (Mic-M) Fixed issue #15 regarding regex for tab "Parser Rules", column "Blacklist"
  • (Mic-M) Enhancement #16 - add specific CSS classes to any element of the JSON log per adapter option.
  • (Mic-M) Major improvement: Implemented entire documentation into adapter itself to significantly improve usability.
  • (Mic-M) A few improvements under the hood.

1.0.4

1.0.3

1.0.2

  • (Mic-M) Added debug logging for callAtMidnight() and updateTodayYesterday()

1.0.1

  • (Mic-M) Updated lodash dependency from 4.17.15 to 4.17.19

1.0.0

  • (Mic-M) No changes - just prepare versioning to add adapter to stable repository per Adapter dev docu

License

MIT License

Copyright (c) 2020 - 2024 Mic-M, McM1957 mcm57@gmx.at, ciddi89 mail@christian-behrends.de, ioBroker Community Developers

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Readme

Keywords

Package Sidebar

Install

npm i iobroker.logparser

Weekly Downloads

50

Version

2.2.2

License

MIT

Unpacked Size

534 kB

Total Files

22

Last publish

Collaborators

  • mcm1957
  • pmant
  • matten-matten
  • simatec
  • dkleber89
  • foxriver76
  • raintonr
  • issi
  • ciddi89
  • dutchmannl
  • patrickwaltherh
  • ruhr70
  • arteck
  • apollon77
  • meistertr
  • prinzeisenherz1
  • bluefox
  • nisiode
  • alcalzone
  • zefau
  • algar42
  • garfonso
  • forelleblau
  • buzzy1337
  • pdbjjens
  • unclesamswiss
  • _shojo_
  • swedish.chef
  • thiemoh
  • sven-s-ter
  • mic-m