-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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] Adds grok highlighting to the file data visualizer #175913
[ML] Adds grok highlighting to the file data visualizer #175913
Conversation
/ci |
/ci |
/ci |
/ci |
/ci |
..._visualizer/public/application/file_data_visualizer/components/file_contents/field_badge.tsx
Show resolved
Hide resolved
/ci |
..._visualizer/public/application/file_data_visualizer/components/results_view/results_view.tsx
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.
I left an alternative solution for the label strings. It would be interesting to know your opinions as naming is tricky. Thanks in advance! @jgowdyelastic, @peteharverson
...isualizer/public/application/file_data_visualizer/components/file_contents/file_contents.tsx
Outdated
Show resolved
Hide resolved
...isualizer/public/application/file_data_visualizer/components/file_contents/file_contents.tsx
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.
Tested with a variety of different logs, and LGTM.
…sualizer/components/file_contents/file_contents.tsx Co-authored-by: István Zoltán Szabó <[email protected]>
x-pack/test/functional/apps/ml/data_visualizer/file_data_visualizer.ts
Outdated
Show resolved
Hide resolved
LGTM, left a note about test data that was commented out. |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
History
To update your PR or re-run it, just comment with: |
Adds grokpattern highlighting to the file data visualizer for semi-structured text files. The first 5 lines of the file are displayed with inline highlighting. Hovering the mouse over displays a tooltip with the field name and type. ![image](https://github.com/elastic/kibana/assets/22172091/7b50aeca-0255-4413-93ef-e44976e798f4) If for whatever reason the highlighting fails, we switch back to the raw text. @szabosteve and @peteharverson I'm not 100% happy with the labels on the tabs, `Highlighted text` and `Raw text`. So suggestions are welcome. Relates to elastic/elasticsearch#104394 --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: István Zoltán Szabó <[email protected]>
Adds grokpattern highlighting to the file data visualizer for semi-structured text files. The first 5 lines of the file are displayed with inline highlighting. Hovering the mouse over displays a tooltip with the field name and type. ![image](https://github.com/elastic/kibana/assets/22172091/7b50aeca-0255-4413-93ef-e44976e798f4) If for whatever reason the highlighting fails, we switch back to the raw text. @szabosteve and @peteharverson I'm not 100% happy with the labels on the tabs, `Highlighted text` and `Raw text`. So suggestions are welcome. Relates to elastic/elasticsearch#104394 --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: István Zoltán Szabó <[email protected]>
Adds grokpattern highlighting to the file data visualizer for semi-structured text files. The first 5 lines of the file are displayed with inline highlighting. Hovering the mouse over displays a tooltip with the field name and type. ![image](https://github.com/elastic/kibana/assets/22172091/7b50aeca-0255-4413-93ef-e44976e798f4) If for whatever reason the highlighting fails, we switch back to the raw text. @szabosteve and @peteharverson I'm not 100% happy with the labels on the tabs, `Highlighted text` and `Raw text`. So suggestions are welcome. Relates to elastic/elasticsearch#104394 --------- Co-authored-by: kibanamachine <[email protected]> Co-authored-by: István Zoltán Szabó <[email protected]>
Adds grokpattern highlighting to the file data visualizer for semi-structured text files.
The first 5 lines of the file are displayed with inline highlighting. Hovering the mouse over displays a tooltip with the field name and type.
If for whatever reason the highlighting fails, we switch back to the raw text.
@szabosteve and @peteharverson I'm not 100% happy with the labels on the tabs,
Highlighted text
andRaw text
. So suggestions are welcome.Relates to elastic/elasticsearch#104394