kibana/oas_docs
Kerry Gallagher bbabd6d344
[8.x] [Streams 🌊] Enrichment - Add support for date processor (#213559) (#215359)
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Streams 🌊] Enrichment - Add support for date processor
(#213559)](https://github.com/elastic/kibana/pull/213559)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Marco Antonio
Ghiani","email":"marcoantonio.ghiani01@gmail.com"},"sourceCommit":{"committedDate":"2025-03-20T12:57:47Z","message":"[Streams
🌊] Enrichment - Add support for date processor (#213559)\n\n## 📓
Summary\n\nPart of
https://github.com/elastic/streams-program/issues/38\n\nThis work adds
the `date` processor along with the dissect and grok ones\nin the
enrichment section.\nIt scales well following the current folder
structure, but we should\ndefinitely polish it a bit more once more
processors get added, such as\ngetting the right form component, improve
form state derivation,
etc.\n\n\nhttps://github.com/user-attachments/assets/824d15c8-ce9d-455a-ae0b-97aeec8cf025\n\n---------\n\nCo-authored-by:
Kerry Gallagher <kerry.gallagher@elastic.co>\nCo-authored-by: Joe Reuter
<johannes.reuter@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Kerry
Gallagher
<471693+Kerry350@users.noreply.github.com>","sha":"8f65dceefca69c70de33be8176942d0c89fb0e27","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:obs-ux-logs","backport:version","Feature:Streams","v9.1.0","v8.19.0"],"title":"[Streams
🌊] Enrichment - Add support for date
processor","number":213559,"url":"https://github.com/elastic/kibana/pull/213559","mergeCommit":{"message":"[Streams
🌊] Enrichment - Add support for date processor (#213559)\n\n## 📓
Summary\n\nPart of
https://github.com/elastic/streams-program/issues/38\n\nThis work adds
the `date` processor along with the dissect and grok ones\nin the
enrichment section.\nIt scales well following the current folder
structure, but we should\ndefinitely polish it a bit more once more
processors get added, such as\ngetting the right form component, improve
form state derivation,
etc.\n\n\nhttps://github.com/user-attachments/assets/824d15c8-ce9d-455a-ae0b-97aeec8cf025\n\n---------\n\nCo-authored-by:
Kerry Gallagher <kerry.gallagher@elastic.co>\nCo-authored-by: Joe Reuter
<johannes.reuter@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Kerry
Gallagher
<471693+Kerry350@users.noreply.github.com>","sha":"8f65dceefca69c70de33be8176942d0c89fb0e27"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213559","number":213559,"mergeCommit":{"message":"[Streams
🌊] Enrichment - Add support for date processor (#213559)\n\n## 📓
Summary\n\nPart of
https://github.com/elastic/streams-program/issues/38\n\nThis work adds
the `date` processor along with the dissect and grok ones\nin the
enrichment section.\nIt scales well following the current folder
structure, but we should\ndefinitely polish it a bit more once more
processors get added, such as\ngetting the right form component, improve
form state derivation,
etc.\n\n\nhttps://github.com/user-attachments/assets/824d15c8-ce9d-455a-ae0b-97aeec8cf025\n\n---------\n\nCo-authored-by:
Kerry Gallagher <kerry.gallagher@elastic.co>\nCo-authored-by: Joe Reuter
<johannes.reuter@elastic.co>\nCo-authored-by: kibanamachine
<42973632+kibanamachine@users.noreply.github.com>\nCo-authored-by: Kerry
Gallagher
<471693+Kerry350@users.noreply.github.com>","sha":"8f65dceefca69c70de33be8176942d0c89fb0e27"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

---------

Co-authored-by: Marco Antonio Ghiani <marcoantonio.ghiani01@gmail.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-03-20 20:24:06 +02:00
..
examples [8.x] [DOCS] Remove inference connector docs (#198633) (#199846) 2024-11-12 13:56:59 -06:00
linters [8.x] [OpenAPI] Add redocly lint configuration (#199360) (#199554) 2024-11-08 17:22:00 -05:00
output [8.x] [Streams 🌊] Enrichment - Add support for date processor (#213559) (#215359) 2025-03-20 20:24:06 +02:00
overlays [8.x] 🌊 Streams: Prepare API for publishing (#213127) (#214415) 2025-03-13 18:51:47 +00:00
scripts [8.x] [DOCS] Add minimal uptime APIs (#213867) (#214884) 2025-03-20 10:12:20 +02:00
bundle.json [8.x] [ResponseOps][Rules] Allow users to delete snooze schedule from a rule (#213247) (#214796) 2025-03-17 17:53:46 +00:00
bundle.serverless.json [8.x] [Streams 🌊] Enrichment - Add support for date processor (#213559) (#215359) 2025-03-20 20:24:06 +02:00
kibana.info.yaml [8.x] [OpenAPI] Fix Serverless API base URL (#202373) (#202583) 2024-12-04 14:15:28 -06:00
makefile [8.x] [OAS] Publish OAS bundles to bump.sh (#197482) (#200135) 2024-11-20 10:16:01 +01:00
package-lock.json [8.x] Update dependency @redocly/cli to ^1.27.2 (main) (#207527) (#207948) 2025-01-23 00:19:21 +00:00
package.json [8.x] Update dependency @redocly/cli to ^1.27.2 (main) (#207527) (#207948) 2025-01-23 00:19:21 +00:00
README.md [8.x] SKA: Relocate "platform" packages that remain on /packages (#208704) (#212474) 2025-02-28 10:12:01 +00:00

Kibana API reference documentation

Documentation about our OpenAPI bundling workflow and configuration. See Kibana's hosted stateful and serverless docs.

Workflow

The final goal of this workflow is to produce an OpenAPI bundle containing all Kibana's public APIs.

Step 0

OAS from Kibana's APIs are continuously extracted and captured in bundle.json and bundle.serverless.json as fully formed OAS documentation. See node scripts/capture_oas_snapshot --help for more info.

These bundles form the basis of our OpenAPI bundles to which we append and layer extra information before publishing.

Step 1

Append pre-existing bundles not extracted from code using kbn-openapi-bundler to produce the final resulting bundles.

To add more files into the final bundle, edit the appropriate oas_docs/scripts/merge*.js files.

Step 2

Apply any final overalys to the document that might include examples or final tweaks (see the "Scripts" section for more details).

Scripts

The oas_docs/scripts folder contains scripts that point to the source domain-specific OpenAPI bundles and specify additional parameters for producing the final output bundle. Currently, there are the following scripts:

  • merge_ess_oas.js script produces production an output bundle for ESS

  • merge_serverless_oas.js script produces production an output bundle for Serverless

Output Kibana OpenAPI bundles

The oas_docs/output folder contains the final resulting Kibana OpenAPI bundles

  • kibana.yaml production ready ESS OpenAPI bundle
  • kibana.serverless.yaml production ready Serverless OpenAPI bundle

Bundling commands

Besides the scripts in the oas_docs/scripts folder, there is an oas_docs/makefile to simplify the workflow. Use make help to see available commands.