-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[ML] Adding filebeat config to file dataviz #58152
[ML] Adding filebeat config to file dataviz #58152
Conversation
5cc40bc
to
acaf553
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Pinging @elastic/ml-ui (:ml) |
...c/application/datavisualizer/file_based/components/filebeat_config_flyout/filebeat_config.ts
Outdated
Show resolved
Hide resolved
ddc423f
to
8ab3b4d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found a few more things that need changing to get it to work with the latest Filebeat. If you could update the PR branch then I can retest tomorrow to make sure I didn't forget any.
...c/application/datavisualizer/file_based/components/filebeat_config_flyout/filebeat_config.ts
Show resolved
Hide resolved
...c/application/datavisualizer/file_based/components/filebeat_config_flyout/filebeat_config.ts
Outdated
Show resolved
Hide resolved
...c/application/datavisualizer/file_based/components/filebeat_config_flyout/filebeat_config.ts
Outdated
Show resolved
Hide resolved
...c/application/datavisualizer/file_based/components/filebeat_config_flyout/filebeat_config.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
I tested this with the latest changes and the config works now if you replace the placeholders.
Procedure:
- Download the latest Filebeat from https://www.elastic.co/downloads/beats/filebeat
- Copy the config proposed by the file uploader to the clipboard using the button provided
- Paste it into
filebeat.yml
- Edit
filebeat.yml
to replace the placeholders with the actual file name/pattern, ES URL, ES username and password ./filebeat -c filebeat.yml -e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question, otherwise LGTM.
...c/application/datavisualizer/file_based/components/filebeat_config_flyout/filebeat_config.ts
Outdated
Show resolved
Hide resolved
💚 Build SucceededHistory
To update your PR or re-run it, just comment with: |
* [ML] Adding filebeat config to file dataviz * adding extra help text * removing commented out code * adding extra blank line to processors section * cleaning up types * moving hosts line out of function * typo in config text * updating config based on review * tiny refactor * translating paths text
…re/files-and-filetree * 'master' of github.com:elastic/kibana: (174 commits) [SIEM] Fix unnecessary re-renders on the Overview page (elastic#56587) Don't mutate error message (elastic#58452) Fix service map popover transaction duration (elastic#58422) [ML] Adding filebeat config to file dataviz (elastic#58152) [Uptime] Improve refresh handling when generating test data (elastic#58285) [Logs / Metrics UI] Remove path prefix from ViewSourceConfigur… (elastic#58238) [ML] Functional tests - adjust classification model memory (elastic#58445) [ML] Use event.timezone instead of beat.timezone in file upload (elastic#58447) [Logs UI] Unskip and stabilitize log column configuration tests (elastic#58392) [Telemetry] Separate the license retrieval from the stats in the usage collectors (elastic#57332) hide welcome screen for cloud (elastic#58371) Move src/legacy/ui/public/notify/app_redirect to kibana_legacy (elastic#58127) [ML] Functional tests - stabilize typing during df analytics creation (elastic#58227) fix short url in spaces (elastic#58313) [SIEM] Upgrades cypress to version 4.0.2 (elastic#58400) [Index management] Move to new platform "plugins" folder (elastic#58109) [kbn/optimizer] disable parallelization in terser plugin (elastic#58396) [Uptime] Delete useless try...catch blocks (elastic#58263) [Uptime] Use scripted metric for snapshot calculation (elastic#58247) (elastic#58389) [APM] Stabilize agent configuration API (elastic#57767) ... # Conflicts: # src/plugins/console/public/application/containers/editor/legacy/console_editor/editor.tsx
* [ML] Adding filebeat config to file dataviz * adding extra help text * removing commented out code * adding extra blank line to processors section * cleaning up types * moving hosts line out of function * typo in config text * updating config based on review * tiny refactor * translating paths text
…58471) * [ML] Adding filebeat config to file dataviz * adding extra help text * removing commented out code * adding extra blank line to processors section * cleaning up types * moving hosts line out of function * typo in config text * updating config based on review * tiny refactor * translating paths text
Adds the option to generate a Filebeat configuration for uploading additional data to the recently created index.
Fixes #56737
Also fixes an issue where lines which do not start with the expected line start regex are incorrectly added to the list of messages to import.
Affecting blank lines in csv or partial lines at the start of a rolled over log.
Checklist