Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.18] [Automatic Import] Fix unstructured syslog flow (elastic#213042)…
… (elastic#213208) # Backport This will backport the following commits from `main` to `8.18`: - [[Automatic Import] Fix unstructured syslog flow (elastic#213042)](elastic#213042) <!--- Backport version: 9.6.4 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Bharat Pasupula","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-03-04T15:02:14Z","message":"[Automatic Import] Fix unstructured syslog flow (elastic#213042)\n\n## Summary\n\nThis PR fixes the Unstructured syslog flow. It picks up 5 samples send\nthem to LLM to create a pattern and tests all the samples against the\npattern , collects the unparsed samples [ if any ] , send them in for\nnext round of pattern check and so on.\n\nThis creates a list of patterns that matches all the samples and creates\na grok processor with those patterns and it breaks the syslogs down into\na JSON for ECS mapping , categorization and related graphs.\n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"715a72fa1832242e3a96a664695f84f75346d106","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","v9.0.0","backport:prev-minor","Team:Security-Scalability","backport:version","Feature:AutomaticImport","v9.1.0","v8.19.0","v8.18.1"],"title":"[Automatic Import] Fix unstructured syslog flow","number":213042,"url":"https://github.com/elastic/kibana/pull/213042","mergeCommit":{"message":"[Automatic Import] Fix unstructured syslog flow (elastic#213042)\n\n## Summary\n\nThis PR fixes the Unstructured syslog flow. It picks up 5 samples send\nthem to LLM to create a pattern and tests all the samples against the\npattern , collects the unparsed samples [ if any ] , send them in for\nnext round of pattern check and so on.\n\nThis creates a list of patterns that matches all the samples and creates\na grok processor with those patterns and it breaks the syslogs down into\na JSON for ECS mapping , categorization and related graphs.\n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"715a72fa1832242e3a96a664695f84f75346d106"}},"sourceBranch":"main","suggestedTargetBranches":["8.x","8.18"],"targetPullRequestStates":[{"branch":"9.0","label":"v9.0.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"url":"https://github.com/elastic/kibana/pull/213118","number":213118,"state":"MERGED","mergeCommit":{"sha":"722374253815912d38d6f4f21098738cafba8f69","message":"[9.0] [Automatic Import] Fix unstructured syslog flow (elastic#213042) (elastic#213118)\n\n# Backport\n\nThis will backport the following commits from `main` to `9.0`:\n- [[Automatic Import] Fix unstructured syslog flow\n(elastic#213042)](https://github.com/elastic/kibana/pull/213042)\n\n<!--- Backport version: 9.6.6 -->\n\n### Questions ?\nPlease refer to the [Backport tool\ndocumentation](https://github.com/sorenlouv/backport)\n\n<!--BACKPORT [{\"author\":{\"name\":\"Bharat\nPasupula\",\"email\":\"[email protected]\"},\"sourceCommit\":{\"committedDate\":\"2025-03-04T15:02:14Z\",\"message\":\"[Automatic\nImport] Fix unstructured syslog flow (elastic#213042)\\n\\n## Summary\\n\\nThis PR\nfixes the Unstructured syslog flow. It picks up 5 samples send\\nthem to\nLLM to create a pattern and tests all the samples against the\\npattern ,\ncollects the unparsed samples [ if any ] , send them in for\\nnext round\nof pattern check and so on.\\n\\nThis creates a list of patterns that\nmatches all the samples and creates\\na grok processor with those\npatterns and it breaks the syslogs down into\\na JSON for ECS mapping ,\ncategorization and related graphs.\\n\\n### Checklist\\n\\n- [x] [Unit or\nfunctional\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\nwere\nupdated or added to match the most common scenarios\\n- [x] The PR\ndescription includes the appropriate Release Notes section,\\nand the\ncorrect `release_note:*` label is applied per\nthe\\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\",\"sha\":\"715a72fa1832242e3a96a664695f84f75346d106\",\"branchLabelMapping\":{\"^v9.1.0$\":\"main\",\"^v8.19.0$\":\"8.x\",\"^v(\\\\d+).(\\\\d+).\\\\d+$\":\"$1.$2\"}},\"sourcePullRequest\":{\"labels\":[\"release_note:fix\",\"backport:prev-minor\",\"Team:Security-Scalability\",\"backport:version\",\"Feature:AutomaticImport\",\"v9.1.0\",\"v8.19.0\",\"v8.18.1\"],\"title\":\"[Automatic\nImport] Fix unstructured syslog\nflow\",\"number\":213042,\"url\":\"https://github.com/elastic/kibana/pull/213042\",\"mergeCommit\":{\"message\":\"[Automatic\nImport] Fix unstructured syslog flow (elastic#213042)\\n\\n## Summary\\n\\nThis PR\nfixes the Unstructured syslog flow. It picks up 5 samples send\\nthem to\nLLM to create a pattern and tests all the samples against the\\npattern ,\ncollects the unparsed samples [ if any ] , send them in for\\nnext round\nof pattern check and so on.\\n\\nThis creates a list of patterns that\nmatches all the samples and creates\\na grok processor with those\npatterns and it breaks the syslogs down into\\na JSON for ECS mapping ,\ncategorization and related graphs.\\n\\n### Checklist\\n\\n- [x] [Unit or\nfunctional\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\nwere\nupdated or added to match the most common scenarios\\n- [x] The PR\ndescription includes the appropriate Release Notes section,\\nand the\ncorrect `release_note:*` label is applied per\nthe\\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\",\"sha\":\"715a72fa1832242e3a96a664695f84f75346d106\"}},\"sourceBranch\":\"main\",\"suggestedTargetBranches\":[\"8.x\",\"8.18\"],\"targetPullRequestStates\":[{\"branch\":\"main\",\"label\":\"v9.1.0\",\"branchLabelMappingKey\":\"^v9.1.0$\",\"isSourceBranch\":true,\"state\":\"MERGED\",\"url\":\"https://github.com/elastic/kibana/pull/213042\",\"number\":213042,\"mergeCommit\":{\"message\":\"[Automatic\nImport] Fix unstructured syslog flow (elastic#213042)\\n\\n## Summary\\n\\nThis PR\nfixes the Unstructured syslog flow. It picks up 5 samples send\\nthem to\nLLM to create a pattern and tests all the samples against the\\npattern ,\ncollects the unparsed samples [ if any ] , send them in for\\nnext round\nof pattern check and so on.\\n\\nThis creates a list of patterns that\nmatches all the samples and creates\\na grok processor with those\npatterns and it breaks the syslogs down into\\na JSON for ECS mapping ,\ncategorization and related graphs.\\n\\n### Checklist\\n\\n- [x] [Unit or\nfunctional\\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\\nwere\nupdated or added to match the most common scenarios\\n- [x] The PR\ndescription includes the appropriate Release Notes section,\\nand the\ncorrect `release_note:*` label is applied per\nthe\\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)\",\"sha\":\"715a72fa1832242e3a96a664695f84f75346d106\"}},{\"branch\":\"8.x\",\"label\":\"v8.19.0\",\"branchLabelMappingKey\":\"^v8.19.0$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"},{\"branch\":\"8.18\",\"label\":\"v8.18.1\",\"branchLabelMappingKey\":\"^v(\\\\d+).(\\\\d+).\\\\d+$\",\"isSourceBranch\":false,\"state\":\"NOT_CREATED\"}]}]\nBACKPORT-->\n\nCo-authored-by: Bharat Pasupula <[email protected]>"}},{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213042","number":213042,"mergeCommit":{"message":"[Automatic Import] Fix unstructured syslog flow (elastic#213042)\n\n## Summary\n\nThis PR fixes the Unstructured syslog flow. It picks up 5 samples send\nthem to LLM to create a pattern and tests all the samples against the\npattern , collects the unparsed samples [ if any ] , send them in for\nnext round of pattern check and so on.\n\nThis creates a list of patterns that matches all the samples and creates\na grok processor with those patterns and it breaks the syslogs down into\na JSON for ECS mapping , categorization and related graphs.\n\n### Checklist\n\n- [x] [Unit or functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere updated or added to match the most common scenarios\n- [x] The PR description includes the appropriate Release Notes section,\nand the correct `release_note:*` label is applied per the\n[guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)","sha":"715a72fa1832242e3a96a664695f84f75346d106"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT-->
- Loading branch information