kibana/docs/settings
Jesus Wahrman 23b7f0fb33
[HTTP] Log deprecated api usages (#207904)
## Summary

Resolves https://github.com/elastic/kibana/issues/199616

Added a debug logger when calling deprecated APIs. This logger is
disabled by default, to enable it you have to set
`deprecation.enable_http_debug_logs: true`.

To test this you can play with the config value and do a request like
this to a deprecated endpoint:

```shell
#!/bin/bash
API_KEY=""
curl -X GET "http://localhost:5601/api/cases/status" -i \
-H "Content-Type: application/json" \
-H "Authorization: ApiKey $API_KEY"
``` 


### Checklist

Check the PR satisfies following conditions. 

Reviewers should verify this PR satisfies this list as well.

- [x]
[Documentation](https://www.elastic.co/guide/en/kibana/master/development-documentation.html)
was added for features that require explanation or tutorials
- [x] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
- [x] The PR description includes the appropriate Release Notes section,
and the correct `release_note:*` label is applied per the
[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)

### Identify risks

Does this PR introduce any risks? For example, consider risks like hard
to test bugs, performance regression, potential of data loss.

Describe the risk, its severity, and mitigation for each identified
risk. Invite stakeholders and evaluate how to proceed before merging.

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: florent-leborgne <florent.leborgne@elastic.co>
Co-authored-by: Jean-Louis Leysens <jloleysens@gmail.com>
2025-01-28 15:28:14 +01:00
..
images docs: APM spaces (#132071) 2022-06-02 15:06:00 -04:00
ai-assistant-settings.asciidoc Add documentation for airgap install of the product documentation (#202912) 2024-12-06 10:55:59 -06:00
alert-action-settings.asciidoc [Docs] Update "Alert and action settings" docs to be generated from YAML source (#191787) 2025-01-07 12:53:09 -05:00
apm-settings.asciidoc Add otel datastream patterns to APM indices (#190533) 2024-08-22 04:07:24 -05:00
banners-settings.asciidoc [DOCS] Reformats the AleBanner settings tables into definition lists (#107966) 2021-08-20 10:03:51 -05:00
cases-settings.asciidoc SKA: Update broken references and URLs (#206836) 2025-01-28 03:32:48 +00:00
enterprise-search-settings.asciidoc [DOCS] Add settings for Enterprise Search (#126711) 2022-03-02 12:58:15 -08:00
fleet-settings.asciidoc Update fleet-settings.asciidoc (#203194) 2025-01-13 11:17:04 +00:00
general-infra-logs-ui-settings.asciidoc remove source config settings (#130931) 2022-04-27 09:41:51 -05:00
i18n-settings.asciidoc [i18n] a few docs updates (#127964) 2022-03-17 18:18:49 +02:00
infrastructure-ui-settings.asciidoc [DOCS] Edits titles in Setup section for consistency (#68451) 2020-06-08 14:46:26 -07:00
logging-settings.asciidoc [HTTP] Log deprecated api usages (#207904) 2025-01-28 15:28:14 +01:00
logs-ui-settings.asciidoc [DOC+] Move logging location reference (#158521) 2023-06-01 07:50:02 -06:00
monitoring-settings.asciidoc [Stack Monitoring] Add stale status reporting for Kibana (#132613) 2022-06-08 11:31:17 +02:00
reporting-settings.asciidoc [Reporting/CSV/Docs] Specify maximum value for scroll.duration setting (#205765) 2025-01-07 15:36:41 +00:00
search-sessions-settings.asciidoc Deprecate search session documentation (#192224) 2024-09-12 13:35:55 -07:00
security-settings.asciidoc Fix documentation for session lifespan default (#198065) 2024-10-28 18:01:56 +00:00
spaces-settings.asciidoc update monitoring.allowedSpaces documentation (#120362) 2021-12-07 12:04:07 +01:00
task-manager-settings.asciidoc [Response Ops] Remove ephemeral tasks from task manager plugin (#201313) 2024-12-13 14:31:31 -08:00
telemetry-settings.asciidoc [Docs] Add missing telemetry setting (#206403) 2025-01-15 16:52:16 +01:00
url-drilldown-settings.asciidoc [DOCS] Reformats settings in drilldown doc (#120299) 2021-12-06 11:52:40 -08:00