ismaelmartinez / logger-to-kibana Goto Github PK
View Code? Open in Web Editor NEWParse loggers in your code and generate a kibana visualisation with them
License: MIT License
Parse loggers in your code and generate a kibana visualisation with them
License: MIT License
Is your feature request related to a problem? Please describe.
This project generates the visualisations from the logs, but not the dashboard. When you have many visualisations, gets annoying to find them all.
Describe the solution you'd like
It will be great for it to generate a dashboard with the visualisations generated. Probably the best option is to group them, at least for now, for each file. A valid initial version can be just to generate a dashboard with all the visualisations in it.
Describe alternatives you've considered
Creating the dashboards manually is a bit of a pain.
Refactor code to allow configuring the regex values, urls, index UUID and any others.
Using configparser should do the job but we should document in this task how does it work and how to overwrite those values.
Is your feature request related to a problem? Please describe.
When having many files and logs, sending the visualisations takes too long.
Describe the solution you'd like
I will like for the process take almost no time
Additional context
Each request call, waits for the previous one to finish before sending another request to the endpoint. Adding multiprocessing/threading, should considerably speed up the process.
add azure pipelines
Is your feature request related to a problem? Please describe.
It will be useful to group logs and generate multiple visualisations
Describe the solution you'd like
Been able to group logs by:
Describe alternatives you've considered
Not having that generates visualisation with too many filters
Additional context
When having logs generated from code, it generates far too many filters making it not great to visualise the logs. It will be great to group the logs.
Is your feature request related to a problem? Please describe.
There is no example for other type of log filters
Describe the solution you'd like
I like to have an example for Node/JavaScript projects (console.log, etc messages)
Additional context
This project should be language agnostic. To confirm that, an example in another language is needed.
Is your feature request related to a problem? Please describe.
Having a filter for the function name seem like a good idea initially, but it is now adding some, what looks like, unnecessary complexity/limitations.
Describe the solution you'd like
I will like all the logs in all the files in the sub folder to process and put in the same visualisation
Describe alternatives you've considered
Having logic to detect the functions and grouping the logs by function works ok if you are only using functions. It is then more difficult to process multiple files and requires too much user input.
This app should be plug a play. I don't think it matter if it is dirty at the beginning.
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/codeql-analysis.yml
actions/checkout v2
github/codeql-action v1
github/codeql-action v1
github/codeql-action v1
requirements.txt
atomicwrites ==1.4.1
attrs ==20.3.0
boto3 ==1.17.53
certifi ==2020.12.5
bumpversion ==0.6.0
chardet ==4.0.0
Click ==8.1.7
coverage ==6.5.0
docutils ==0.20.1
entrypoints ==0.3
flake8 ==3.7.8
idna ==3.7
importlib-metadata ==4.13.0
jmespath ==0.10.0
localconfig ==1.1.3
mccabe ==0.6.1
more-itertools ==8.14.0
packaging ==21.3
pluggy ==1.0.0
py ==1.11.0
pyparsing ==3.1.1
pytest ==6.2.5
pytest-cov ==2.12.1
python-dateutil ==2.8.2
requests ==2.31.0
requests-aws4auth ==1.2.3
six ==1.16.0
s3transfer ==0.3.7
urllib3 ==1.26.18
wcwidth ==0.2.12
zipp ==3.15.0
Is your feature request related to a problem? Please describe.
Add aws authentication
Describe the solution you'd like
Been able to authenticate with aws elasticSearch
Describe alternatives you've considered
Importing manually visualisations is a pain
Is your feature request related to a problem? Please describe.
Sometimes, you only need to get the visualisations generated, the files parsed, visualisations send, or everything.
Describe the solution you'd like
I would like to have the option of process, generate, send, process_and_generate and process_generate_and_send visualisations
Is your feature request related to a problem? Please describe.
Currently, in order to get most things to work with multiple src structures, you need to edit the settings.ini manually.
Describe the solution you'd like
I will like to be able to pass the configuration (ini) file. This will allow to create multiple types of configuration file for different languages (but that is another issue)
Describe alternatives you've considered
Editing the file manually, is a bit of a pain
Is your feature request related to a problem? Please describe.
Add colours to the generated visualisation object depending on the log type/object
Describe the solution you'd like
I will like that the generated visualisation has different colours for the different log messages. Specially important with error and critical.
Describe alternatives you've considered
Not having colours. It is ok but having the colours should ease pointing out issues. (aka, will be nice if not too much work)
Additional context
When looking a lot of visualisation results, you can get lost in the numbers. Adding colours could provide that extra abstraction that should ease the understanding of the visualisations.
Describe the bug
When doing a git push, the git hook does act but doesn't push the generated commit by bumpversion to git.
To Reproduce
Steps to reproduce the behavior:
There will be a commit difference between them. Your local will have the bumpversion commit in it.
Expected behavior
The bumpversion commit will be included in the push.
Desktop (please complete the following information):
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
Is your feature request related to a problem? Please describe.
There is only the option of having a metric visualisation. It will be great to have the option of selecting another type of visualisation (like pie, donut, histogram, etc)
Describe the solution you'd like
I would like to provide the visualisation I want to generate or for the program to select the visualisation depending on the amount of data.
Describe alternatives you've considered
Using only table visualisations. Metric supported but needed to have a filter in order for them to be usable
Additional context
There are multiple visualisations to represent the data in different ways... so is no point of only using one.
deploy to PyPI
Adding unit test framework and write the unit tests to the created function.
Add documentation about the Kibana part of the application
Is your feature request related to a problem? Please describe.
Add the filename/project to the generated visualisation
Describe the solution you'd like
Passing an argument should do.
Describe alternatives you've considered
Detecting the function name will depend of many variables (language, code structure, etc) so its probably not worth the effort.
Additional context
If no filename/project is provided, multiple projects having the same function name will result on a visualisation overwrite in kibana.
Is your feature request related to a problem? Please describe.
I like to automate the versioning as I always forget to update the setup.cfg file and that breaks the build
Describe the solution you'd like
Adding setuptools-scm should allow for automating the process
Describe alternatives you've considered
pre-hooks for git and using https://pypi.org/project/bumpversion/ might be another option, but looks like setuptools-scm is a bit nicer than the bumpversion.
Additional context
https://pypi.org/project/setuptools-scm/
Is your feature request related to a problem? Please describe.
Some log messages are better kep in variables to follow the DRY principle
Describe the solution you'd like
I will like to add extra filter to idendity variables with log messages
Describe alternatives you've considered
Forcing not to use variables to keep the log message, but that will be contraproctive
Additional context
It should be possible to add extra variable names for the log messages types. For example, if debug messages are keep in variables called debug_message, and error messages in variables called error_message, it should be possible to find them and make the code more consistent.
A bit of refactoring around the detector and filter area will be necessary, but that is always good.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.