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

Support more output format #20

Closed
fadewalk opened this issue Oct 25, 2022 · 5 comments · Fixed by #26
Closed

Support more output format #20

fadewalk opened this issue Oct 25, 2022 · 5 comments · Fixed by #26

Comments

@fadewalk
Copy link

Hello brother, your tool is very good, which can improve the efficiency of operation and maintenance. Is there a plan to support the output of the analysis results in JSON or CSV, or the interface of the Prometheus reported.

@Canop
Copy link
Owner

Canop commented Oct 25, 2022

JSON and/or CSV could be added. I'm not sure there would be many users for that.

@fadewalk
Copy link
Author

fadewalk commented Nov 8, 2022

The monitoring of the status code of the existing Nginx LOG on Nginx is only the county -type statistics, and the corresponding details of the corresponding TOP PATH or Refer. It is found that RHIT is very detailed in log analysis. If it can be integrated, it can be made into an Exporter for prometheus collection, it will be great!

@fadewalk
Copy link
Author

fadewalk commented Nov 8, 2022

Sorry to make a mistake above. The existing Nginx Log's exporter's monitoring of Nginx's status code is only the counter type value statistics.

@Shadowlong
Copy link

Shadowlong commented Jan 18, 2023

+1
maybe output in html will be better

Canop added a commit that referenced this issue Jul 30, 2023
--output tables is default (same behavior than before)
--output raw is what whas done with --lines before

Fix #20
@Canop
Copy link
Owner

Canop commented Jul 30, 2023

Done with #26

There should be a new release towards the end of August. Tests of the --output feature welcome.

@Canop Canop closed this as completed in #26 Aug 2, 2023
Canop added a commit that referenced this issue Aug 2, 2023
--output tables is default (same behavior than before)
--output raw is what whas done with --lines before
--output csv writes lines as a csv file
-- output json writes log lines as a JSON array

Fix #20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants