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

[dev.icinga.com #11706] Improve logging for HTTP API requests #4178

Closed
icinga-migration opened this issue Apr 29, 2016 · 5 comments

Comments

Projects
None yet
1 participant
@icinga-migration
Copy link
Member

commented Apr 29, 2016

This issue has been migrated from Redmine: https://dev.icinga.com/issues/11706

Created by ClemensBW on 2016-04-29 14:05:14 +00:00

Assignee: gbeutner
Status: Resolved (closed on 2016-07-25 07:45:05 +00:00)
Target Version: 2.5.0
Last Update: 2016-08-22 11:49:43 +00:00 (in Redmine)

Backport?: Not yet backported
Include in Changelog: 1

Hello,

is it possible to provide more logging for the API calls?

  • request ip / FQDN
  • username

Now we have only:

[2016-04-29 16:00:22 +0200] information/ApiListener: New client connection (no client certificate)
[2016-04-29 16:00:22 +0200] information/HttpServerConnection: Request: POST /v1/actions/process-check-result?service[]=XXXX!ABC-sim (ABC)
[2016-04-29 16:00:22 +0200] warning/TlsStream: TLS stream was disconnected.
&/
[2016-04-29 16:03:34 +0200] information/ApiListener: New client connection (no client certificate)
[2016-04-29 16:03:34 +0200] information/HttpServerConnection: Request: GET /v1/objects/services (ABC)
[2016-04-29 16:03:34 +0200] warning/TlsStream: TLS stream was disconnected.

No source or user information.

Changesets

2016-07-25 07:43:13 +00:00 by gbeutner cdda3ba

Include client IP address and port in HTTP requests

fixes #11706
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented May 6, 2016

Updated by mfriedrich on 2016-05-06 14:38:53 +00:00

The ApiUser object is logged in parenthesis, e.g. "(ABC)" already.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Jul 6, 2016

Updated by ClemensBW on 2016-07-06 13:41:24 +00:00

Hello,

yes, but the source (ip / fqdn) from the api call is not logged :o)

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Jul 25, 2016

Updated by gbeutner on 2016-07-25 07:43:37 +00:00

  • Status changed from New to Assigned
  • Assigned to set to gbeutner
  • Target Version set to 2.5.0
@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Jul 25, 2016

Updated by gbeutner on 2016-07-25 07:45:05 +00:00

  • Status changed from Assigned to Resolved
  • Done % changed from 0 to 100

Applied in changeset cdda3ba.

@icinga-migration

This comment has been minimized.

Copy link
Member Author

commented Aug 22, 2016

Updated by gbeutner on 2016-08-22 11:49:43 +00:00

  • Subject changed from API / logging to Improve logging for HTTP API requests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.