Skip to content
Patternfly Logo

Log viewer

Info alert:Beta feature

This Beta component is currently under review, so please join in and give us your feedback on the PatternFly forum.

Examples

Basic

With complex toolbar

Props

LogViewer

NameTypeRequiredDefaultDescription
customControlsReact.ReactNodeNoConsumers may define their own controls to feed to the toolbar for custom functionality.
datastringNo''String data being sent by the consumer
hasLineNumbersbooleanNotrueFlag to enable or disable line numbers on the log viewer.
hasToolbarbooleanNoConsumer may turn off the visibility on the toolbar
heightnumberNo600Height in pixels of the log viewer
overScanCountnumberNo10Rows being rendered outside of view. The more rows are rendered, the higher impact on performance
placeholderstringNoPlaceholder text for the searchbar.
toolbarReact.ReactNodeNoToolbar rendered in the log viewer header
widthnumberNo800Width in pixels of the log viewer

LogViewerSearch

NameTypeRequiredDefaultDescription
placeholderNo type infoNo'Search'

View source on GitHub