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

Store API access log #7372

Open
darkweaver87 opened this issue Jul 30, 2019 · 1 comment · May be fixed by #8039
Open

Store API access log #7372

darkweaver87 opened this issue Jul 30, 2019 · 1 comment · May be fixed by #8039
Labels
area/api REST API area/log Logging related enhancement New feature or request

Comments

@darkweaver87
Copy link

Hello,

When using Icinga API it could be interesting to have access logs in a separate file.
Also, when it's used behing a reverse proxy or a load balancer it would be great to log http X-Forwarded-For or X-Real-IP headers :-)

Thanks :-)

@dnsmichi
Copy link
Contributor

Icinga 2 only has its application log, filtered by severity levels. In order to support different categories to allow specific filtering like HttpRequests, this needs a general rewrite of the logging implementation.

Meanwhile you can use logstash grok filters to extract the details from the logs and use that for further analysis.

Blocked by #6636

@dnsmichi dnsmichi added area/api REST API area/log Logging related enhancement New feature or request labels Jul 30, 2019
@dnsmichi dnsmichi changed the title [API] get access logs Store API access log Jul 30, 2019
@htriem htriem added the stalled Blocked or not relevant yet label Jan 22, 2020
@Al2Klimov Al2Klimov removed the stalled Blocked or not relevant yet label May 28, 2020
@Al2Klimov Al2Klimov self-assigned this May 28, 2020
Al2Klimov added a commit that referenced this issue May 29, 2020
@Al2Klimov Al2Klimov linked a pull request May 29, 2020 that will close this issue
Al2Klimov added a commit that referenced this issue Dec 14, 2020
Al2Klimov added a commit that referenced this issue Aug 10, 2021
Al2Klimov added a commit that referenced this issue Jun 6, 2023
Al2Klimov added a commit that referenced this issue Jul 13, 2023
@Al2Klimov Al2Klimov removed their assignment Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/api REST API area/log Logging related enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants