---
id: 'Log viewer'
section: extensions
cssPrefix: pf-v6-c-log-viewer
---import './LogViewer.css';

## Examples

### Basic

```html
<div
  class="pf-v6-c-log-viewer"
  style="--pf-v6-c-log-viewer__index--Width: 75px"
  tabindex="0"
  role="region"
  aria-label="Basic log viewer"
>
  <div class="pf-v6-c-log-viewer__header">
    <div
      class="pf-v6-c-toolbar"
      id="log-viewer-basic-example-toolbar"
      role="toolbar"
    >
      <div class="pf-v6-c-toolbar__content">
        <div class="pf-v6-c-toolbar__content-section pf-m-nowrap">
          <div class="pf-v6-c-toolbar__item pf-m-search-filter">
            <button
              class="pf-v6-c-menu-toggle"
              type="button"
              aria-expanded="false"
              id="log-viewer-basic-examplelog-menu-toggle"
            >
              <span class="pf-v6-c-menu-toggle__text">System log</span>
              <span class="pf-v6-c-menu-toggle__controls">
                <span class="pf-v6-c-menu-toggle__toggle-icon">
                  <i class="fas fa-caret-down" aria-hidden="true"></i>
                </span>
              </span>
            </button>
          </div>
          <div class="pf-v6-c-toolbar__group pf-m-toggle-group pf-m-show-on-lg">
            <div class="pf-v6-c-toolbar__toggle pf-m-show">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Show filters"
                aria-controls="log-viewer-basic-example-toolbar-expandable-content"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-search" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div
              class="pf-v6-c-toolbar__item pf-m-search-filter"
              style="--pf-v6-c-toolbar__item--Width: 268px"
            >
              <div class="pf-v6-c-text-input-group">
                <div class="pf-v6-c-text-input-group__main pf-m-icon">
                  <span class="pf-v6-c-text-input-group__text">
                    <span class="pf-v6-c-text-input-group__icon">
                      <i class="fas fa-fw fa-search"></i>
                    </span>
                    <input
                      class="pf-v6-c-text-input-group__text-input"
                      type="text"
                      placeholder="Find"
                      value
                      aria-label="Search input"
                    />
                  </span>
                </div>
              </div>
            </div>
          </div>
          <div class="pf-v6-c-toolbar__item pf-m-gap-none">
            <button class="pf-v6-c-button pf-m-link" type="button">
              <span class="pf-v6-c-button__icon pf-m-start">
                <i class="fas fa-pause" aria-hidden="true"></i>
              </span>
              Pause
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__item pf-m-align-end pf-m-hidden-on-lg pf-m-gap-none"
          >
            <button
              class="pf-v6-c-menu-toggle pf-m-plain"
              type="button"
              aria-expanded="false"
              aria-label="Menu toggle"
              id="log-viewer-basic-examplehint"
            >
              <span class="pf-v6-c-menu-toggle__icon">
                <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
              </span>
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__group pf-m-icon-button-group pf-m-align-end pf-m-hidden pf-m-visible-on-lg"
          >
            <div class="pf-v6-c-toolbar__item">
              <button class="pf-v6-c-button pf-m-link" type="button">Clear log</button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Menu toggle"
                id="log-viewer-basic-examplemenu-toggle"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-cog" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Open external link"
              >
                <i class="fas fa-external-link-alt" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Download"
              >
                <i class="fas fa-download" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Full screen"
              >
                <i class="fas fa-expand" aria-hidden="true"></i>
              </button>
            </div>
          </div>
        </div>
        <div
          class="pf-v6-c-toolbar__expandable-content pf-m-hidden"
          id="log-viewer-basic-example-toolbar-expandable-content"
          hidden
        >
          <div
            class="pf-v6-c-toolbar__item pf-m-search-filter"
            style="--pf-v6-c-toolbar__item--Width: 24ch"
          >
            <div class="pf-v6-c-text-input-group">
              <div class="pf-v6-c-text-input-group__main pf-m-icon">
                <span class="pf-v6-c-text-input-group__text">
                  <span class="pf-v6-c-text-input-group__icon">
                    <i class="fas fa-fw fa-search"></i>
                  </span>
                  <input
                    class="pf-v6-c-text-input-group__text-input"
                    type="text"
                    placeholder="Find"
                    value
                    aria-label="Search input"
                  />
                </span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="pf-v6-c-log-viewer__main" role="log">
    <div class="pf-v6-c-log-viewer__scroll-container" tabindex="0">
      <!--prettyhtml-ignore-start-->
      <div class="pf-v6-c-log-viewer__list" style="--pf-v6-c-log-viewer__list--Height: 301080px;">
              <div class="pf-v6-c-log-viewer__list-item" style="top: 0px;">
                <span class="pf-v6-c-log-viewer__index">1</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying system trust bundle</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 21px;">
                <span class="pf-v6-c-log-viewer__index">2</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Waiting for port :6443 to be released.</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 42px;">
                <span class="pf-v6-c-log-viewer__index">3</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.084507 1 loader.go:379] Config loaded from file: /etc/kubernetes/static-pod-resources/configmaps/kube-apiserver-cert-syncer-kubeconfig/kubeconfig</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 84px;">
                <span class="pf-v6-c-log-viewer__index">4</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying termination logs to "/var/log/kube-apiserver/termination.log"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 105px;">
                <span class="pf-v6-c-log-viewer__index">5</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.087543 1 main.go:124] Touching termination lock file "/var/log/kube-apiserver/.terminating"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 147px;">
                <span class="pf-v6-c-log-viewer__index">6</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.088797 1 main.go:182] Launching sub-process "/usr/bin/hyperkube kube-apiserver --openshift-config=/etc/kubernetes/static-pod-resources/configmaps/config/config.yaml --advertise-address=10.0.171.12 -v=2"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 210px;">
                <span class="pf-v6-c-log-viewer__index">7</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Flag --openshift-config has been deprecated, to be removed</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 231px;">
                <span class="pf-v6-c-log-viewer__index">8</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238681 17 plugins.go:84] Registered admission plugin "authorization.openshift.io/RestrictSubjectBindings"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 273px;">
                <span class="pf-v6-c-log-viewer__index">9</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238763 17 plugins.go:84] Registered admission plugin "image.openshift.io/ImagePolicy"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 315px;">
                <span class="pf-v6-c-log-viewer__index">10</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238775 17 plugins.go:84] Registered admission plugin "route.openshift.io/IngressAdmission"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 357px;">
                <span class="pf-v6-c-log-viewer__index">11</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238783 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/OriginPodNodeEnvironment"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 399px;">
                <span class="pf-v6-c-log-viewer__index">12</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238792 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/ClusterResourceOverride"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 441px;">
                <span class="pf-v6-c-log-viewer__index">13</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238801 17 plugins.go:84] Registered admission plugin "quota.openshift.io/ClusterResourceQuota"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 483px;">
                <span class="pf-v6-c-log-viewer__index">14</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238810 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/RunOnceDuration"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 525px;">
                <span class="pf-v6-c-log-viewer__index">15</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238819 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/PodNodeConstraints"</span>
              </div>
            </div>
      <!--prettyhtml-ignore-end-->
    </div>
  </div>
</div>

```

### With line numbers

```html
<div
  class="pf-v6-c-log-viewer pf-m-line-numbers"
  style
  tabindex="0"
  role="region"
  aria-label="Log viewer with line numbers"
>
  <div class="pf-v6-c-log-viewer__header">
    <div
      class="pf-v6-c-toolbar"
      id="log-viewer-line-number-example-toolbar"
      role="toolbar"
    >
      <div class="pf-v6-c-toolbar__content">
        <div class="pf-v6-c-toolbar__content-section pf-m-nowrap">
          <div class="pf-v6-c-toolbar__item pf-m-search-filter">
            <button
              class="pf-v6-c-menu-toggle"
              type="button"
              aria-expanded="false"
              id="log-viewer-line-number-examplelog-menu-toggle"
            >
              <span class="pf-v6-c-menu-toggle__text">System log</span>
              <span class="pf-v6-c-menu-toggle__controls">
                <span class="pf-v6-c-menu-toggle__toggle-icon">
                  <i class="fas fa-caret-down" aria-hidden="true"></i>
                </span>
              </span>
            </button>
          </div>
          <div class="pf-v6-c-toolbar__group pf-m-toggle-group pf-m-show-on-lg">
            <div class="pf-v6-c-toolbar__toggle pf-m-show">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Show filters"
                aria-controls="log-viewer-line-number-example-toolbar-expandable-content"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-search" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div
              class="pf-v6-c-toolbar__item pf-m-search-filter"
              style="--pf-v6-c-toolbar__item--Width: 268px"
            >
              <div class="pf-v6-c-text-input-group">
                <div class="pf-v6-c-text-input-group__main pf-m-icon">
                  <span class="pf-v6-c-text-input-group__text">
                    <span class="pf-v6-c-text-input-group__icon">
                      <i class="fas fa-fw fa-search"></i>
                    </span>
                    <input
                      class="pf-v6-c-text-input-group__text-input"
                      type="text"
                      placeholder="Find"
                      value
                      aria-label="Search input"
                    />
                  </span>
                </div>
              </div>
            </div>
          </div>
          <div class="pf-v6-c-toolbar__item pf-m-gap-none">
            <button class="pf-v6-c-button pf-m-link" type="button">
              <span class="pf-v6-c-button__icon pf-m-start">
                <i class="fas fa-pause" aria-hidden="true"></i>
              </span>
              Pause
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__item pf-m-align-end pf-m-hidden-on-lg pf-m-gap-none"
          >
            <button
              class="pf-v6-c-menu-toggle pf-m-plain"
              type="button"
              aria-expanded="false"
              aria-label="Menu toggle"
              id="log-viewer-line-number-examplehint"
            >
              <span class="pf-v6-c-menu-toggle__icon">
                <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
              </span>
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__group pf-m-icon-button-group pf-m-align-end pf-m-hidden pf-m-visible-on-lg"
          >
            <div class="pf-v6-c-toolbar__item">
              <button class="pf-v6-c-button pf-m-link" type="button">Clear log</button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Menu toggle"
                id="log-viewer-line-number-examplemenu-toggle"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-cog" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Open external link"
              >
                <i class="fas fa-external-link-alt" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Download"
              >
                <i class="fas fa-download" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Full screen"
              >
                <i class="fas fa-expand" aria-hidden="true"></i>
              </button>
            </div>
          </div>
        </div>
        <div
          class="pf-v6-c-toolbar__expandable-content pf-m-hidden"
          id="log-viewer-line-number-example-toolbar-expandable-content"
          hidden
        >
          <div
            class="pf-v6-c-toolbar__item pf-m-search-filter"
            style="--pf-v6-c-toolbar__item--Width: 24ch"
          >
            <div class="pf-v6-c-text-input-group">
              <div class="pf-v6-c-text-input-group__main pf-m-icon">
                <span class="pf-v6-c-text-input-group__text">
                  <span class="pf-v6-c-text-input-group__icon">
                    <i class="fas fa-fw fa-search"></i>
                  </span>
                  <input
                    class="pf-v6-c-text-input-group__text-input"
                    type="text"
                    placeholder="Find"
                    value
                    aria-label="Search input"
                  />
                </span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="pf-v6-c-log-viewer__main" role="log">
    <div class="pf-v6-c-log-viewer__scroll-container" tabindex="0">
      <!--prettyhtml-ignore-start-->
      <div class="pf-v6-c-log-viewer__list" style="--pf-v6-c-log-viewer__list--Height: 301080px;">
              <div class="pf-v6-c-log-viewer__list-item" style="top: 0px;">
                <span class="pf-v6-c-log-viewer__index">1</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying system trust bundle</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 21px;">
                <span class="pf-v6-c-log-viewer__index">2</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Waiting for port :6443 to be released.</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 42px;">
                <span class="pf-v6-c-log-viewer__index">3</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.084507 1 loader.go:379] Config loaded from file: /etc/kubernetes/static-pod-resources/configmaps/kube-apiserver-cert-syncer-kubeconfig/kubeconfig</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 84px;">
                <span class="pf-v6-c-log-viewer__index">4</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying termination logs to "/var/log/kube-apiserver/termination.log"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 105px;">
                <span class="pf-v6-c-log-viewer__index">5</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.087543 1 main.go:124] Touching termination lock file "/var/log/kube-apiserver/.terminating"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 147px;">
                <span class="pf-v6-c-log-viewer__index">6</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.088797 1 main.go:182] Launching sub-process "/usr/bin/hyperkube kube-apiserver --openshift-config=/etc/kubernetes/static-pod-resources/configmaps/config/config.yaml --advertise-address=10.0.171.12 -v=2"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 210px;">
                <span class="pf-v6-c-log-viewer__index">7</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Flag --openshift-config has been deprecated, to be removed</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 231px;">
                <span class="pf-v6-c-log-viewer__index">8</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238681 17 plugins.go:84] Registered admission plugin "authorization.openshift.io/RestrictSubjectBindings"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 273px;">
                <span class="pf-v6-c-log-viewer__index">9</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238763 17 plugins.go:84] Registered admission plugin "image.openshift.io/ImagePolicy"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 315px;">
                <span class="pf-v6-c-log-viewer__index">10</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238775 17 plugins.go:84] Registered admission plugin "route.openshift.io/IngressAdmission"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 357px;">
                <span class="pf-v6-c-log-viewer__index">11</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238783 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/OriginPodNodeEnvironment"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 399px;">
                <span class="pf-v6-c-log-viewer__index">12</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238792 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/ClusterResourceOverride"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 441px;">
                <span class="pf-v6-c-log-viewer__index">13</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238801 17 plugins.go:84] Registered admission plugin "quota.openshift.io/ClusterResourceQuota"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 483px;">
                <span class="pf-v6-c-log-viewer__index">14</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238810 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/RunOnceDuration"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 525px;">
                <span class="pf-v6-c-log-viewer__index">15</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238819 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/PodNodeConstraints"</span>
              </div>
            </div>
      <!--prettyhtml-ignore-end-->
    </div>
  </div>
</div>

```

### With line number chars specified

```html
<div
  class="pf-v6-c-log-viewer pf-m-line-numbers pf-m-line-number-chars"
  style="--pf-v6-c-log-viewer--line-number-chars: 6"
  tabindex="0"
  role="region"
  aria-label="Log viewer with line numbers"
>
  <div class="pf-v6-c-log-viewer__header">
    <div
      class="pf-v6-c-toolbar"
      id="log-viewer-line-number-chars-example-toolbar"
      role="toolbar"
    >
      <div class="pf-v6-c-toolbar__content">
        <div class="pf-v6-c-toolbar__content-section pf-m-nowrap">
          <div class="pf-v6-c-toolbar__item pf-m-search-filter">
            <button
              class="pf-v6-c-menu-toggle"
              type="button"
              aria-expanded="false"
              id="log-viewer-line-number-chars-examplelog-menu-toggle"
            >
              <span class="pf-v6-c-menu-toggle__text">System log</span>
              <span class="pf-v6-c-menu-toggle__controls">
                <span class="pf-v6-c-menu-toggle__toggle-icon">
                  <i class="fas fa-caret-down" aria-hidden="true"></i>
                </span>
              </span>
            </button>
          </div>
          <div class="pf-v6-c-toolbar__group pf-m-toggle-group pf-m-show-on-lg">
            <div class="pf-v6-c-toolbar__toggle pf-m-show">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Show filters"
                aria-controls="log-viewer-line-number-chars-example-toolbar-expandable-content"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-search" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div
              class="pf-v6-c-toolbar__item pf-m-search-filter"
              style="--pf-v6-c-toolbar__item--Width: 268px"
            >
              <div class="pf-v6-c-text-input-group">
                <div class="pf-v6-c-text-input-group__main pf-m-icon">
                  <span class="pf-v6-c-text-input-group__text">
                    <span class="pf-v6-c-text-input-group__icon">
                      <i class="fas fa-fw fa-search"></i>
                    </span>
                    <input
                      class="pf-v6-c-text-input-group__text-input"
                      type="text"
                      placeholder="Find"
                      value
                      aria-label="Search input"
                    />
                  </span>
                </div>
              </div>
            </div>
          </div>
          <div class="pf-v6-c-toolbar__item pf-m-gap-none">
            <button class="pf-v6-c-button pf-m-link" type="button">
              <span class="pf-v6-c-button__icon pf-m-start">
                <i class="fas fa-pause" aria-hidden="true"></i>
              </span>
              Pause
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__item pf-m-align-end pf-m-hidden-on-lg pf-m-gap-none"
          >
            <button
              class="pf-v6-c-menu-toggle pf-m-plain"
              type="button"
              aria-expanded="false"
              aria-label="Menu toggle"
              id="log-viewer-line-number-chars-examplehint"
            >
              <span class="pf-v6-c-menu-toggle__icon">
                <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
              </span>
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__group pf-m-icon-button-group pf-m-align-end pf-m-hidden pf-m-visible-on-lg"
          >
            <div class="pf-v6-c-toolbar__item">
              <button class="pf-v6-c-button pf-m-link" type="button">Clear log</button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Menu toggle"
                id="log-viewer-line-number-chars-examplemenu-toggle"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-cog" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Open external link"
              >
                <i class="fas fa-external-link-alt" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Download"
              >
                <i class="fas fa-download" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Full screen"
              >
                <i class="fas fa-expand" aria-hidden="true"></i>
              </button>
            </div>
          </div>
        </div>
        <div
          class="pf-v6-c-toolbar__expandable-content pf-m-hidden"
          id="log-viewer-line-number-chars-example-toolbar-expandable-content"
          hidden
        >
          <div
            class="pf-v6-c-toolbar__item pf-m-search-filter"
            style="--pf-v6-c-toolbar__item--Width: 24ch"
          >
            <div class="pf-v6-c-text-input-group">
              <div class="pf-v6-c-text-input-group__main pf-m-icon">
                <span class="pf-v6-c-text-input-group__text">
                  <span class="pf-v6-c-text-input-group__icon">
                    <i class="fas fa-fw fa-search"></i>
                  </span>
                  <input
                    class="pf-v6-c-text-input-group__text-input"
                    type="text"
                    placeholder="Find"
                    value
                    aria-label="Search input"
                  />
                </span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="pf-v6-c-log-viewer__main" role="log">
    <div class="pf-v6-c-log-viewer__scroll-container" tabindex="0">
      <!--prettyhtml-ignore-start-->
      <div class="pf-v6-c-log-viewer__list" style="--pf-v6-c-log-viewer__list--Height: 301080px;">
              <div class="pf-v6-c-log-viewer__list-item" style="top: 0px;">
                <span class="pf-v6-c-log-viewer__index">1</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying system trust bundle</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 21px;">
                <span class="pf-v6-c-log-viewer__index">2</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Waiting for port :6443 to be released.</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 42px;">
                <span class="pf-v6-c-log-viewer__index">3</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.084507 1 loader.go:379] Config loaded from file: /etc/kubernetes/static-pod-resources/configmaps/kube-apiserver-cert-syncer-kubeconfig/kubeconfig</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 84px;">
                <span class="pf-v6-c-log-viewer__index">4</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying termination logs to "/var/log/kube-apiserver/termination.log"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 105px;">
                <span class="pf-v6-c-log-viewer__index">5</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.087543 1 main.go:124] Touching termination lock file "/var/log/kube-apiserver/.terminating"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 147px;">
                <span class="pf-v6-c-log-viewer__index">6</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.088797 1 main.go:182] Launching sub-process "/usr/bin/hyperkube kube-apiserver --openshift-config=/etc/kubernetes/static-pod-resources/configmaps/config/config.yaml --advertise-address=10.0.171.12 -v=2"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 210px;">
                <span class="pf-v6-c-log-viewer__index">7</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Flag --openshift-config has been deprecated, to be removed</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 231px;">
                <span class="pf-v6-c-log-viewer__index">8</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238681 17 plugins.go:84] Registered admission plugin "authorization.openshift.io/RestrictSubjectBindings"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 273px;">
                <span class="pf-v6-c-log-viewer__index">9</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238763 17 plugins.go:84] Registered admission plugin "image.openshift.io/ImagePolicy"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 315px;">
                <span class="pf-v6-c-log-viewer__index">10</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238775 17 plugins.go:84] Registered admission plugin "route.openshift.io/IngressAdmission"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 357px;">
                <span class="pf-v6-c-log-viewer__index">11</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238783 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/OriginPodNodeEnvironment"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 399px;">
                <span class="pf-v6-c-log-viewer__index">12</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238792 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/ClusterResourceOverride"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 441px;">
                <span class="pf-v6-c-log-viewer__index">13</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238801 17 plugins.go:84] Registered admission plugin "quota.openshift.io/ClusterResourceQuota"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 483px;">
                <span class="pf-v6-c-log-viewer__index">14</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238810 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/RunOnceDuration"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 525px;">
                <span class="pf-v6-c-log-viewer__index">15</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238819 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/PodNodeConstraints"</span>
              </div>
            </div>
      <!--prettyhtml-ignore-end-->
    </div>
  </div>
</div>

```

### With text wrapping

```html
<div
  class="pf-v6-c-log-viewer pf-m-line-numbers pf-m-wrap-text"
  style="--pf-v6-c-log-viewer__index--Width: 75px"
  tabindex="0"
  role="region"
  aria-label="Log viewer with text wrapping"
>
  <div class="pf-v6-c-log-viewer__header">
    <div
      class="pf-v6-c-toolbar"
      id="log-viewer-text-wrap-example-toolbar"
      role="toolbar"
    >
      <div class="pf-v6-c-toolbar__content">
        <div class="pf-v6-c-toolbar__content-section pf-m-nowrap">
          <div class="pf-v6-c-toolbar__item pf-m-search-filter">
            <button
              class="pf-v6-c-menu-toggle"
              type="button"
              aria-expanded="false"
              id="log-viewer-text-wrap-examplelog-menu-toggle"
            >
              <span class="pf-v6-c-menu-toggle__text">System log</span>
              <span class="pf-v6-c-menu-toggle__controls">
                <span class="pf-v6-c-menu-toggle__toggle-icon">
                  <i class="fas fa-caret-down" aria-hidden="true"></i>
                </span>
              </span>
            </button>
          </div>
          <div class="pf-v6-c-toolbar__group pf-m-toggle-group pf-m-show-on-lg">
            <div class="pf-v6-c-toolbar__toggle pf-m-show">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Show filters"
                aria-controls="log-viewer-text-wrap-example-toolbar-expandable-content"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-search" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div
              class="pf-v6-c-toolbar__item pf-m-search-filter"
              style="--pf-v6-c-toolbar__item--Width: 268px"
            >
              <div class="pf-v6-c-text-input-group">
                <div class="pf-v6-c-text-input-group__main pf-m-icon">
                  <span class="pf-v6-c-text-input-group__text">
                    <span class="pf-v6-c-text-input-group__icon">
                      <i class="fas fa-fw fa-search"></i>
                    </span>
                    <input
                      class="pf-v6-c-text-input-group__text-input"
                      type="text"
                      placeholder="Find"
                      value
                      aria-label="Search input"
                    />
                  </span>
                </div>
              </div>
            </div>
          </div>
          <div class="pf-v6-c-toolbar__item pf-m-gap-none">
            <button class="pf-v6-c-button pf-m-link" type="button">
              <span class="pf-v6-c-button__icon pf-m-start">
                <i class="fas fa-pause" aria-hidden="true"></i>
              </span>
              Pause
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__item pf-m-align-end pf-m-hidden-on-lg pf-m-gap-none"
          >
            <button
              class="pf-v6-c-menu-toggle pf-m-plain"
              type="button"
              aria-expanded="false"
              aria-label="Menu toggle"
              id="log-viewer-text-wrap-examplehint"
            >
              <span class="pf-v6-c-menu-toggle__icon">
                <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
              </span>
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__group pf-m-icon-button-group pf-m-align-end pf-m-hidden pf-m-visible-on-lg"
          >
            <div class="pf-v6-c-toolbar__item">
              <button class="pf-v6-c-button pf-m-link" type="button">Clear log</button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Menu toggle"
                id="log-viewer-text-wrap-examplemenu-toggle"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-cog" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Open external link"
              >
                <i class="fas fa-external-link-alt" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Download"
              >
                <i class="fas fa-download" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Full screen"
              >
                <i class="fas fa-expand" aria-hidden="true"></i>
              </button>
            </div>
          </div>
        </div>
        <div
          class="pf-v6-c-toolbar__expandable-content pf-m-hidden"
          id="log-viewer-text-wrap-example-toolbar-expandable-content"
          hidden
        >
          <div
            class="pf-v6-c-toolbar__item pf-m-search-filter"
            style="--pf-v6-c-toolbar__item--Width: 24ch"
          >
            <div class="pf-v6-c-text-input-group">
              <div class="pf-v6-c-text-input-group__main pf-m-icon">
                <span class="pf-v6-c-text-input-group__text">
                  <span class="pf-v6-c-text-input-group__icon">
                    <i class="fas fa-fw fa-search"></i>
                  </span>
                  <input
                    class="pf-v6-c-text-input-group__text-input"
                    type="text"
                    placeholder="Find"
                    value
                    aria-label="Search input"
                  />
                </span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="pf-v6-c-log-viewer__main" role="log">
    <div class="pf-v6-c-log-viewer__scroll-container" tabindex="0">
      <!--prettyhtml-ignore-start-->
      <div class="pf-v6-c-log-viewer__list" style="--pf-v6-c-log-viewer__list--Height: 301080px;">
              <div class="pf-v6-c-log-viewer__list-item" style="top: 0px;">
                <span class="pf-v6-c-log-viewer__index">1</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying system trust bundle</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 21px;">
                <span class="pf-v6-c-log-viewer__index">2</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Waiting for port :6443 to be released.</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 42px;">
                <span class="pf-v6-c-log-viewer__index">3</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.084507 1 loader.go:379] Config loaded from file: /etc/kubernetes/static-pod-resources/configmaps/kube-apiserver-cert-syncer-kubeconfig/kubeconfig</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 84px;">
                <span class="pf-v6-c-log-viewer__index">4</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying termination logs to "/var/log/kube-apiserver/termination.log"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 105px;">
                <span class="pf-v6-c-log-viewer__index">5</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.087543 1 main.go:124] Touching termination lock file "/var/log/kube-apiserver/.terminating"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 147px;">
                <span class="pf-v6-c-log-viewer__index">6</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.088797 1 main.go:182] Launching sub-process "/usr/bin/hyperkube kube-apiserver --openshift-config=/etc/kubernetes/static-pod-resources/configmaps/config/config.yaml --advertise-address=10.0.171.12 -v=2"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 210px;">
                <span class="pf-v6-c-log-viewer__index">7</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Flag --openshift-config has been deprecated, to be removed</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 231px;">
                <span class="pf-v6-c-log-viewer__index">8</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238681 17 plugins.go:84] Registered admission plugin "authorization.openshift.io/RestrictSubjectBindings"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 273px;">
                <span class="pf-v6-c-log-viewer__index">9</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238763 17 plugins.go:84] Registered admission plugin "image.openshift.io/ImagePolicy"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 315px;">
                <span class="pf-v6-c-log-viewer__index">10</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238775 17 plugins.go:84] Registered admission plugin "route.openshift.io/IngressAdmission"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 357px;">
                <span class="pf-v6-c-log-viewer__index">11</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238783 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/OriginPodNodeEnvironment"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 399px;">
                <span class="pf-v6-c-log-viewer__index">12</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238792 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/ClusterResourceOverride"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 441px;">
                <span class="pf-v6-c-log-viewer__index">13</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238801 17 plugins.go:84] Registered admission plugin "quota.openshift.io/ClusterResourceQuota"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 483px;">
                <span class="pf-v6-c-log-viewer__index">14</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238810 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/RunOnceDuration"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 525px;">
                <span class="pf-v6-c-log-viewer__index">15</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238819 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/PodNodeConstraints"</span>
              </div>
            </div>
      <!--prettyhtml-ignore-end-->
    </div>
  </div>
</div>

```

### Without text wrapping

```html
<div
  class="pf-v6-c-log-viewer pf-m-line-numbers pf-m-nowrap"
  style="--pf-v6-c-log-viewer__index--Width: 75px"
  tabindex="0"
  role="region"
  aria-label="Log viewer without text wrapping"
>
  <div class="pf-v6-c-log-viewer__header">
    <div
      class="pf-v6-c-toolbar"
      id="log-viewer-text-nowrap-example-toolbar"
      role="toolbar"
    >
      <div class="pf-v6-c-toolbar__content">
        <div class="pf-v6-c-toolbar__content-section pf-m-nowrap">
          <div class="pf-v6-c-toolbar__item pf-m-search-filter">
            <button
              class="pf-v6-c-menu-toggle"
              type="button"
              aria-expanded="false"
              id="log-viewer-text-nowrap-examplelog-menu-toggle"
            >
              <span class="pf-v6-c-menu-toggle__text">System log</span>
              <span class="pf-v6-c-menu-toggle__controls">
                <span class="pf-v6-c-menu-toggle__toggle-icon">
                  <i class="fas fa-caret-down" aria-hidden="true"></i>
                </span>
              </span>
            </button>
          </div>
          <div class="pf-v6-c-toolbar__group pf-m-toggle-group pf-m-show-on-lg">
            <div class="pf-v6-c-toolbar__toggle pf-m-show">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Show filters"
                aria-controls="log-viewer-text-nowrap-example-toolbar-expandable-content"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-search" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div
              class="pf-v6-c-toolbar__item pf-m-search-filter"
              style="--pf-v6-c-toolbar__item--Width: 268px"
            >
              <div class="pf-v6-c-text-input-group">
                <div class="pf-v6-c-text-input-group__main pf-m-icon">
                  <span class="pf-v6-c-text-input-group__text">
                    <span class="pf-v6-c-text-input-group__icon">
                      <i class="fas fa-fw fa-search"></i>
                    </span>
                    <input
                      class="pf-v6-c-text-input-group__text-input"
                      type="text"
                      placeholder="Find"
                      value
                      aria-label="Search input"
                    />
                  </span>
                </div>
              </div>
            </div>
          </div>
          <div class="pf-v6-c-toolbar__item pf-m-gap-none">
            <button class="pf-v6-c-button pf-m-link" type="button">
              <span class="pf-v6-c-button__icon pf-m-start">
                <i class="fas fa-pause" aria-hidden="true"></i>
              </span>
              Pause
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__item pf-m-align-end pf-m-hidden-on-lg pf-m-gap-none"
          >
            <button
              class="pf-v6-c-menu-toggle pf-m-plain"
              type="button"
              aria-expanded="false"
              aria-label="Menu toggle"
              id="log-viewer-text-nowrap-examplehint"
            >
              <span class="pf-v6-c-menu-toggle__icon">
                <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
              </span>
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__group pf-m-icon-button-group pf-m-align-end pf-m-hidden pf-m-visible-on-lg"
          >
            <div class="pf-v6-c-toolbar__item">
              <button class="pf-v6-c-button pf-m-link" type="button">Clear log</button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Menu toggle"
                id="log-viewer-text-nowrap-examplemenu-toggle"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-cog" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Open external link"
              >
                <i class="fas fa-external-link-alt" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Download"
              >
                <i class="fas fa-download" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Full screen"
              >
                <i class="fas fa-expand" aria-hidden="true"></i>
              </button>
            </div>
          </div>
        </div>
        <div
          class="pf-v6-c-toolbar__expandable-content pf-m-hidden"
          id="log-viewer-text-nowrap-example-toolbar-expandable-content"
          hidden
        >
          <div
            class="pf-v6-c-toolbar__item pf-m-search-filter"
            style="--pf-v6-c-toolbar__item--Width: 24ch"
          >
            <div class="pf-v6-c-text-input-group">
              <div class="pf-v6-c-text-input-group__main pf-m-icon">
                <span class="pf-v6-c-text-input-group__text">
                  <span class="pf-v6-c-text-input-group__icon">
                    <i class="fas fa-fw fa-search"></i>
                  </span>
                  <input
                    class="pf-v6-c-text-input-group__text-input"
                    type="text"
                    placeholder="Find"
                    value
                    aria-label="Search input"
                  />
                </span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="pf-v6-c-log-viewer__main" role="log">
    <div class="pf-v6-c-log-viewer__scroll-container" tabindex="0">
      <!--prettyhtml-ignore-start-->
      <div class="pf-v6-c-log-viewer__list" style="--pf-v6-c-log-viewer__list--Height: 301080px;">
              <div class="pf-v6-c-log-viewer__list-item" style="top: 0px;">
                <span class="pf-v6-c-log-viewer__index">1</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying system trust bundle</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 21px;">
                <span class="pf-v6-c-log-viewer__index">2</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Waiting for port :6443 to be released.</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 42px;">
                <span class="pf-v6-c-log-viewer__index">3</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.084507 1 loader.go:379] Config loaded from file: /etc/kubernetes/static-pod-resources/configmaps/kube-apiserver-cert-syncer-kubeconfig/kubeconfig</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 63px;">
                <span class="pf-v6-c-log-viewer__index">4</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying termination logs to "/var/log/kube-apiserver/termination.log"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 84px;">
                <span class="pf-v6-c-log-viewer__index">5</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.087543 1 main.go:124] Touching termination lock file "/var/log/kube-apiserver/.terminating"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 105px;">
                <span class="pf-v6-c-log-viewer__index">6</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.088797 1 main.go:182] Launching sub-process "/usr/bin/hyperkube kube-apiserver --openshift-config=/etc/kubernetes/static-pod-resources/configmaps/config/config.yaml --advertise-address=10.0.171.12 -v=2"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 126px;">
                <span class="pf-v6-c-log-viewer__index">7</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Flag --openshift-config has been deprecated, to be removed</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 147px;">
                <span class="pf-v6-c-log-viewer__index">8</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238681 17 plugins.go:84] Registered admission plugin "authorization.openshift.io/RestrictSubjectBindings"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 168px;">
                <span class="pf-v6-c-log-viewer__index">9</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238763 17 plugins.go:84] Registered admission plugin "image.openshift.io/ImagePolicy"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 189px;">
                <span class="pf-v6-c-log-viewer__index">10</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238775 17 plugins.go:84] Registered admission plugin "route.openshift.io/IngressAdmission"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 210px;">
                <span class="pf-v6-c-log-viewer__index">11</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238783 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/OriginPodNodeEnvironment"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 231px;">
                <span class="pf-v6-c-log-viewer__index">12</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238792 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/ClusterResourceOverride"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 252px;">
                <span class="pf-v6-c-log-viewer__index">13</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238801 17 plugins.go:84] Registered admission plugin "quota.openshift.io/ClusterResourceQuota"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 273px;">
                <span class="pf-v6-c-log-viewer__index">14</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238810 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/RunOnceDuration"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 294px;">
                <span class="pf-v6-c-log-viewer__index">15</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238819 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/PodNodeConstraints"</span>
              </div>
            </div>
      <!--prettyhtml-ignore-end-->
    </div>
  </div>
</div>

```

### With search results

```html
<div
  class="pf-v6-c-log-viewer pf-m-line-numbers"
  style="--pf-v6-c-log-viewer__index--Width: 75px;"
  tabindex="0"
  role="region"
  aria-label="Log viewer with search results"
>
  <div class="pf-v6-c-log-viewer__header">
    <div
      class="pf-v6-c-toolbar"
      id="log-viewer-search-results-example-toolbar"
      role="toolbar"
    >
      <div class="pf-v6-c-toolbar__content">
        <div class="pf-v6-c-toolbar__content-section pf-m-nowrap">
          <div class="pf-v6-c-toolbar__item pf-m-search-filter">
            <button
              class="pf-v6-c-menu-toggle"
              type="button"
              aria-expanded="false"
              id="log-viewer-search-results-examplelog-menu-toggle"
            >
              <span class="pf-v6-c-menu-toggle__text">System log</span>
              <span class="pf-v6-c-menu-toggle__controls">
                <span class="pf-v6-c-menu-toggle__toggle-icon">
                  <i class="fas fa-caret-down" aria-hidden="true"></i>
                </span>
              </span>
            </button>
          </div>
          <div class="pf-v6-c-toolbar__group pf-m-toggle-group pf-m-show-on-lg">
            <div class="pf-v6-c-toolbar__toggle pf-m-show">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Show filters"
                aria-controls="log-viewer-search-results-example-toolbar-expandable-content"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-search" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div
              class="pf-v6-c-toolbar__item pf-m-search-filter"
              style="--pf-v6-c-toolbar__item--Width: 268px"
            >
              <div class="pf-v6-c-text-input-group">
                <div class="pf-v6-c-text-input-group__main pf-m-icon">
                  <span class="pf-v6-c-text-input-group__text">
                    <span class="pf-v6-c-text-input-group__icon">
                      <i class="fas fa-fw fa-search"></i>
                    </span>
                    <input
                      class="pf-v6-c-text-input-group__text-input"
                      type="text"
                      placeholder="Find"
                      value="openshift"
                      aria-label="Search input"
                    />
                  </span>
                </div>
                <div class="pf-v6-c-text-input-group__utilities">
                  <span class="pf-v6-c-badge pf-m-read">1 / 10</span>
                  <div class="pf-v6-c-text-input-group__group">
                    <button
                      class="pf-v6-c-button pf-m-plain"
                      type="button"
                      disabled
                      aria-label="Previous"
                    >
                      <i class="fas fa-angle-up fa-fw" aria-hidden="true"></i>
                    </button>
                    <button
                      class="pf-v6-c-button pf-m-plain"
                      type="button"
                      aria-label="Next"
                    >
                      <i class="fas fa-angle-down fa-fw" aria-hidden="true"></i>
                    </button>
                  </div>
                  <button
                    class="pf-v6-c-button pf-m-plain"
                    type="button"
                    aria-label="Clear input"
                  >
                    <i class="fas fa-times fa-fw" aria-hidden="true"></i>
                  </button>
                </div>
              </div>
            </div>
          </div>
          <div class="pf-v6-c-toolbar__item pf-m-gap-none">
            <button class="pf-v6-c-button pf-m-link" type="button">
              <span class="pf-v6-c-button__icon pf-m-start">
                <i class="fas fa-pause" aria-hidden="true"></i>
              </span>
              Pause
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__item pf-m-align-end pf-m-hidden-on-lg pf-m-gap-none"
          >
            <button
              class="pf-v6-c-menu-toggle pf-m-plain"
              type="button"
              aria-expanded="false"
              aria-label="Menu toggle"
              id="log-viewer-search-results-examplehint"
            >
              <span class="pf-v6-c-menu-toggle__icon">
                <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
              </span>
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__group pf-m-icon-button-group pf-m-align-end pf-m-hidden pf-m-visible-on-lg"
          >
            <div class="pf-v6-c-toolbar__item">
              <button class="pf-v6-c-button pf-m-link" type="button">Clear log</button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Menu toggle"
                id="log-viewer-search-results-examplemenu-toggle"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-cog" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Open external link"
              >
                <i class="fas fa-external-link-alt" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Download"
              >
                <i class="fas fa-download" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Full screen"
              >
                <i class="fas fa-expand" aria-hidden="true"></i>
              </button>
            </div>
          </div>
        </div>
        <div
          class="pf-v6-c-toolbar__expandable-content pf-m-hidden"
          id="log-viewer-search-results-example-toolbar-expandable-content"
          hidden
        >
          <div
            class="pf-v6-c-toolbar__item pf-m-search-filter"
            style="--pf-v6-c-toolbar__item--Width: 24ch"
          >
            <div class="pf-v6-c-text-input-group">
              <div class="pf-v6-c-text-input-group__main pf-m-icon">
                <span class="pf-v6-c-text-input-group__text">
                  <span class="pf-v6-c-text-input-group__icon">
                    <i class="fas fa-fw fa-search"></i>
                  </span>
                  <input
                    class="pf-v6-c-text-input-group__text-input"
                    type="text"
                    placeholder="Find"
                    value="openshift"
                    aria-label="Search input"
                  />
                </span>
              </div>
              <div class="pf-v6-c-text-input-group__utilities">
                <span class="pf-v6-c-badge pf-m-read">1 / 10</span>
                <div class="pf-v6-c-text-input-group__group">
                  <button
                    class="pf-v6-c-button pf-m-plain"
                    type="button"
                    disabled
                    aria-label="Previous"
                  >
                    <i class="fas fa-angle-up fa-fw" aria-hidden="true"></i>
                  </button>
                  <button
                    class="pf-v6-c-button pf-m-plain"
                    type="button"
                    aria-label="Next"
                  >
                    <i class="fas fa-angle-down fa-fw" aria-hidden="true"></i>
                  </button>
                </div>
                <button
                  class="pf-v6-c-button pf-m-plain"
                  type="button"
                  aria-label="Clear input"
                >
                  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
                </button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="pf-v6-c-log-viewer__main" role="log">
    <div class="pf-v6-c-log-viewer__scroll-container" tabindex="0">
      <!--prettyhtml-ignore-start-->
      <div class="pf-v6-c-log-viewer__list" style="--pf-v6-c-log-viewer__list--Height: 301080px;">
              <div class="pf-v6-c-log-viewer__list-item" style="top: 0px;">
                <span class="pf-v6-c-log-viewer__index">1</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying system trust bundle</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 21px;">
                <span class="pf-v6-c-log-viewer__index">2</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Waiting for port :6443 to be released.</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 42px;">
                <span class="pf-v6-c-log-viewer__index">3</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.084507 1 loader.go:379] Config loaded from file: /etc/kubernetes/static-pod-resources/configmaps/kube-apiserver-cert-syncer-kubeconfig/kubeconfig</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 84px;">
                <span class="pf-v6-c-log-viewer__index">4</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying termination logs to "/var/log/kube-apiserver/termination.log"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 105px;">
                <span class="pf-v6-c-log-viewer__index">5</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.087543 1 main.go:124] Touching termination lock file "/var/log/kube-apiserver/.terminating"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 147px;">
                <span class="pf-v6-c-log-viewer__index">6</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.088797 1 main.go:182] Launching sub-process "/usr/bin/hyperkube kube-apiserver --<span
  class="pf-v6-c-log-viewer__string pf-m-current"
>openshift</span>-config=/etc/kubernetes/static-pod-resources/configmaps/config/config.yaml --advertise-address=10.0.171.12 -v=2"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 210px;">
                <span class="pf-v6-c-log-viewer__index">7</span>
                <span class="pf-v6-c-log-viewer__text">Flag --<span class="pf-v6-c-log-viewer__string pf-m-match">openshift</span>-config has been deprecated, to be removed</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 231px;">
                <span class="pf-v6-c-log-viewer__index">8</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238681 17 plugins.go:84] Registered admission plugin "authorization.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/RestrictSubjectBindings"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 273px;">
                <span class="pf-v6-c-log-viewer__index">9</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238763 17 plugins.go:84] Registered admission plugin "image.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/ImagePolicy"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 315px;">
                <span class="pf-v6-c-log-viewer__index">10</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238775 17 plugins.go:84] Registered admission plugin "route.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/IngressAdmission"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 357px;">
                <span class="pf-v6-c-log-viewer__index">11</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238783 17 plugins.go:84] Registered admission plugin "scheduling.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/OriginPodNodeEnvironment"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 399px;">
                <span class="pf-v6-c-log-viewer__index">12</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238792 17 plugins.go:84] Registered admission plugin "autoscaling.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/ClusterResourceOverride"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 441px;">
                <span class="pf-v6-c-log-viewer__index">13</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238801 17 plugins.go:84] Registered admission plugin "quota.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/ClusterResourceQuota"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 483px;">
                <span class="pf-v6-c-log-viewer__index">14</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238810 17 plugins.go:84] Registered admission plugin "autoscaling.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/RunOnceDuration"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 525px;">
                <span class="pf-v6-c-log-viewer__index">15</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238819 17 plugins.go:84] Registered admission plugin "scheduling.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/PodNodeConstraints"</span>
              </div>
            </div>
      <!--prettyhtml-ignore-end-->
    </div>
  </div>
</div>

```

### With max height

```html
<div
  class="pf-v6-c-log-viewer pf-m-line-numbers"
  style="--pf-v6-c-log-viewer__index--Width: 75px; --pf-v6-c-log-viewer--MaxHeight: 300px;"
  tabindex="0"
  role="region"
  aria-label="Log viewer with max height"
>
  <div class="pf-v6-c-log-viewer__header">
    <div
      class="pf-v6-c-toolbar"
      id="log-viewer-max-height-example-toolbar"
      role="toolbar"
    >
      <div class="pf-v6-c-toolbar__content">
        <div class="pf-v6-c-toolbar__content-section pf-m-nowrap">
          <div class="pf-v6-c-toolbar__item pf-m-search-filter">
            <button
              class="pf-v6-c-menu-toggle"
              type="button"
              aria-expanded="false"
              id="log-viewer-max-height-examplelog-menu-toggle"
            >
              <span class="pf-v6-c-menu-toggle__text">System log</span>
              <span class="pf-v6-c-menu-toggle__controls">
                <span class="pf-v6-c-menu-toggle__toggle-icon">
                  <i class="fas fa-caret-down" aria-hidden="true"></i>
                </span>
              </span>
            </button>
          </div>
          <div class="pf-v6-c-toolbar__group pf-m-toggle-group pf-m-show-on-lg">
            <div class="pf-v6-c-toolbar__toggle pf-m-show">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Show filters"
                aria-controls="log-viewer-max-height-example-toolbar-expandable-content"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-search" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div
              class="pf-v6-c-toolbar__item pf-m-search-filter"
              style="--pf-v6-c-toolbar__item--Width: 268px"
            >
              <div class="pf-v6-c-text-input-group">
                <div class="pf-v6-c-text-input-group__main pf-m-icon">
                  <span class="pf-v6-c-text-input-group__text">
                    <span class="pf-v6-c-text-input-group__icon">
                      <i class="fas fa-fw fa-search"></i>
                    </span>
                    <input
                      class="pf-v6-c-text-input-group__text-input"
                      type="text"
                      placeholder="Find"
                      value
                      aria-label="Search input"
                    />
                  </span>
                </div>
              </div>
            </div>
          </div>
          <div class="pf-v6-c-toolbar__item pf-m-gap-none">
            <button class="pf-v6-c-button pf-m-link" type="button">
              <span class="pf-v6-c-button__icon pf-m-start">
                <i class="fas fa-pause" aria-hidden="true"></i>
              </span>
              Pause
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__item pf-m-align-end pf-m-hidden-on-lg pf-m-gap-none"
          >
            <button
              class="pf-v6-c-menu-toggle pf-m-plain"
              type="button"
              aria-expanded="false"
              aria-label="Menu toggle"
              id="log-viewer-max-height-examplehint"
            >
              <span class="pf-v6-c-menu-toggle__icon">
                <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
              </span>
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__group pf-m-icon-button-group pf-m-align-end pf-m-hidden pf-m-visible-on-lg"
          >
            <div class="pf-v6-c-toolbar__item">
              <button class="pf-v6-c-button pf-m-link" type="button">Clear log</button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Menu toggle"
                id="log-viewer-max-height-examplemenu-toggle"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-cog" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Open external link"
              >
                <i class="fas fa-external-link-alt" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Download"
              >
                <i class="fas fa-download" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Full screen"
              >
                <i class="fas fa-expand" aria-hidden="true"></i>
              </button>
            </div>
          </div>
        </div>
        <div
          class="pf-v6-c-toolbar__expandable-content pf-m-hidden"
          id="log-viewer-max-height-example-toolbar-expandable-content"
          hidden
        >
          <div
            class="pf-v6-c-toolbar__item pf-m-search-filter"
            style="--pf-v6-c-toolbar__item--Width: 24ch"
          >
            <div class="pf-v6-c-text-input-group">
              <div class="pf-v6-c-text-input-group__main pf-m-icon">
                <span class="pf-v6-c-text-input-group__text">
                  <span class="pf-v6-c-text-input-group__icon">
                    <i class="fas fa-fw fa-search"></i>
                  </span>
                  <input
                    class="pf-v6-c-text-input-group__text-input"
                    type="text"
                    placeholder="Find"
                    value
                    aria-label="Search input"
                  />
                </span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="pf-v6-c-log-viewer__main" role="log">
    <div class="pf-v6-c-log-viewer__scroll-container" tabindex="0">
      <!--prettyhtml-ignore-start-->
      <div class="pf-v6-c-log-viewer__list" style="--pf-v6-c-log-viewer__list--Height: 301080px;">
              <div class="pf-v6-c-log-viewer__list-item" style="top: 0px;">
                <span class="pf-v6-c-log-viewer__index">1</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying system trust bundle</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 21px;">
                <span class="pf-v6-c-log-viewer__index">2</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Waiting for port :6443 to be released.</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 42px;">
                <span class="pf-v6-c-log-viewer__index">3</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.084507 1 loader.go:379] Config loaded from file: /etc/kubernetes/static-pod-resources/configmaps/kube-apiserver-cert-syncer-kubeconfig/kubeconfig</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 84px;">
                <span class="pf-v6-c-log-viewer__index">4</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying termination logs to "/var/log/kube-apiserver/termination.log"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 105px;">
                <span class="pf-v6-c-log-viewer__index">5</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.087543 1 main.go:124] Touching termination lock file "/var/log/kube-apiserver/.terminating"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 147px;">
                <span class="pf-v6-c-log-viewer__index">6</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.088797 1 main.go:182] Launching sub-process "/usr/bin/hyperkube kube-apiserver --openshift-config=/etc/kubernetes/static-pod-resources/configmaps/config/config.yaml --advertise-address=10.0.171.12 -v=2"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 210px;">
                <span class="pf-v6-c-log-viewer__index">7</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Flag --openshift-config has been deprecated, to be removed</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 231px;">
                <span class="pf-v6-c-log-viewer__index">8</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238681 17 plugins.go:84] Registered admission plugin "authorization.openshift.io/RestrictSubjectBindings"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 273px;">
                <span class="pf-v6-c-log-viewer__index">9</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238763 17 plugins.go:84] Registered admission plugin "image.openshift.io/ImagePolicy"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 315px;">
                <span class="pf-v6-c-log-viewer__index">10</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238775 17 plugins.go:84] Registered admission plugin "route.openshift.io/IngressAdmission"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 357px;">
                <span class="pf-v6-c-log-viewer__index">11</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238783 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/OriginPodNodeEnvironment"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 399px;">
                <span class="pf-v6-c-log-viewer__index">12</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238792 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/ClusterResourceOverride"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 441px;">
                <span class="pf-v6-c-log-viewer__index">13</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238801 17 plugins.go:84] Registered admission plugin "quota.openshift.io/ClusterResourceQuota"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 483px;">
                <span class="pf-v6-c-log-viewer__index">14</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238810 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/RunOnceDuration"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 525px;">
                <span class="pf-v6-c-log-viewer__index">15</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238819 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/PodNodeConstraints"</span>
              </div>
            </div>
      <!--prettyhtml-ignore-end-->
    </div>
  </div>
</div>

```

### With menu toggle, drilldown

```html
<div
  class="pf-v6-c-log-viewer pf-m-line-numbers"
  style="--pf-v6-c-log-viewer__index--Width: 75px"
  tabindex="0"
  role="region"
  aria-label="Log viewer with menu-toggle drilldown, search expanded"
>
  <div class="pf-v6-c-log-viewer__header">
    <div
      class="pf-v6-c-toolbar"
      id="log-viewer-menu-toggle-expanded-example-toolbar"
      role="toolbar"
    >
      <div class="pf-v6-c-toolbar__content">
        <div class="pf-v6-c-toolbar__content-section pf-m-nowrap">
          <div class="pf-v6-c-toolbar__item pf-m-search-filter">
            <button
              class="pf-v6-c-menu-toggle"
              type="button"
              aria-expanded="false"
              id="log-viewer-menu-toggle-expanded-examplelog-menu-toggle"
            >
              <span class="pf-v6-c-menu-toggle__text">System log</span>
              <span class="pf-v6-c-menu-toggle__controls">
                <span class="pf-v6-c-menu-toggle__toggle-icon">
                  <i class="fas fa-caret-down" aria-hidden="true"></i>
                </span>
              </span>
            </button>
          </div>
          <div class="pf-v6-c-toolbar__group pf-m-toggle-group pf-m-show-on-lg">
            <div class="pf-v6-c-toolbar__toggle pf-m-show">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Show filters"
                aria-controls="log-viewer-menu-toggle-expanded-example-toolbar-expandable-content"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-search" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div
              class="pf-v6-c-toolbar__item pf-m-search-filter"
              style="--pf-v6-c-toolbar__item--Width: 268px"
            >
              <div class="pf-v6-c-text-input-group">
                <div class="pf-v6-c-text-input-group__main pf-m-icon">
                  <span class="pf-v6-c-text-input-group__text">
                    <span class="pf-v6-c-text-input-group__icon">
                      <i class="fas fa-fw fa-search"></i>
                    </span>
                    <input
                      class="pf-v6-c-text-input-group__text-input"
                      type="text"
                      placeholder="Find"
                      value
                      aria-label="Search input"
                    />
                  </span>
                </div>
              </div>
            </div>
          </div>
          <div class="pf-v6-c-toolbar__item pf-m-gap-none">
            <button class="pf-v6-c-button pf-m-link" type="button">
              <span class="pf-v6-c-button__icon pf-m-start">
                <i class="fas fa-pause" aria-hidden="true"></i>
              </span>
              Pause
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__item pf-m-align-end pf-m-hidden-on-lg pf-m-gap-none"
          >
            <button
              class="pf-v6-c-menu-toggle pf-m-plain"
              type="button"
              aria-expanded="false"
              aria-label="Menu toggle"
              id="log-viewer-menu-toggle-expanded-examplehint"
            >
              <span class="pf-v6-c-menu-toggle__icon">
                <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
              </span>
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__group pf-m-icon-button-group pf-m-align-end pf-m-hidden pf-m-visible-on-lg"
          >
            <div class="pf-v6-c-toolbar__item">
              <button class="pf-v6-c-button pf-m-link" type="button">Clear log</button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Menu toggle"
                id="log-viewer-menu-toggle-expanded-examplemenu-toggle"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-cog" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Open external link"
              >
                <i class="fas fa-external-link-alt" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Download"
              >
                <i class="fas fa-download" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Full screen"
              >
                <i class="fas fa-expand" aria-hidden="true"></i>
              </button>
            </div>
          </div>
        </div>
        <div
          class="pf-v6-c-toolbar__expandable-content pf-m-hidden"
          id="log-viewer-menu-toggle-expanded-example-toolbar-expandable-content"
          hidden
        >
          <div
            class="pf-v6-c-toolbar__item pf-m-search-filter"
            style="--pf-v6-c-toolbar__item--Width: 24ch"
          >
            <div class="pf-v6-c-text-input-group">
              <div class="pf-v6-c-text-input-group__main pf-m-icon">
                <span class="pf-v6-c-text-input-group__text">
                  <span class="pf-v6-c-text-input-group__icon">
                    <i class="fas fa-fw fa-search"></i>
                  </span>
                  <input
                    class="pf-v6-c-text-input-group__text-input"
                    type="text"
                    placeholder="Find"
                    value
                    aria-label="Search input"
                  />
                </span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="pf-v6-c-log-viewer__main" role="log">
    <div class="pf-v6-c-log-viewer__scroll-container" tabindex="0">
      <!--prettyhtml-ignore-start-->
      <div class="pf-v6-c-log-viewer__list" style="--pf-v6-c-log-viewer__list--Height: 301080px;">
              <div class="pf-v6-c-log-viewer__list-item" style="top: 0px;">
                <span class="pf-v6-c-log-viewer__index">1</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying system trust bundle</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 21px;">
                <span class="pf-v6-c-log-viewer__index">2</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Waiting for port :6443 to be released.</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 42px;">
                <span class="pf-v6-c-log-viewer__index">3</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.084507 1 loader.go:379] Config loaded from file: /etc/kubernetes/static-pod-resources/configmaps/kube-apiserver-cert-syncer-kubeconfig/kubeconfig</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 84px;">
                <span class="pf-v6-c-log-viewer__index">4</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying termination logs to "/var/log/kube-apiserver/termination.log"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 105px;">
                <span class="pf-v6-c-log-viewer__index">5</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.087543 1 main.go:124] Touching termination lock file "/var/log/kube-apiserver/.terminating"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 147px;">
                <span class="pf-v6-c-log-viewer__index">6</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.088797 1 main.go:182] Launching sub-process "/usr/bin/hyperkube kube-apiserver --openshift-config=/etc/kubernetes/static-pod-resources/configmaps/config/config.yaml --advertise-address=10.0.171.12 -v=2"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 210px;">
                <span class="pf-v6-c-log-viewer__index">7</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Flag --openshift-config has been deprecated, to be removed</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 231px;">
                <span class="pf-v6-c-log-viewer__index">8</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238681 17 plugins.go:84] Registered admission plugin "authorization.openshift.io/RestrictSubjectBindings"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 273px;">
                <span class="pf-v6-c-log-viewer__index">9</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238763 17 plugins.go:84] Registered admission plugin "image.openshift.io/ImagePolicy"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 315px;">
                <span class="pf-v6-c-log-viewer__index">10</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238775 17 plugins.go:84] Registered admission plugin "route.openshift.io/IngressAdmission"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 357px;">
                <span class="pf-v6-c-log-viewer__index">11</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238783 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/OriginPodNodeEnvironment"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 399px;">
                <span class="pf-v6-c-log-viewer__index">12</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238792 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/ClusterResourceOverride"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 441px;">
                <span class="pf-v6-c-log-viewer__index">13</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238801 17 plugins.go:84] Registered admission plugin "quota.openshift.io/ClusterResourceQuota"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 483px;">
                <span class="pf-v6-c-log-viewer__index">14</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238810 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/RunOnceDuration"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 525px;">
                <span class="pf-v6-c-log-viewer__index">15</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238819 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/PodNodeConstraints"</span>
              </div>
            </div>
      <!--prettyhtml-ignore-end-->
    </div>
  </div>
</div>

```

### With popover open

```html
<div
  class="pf-v6-c-log-viewer pf-m-line-numbers"
  style="--pf-v6-c-log-viewer__index--Width: 75px"
  tabindex="0"
  role="region"
  aria-label="Log viewer with popover open"
>
  <div class="pf-v6-c-log-viewer__header">
    <div
      class="pf-v6-c-toolbar"
      id="log-viewer-popover-expanded-example-toolbar"
      role="toolbar"
    >
      <div class="pf-v6-c-toolbar__content">
        <div class="pf-v6-c-toolbar__content-section pf-m-nowrap">
          <div class="pf-v6-c-toolbar__item pf-m-search-filter">
            <button
              class="pf-v6-c-menu-toggle"
              type="button"
              aria-expanded="false"
              id="log-viewer-popover-expanded-examplelog-menu-toggle"
            >
              <span class="pf-v6-c-menu-toggle__text">System log</span>
              <span class="pf-v6-c-menu-toggle__controls">
                <span class="pf-v6-c-menu-toggle__toggle-icon">
                  <i class="fas fa-caret-down" aria-hidden="true"></i>
                </span>
              </span>
            </button>
          </div>
          <div class="pf-v6-c-toolbar__group pf-m-toggle-group pf-m-show-on-lg">
            <div class="pf-v6-c-toolbar__toggle pf-m-show">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Show filters"
                aria-controls="log-viewer-popover-expanded-example-toolbar-expandable-content"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-search" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div
              class="pf-v6-c-toolbar__item pf-m-search-filter"
              style="--pf-v6-c-toolbar__item--Width: 268px"
            >
              <div class="pf-v6-c-text-input-group">
                <div class="pf-v6-c-text-input-group__main pf-m-icon">
                  <span class="pf-v6-c-text-input-group__text">
                    <span class="pf-v6-c-text-input-group__icon">
                      <i class="fas fa-fw fa-search"></i>
                    </span>
                    <input
                      class="pf-v6-c-text-input-group__text-input"
                      type="text"
                      placeholder="Find"
                      value
                      aria-label="Search input"
                    />
                  </span>
                </div>
              </div>
            </div>
          </div>
          <div class="pf-v6-c-toolbar__item pf-m-gap-none">
            <button class="pf-v6-c-button pf-m-link" type="button">
              <span class="pf-v6-c-button__icon pf-m-start">
                <i class="fas fa-pause" aria-hidden="true"></i>
              </span>
              Pause
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__item pf-m-align-end pf-m-hidden-on-lg pf-m-gap-none"
          >
            <button
              class="pf-v6-c-menu-toggle pf-m-plain"
              type="button"
              aria-expanded="false"
              aria-label="Menu toggle"
              id="log-viewer-popover-expanded-examplehint"
            >
              <span class="pf-v6-c-menu-toggle__icon">
                <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
              </span>
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__group pf-m-icon-button-group pf-m-align-end pf-m-hidden pf-m-visible-on-lg"
          >
            <div class="pf-v6-c-toolbar__item">
              <button class="pf-v6-c-button pf-m-link" type="button">Clear log</button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Menu toggle"
                id="log-viewer-popover-expanded-examplemenu-toggle"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-cog" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Open external link"
              >
                <i class="fas fa-external-link-alt" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Download"
              >
                <i class="fas fa-download" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Full screen"
              >
                <i class="fas fa-expand" aria-hidden="true"></i>
              </button>
            </div>
          </div>
        </div>
        <div
          class="pf-v6-c-toolbar__expandable-content pf-m-hidden"
          id="log-viewer-popover-expanded-example-toolbar-expandable-content"
          hidden
        >
          <div
            class="pf-v6-c-toolbar__item pf-m-search-filter"
            style="--pf-v6-c-toolbar__item--Width: 24ch"
          >
            <div class="pf-v6-c-text-input-group">
              <div class="pf-v6-c-text-input-group__main pf-m-icon">
                <span class="pf-v6-c-text-input-group__text">
                  <span class="pf-v6-c-text-input-group__icon">
                    <i class="fas fa-fw fa-search"></i>
                  </span>
                  <input
                    class="pf-v6-c-text-input-group__text-input"
                    type="text"
                    placeholder="Find"
                    value
                    aria-label="Search input"
                  />
                </span>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="pf-v6-c-log-viewer__main" role="log">
    <div class="pf-v6-c-log-viewer__scroll-container" tabindex="0">
      <!--prettyhtml-ignore-start-->
      <div class="pf-v6-c-log-viewer__list" style="--pf-v6-c-log-viewer__list--Height: 301080px;">
              <div class="pf-v6-c-log-viewer__list-item" style="top: 0px;">
                <span class="pf-v6-c-log-viewer__index">1</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying system trust bundle</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 21px;">
                <span class="pf-v6-c-log-viewer__index">2</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Waiting for port :6443 to be released.</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 42px;">
                <span class="pf-v6-c-log-viewer__index">3</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.084507 1 loader.go:379] Config loaded from file: /etc/kubernetes/static-pod-resources/configmaps/kube-apiserver-cert-syncer-kubeconfig/kubeconfig</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 84px;">
                <span class="pf-v6-c-log-viewer__index">4</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying termination logs to "/var/log/kube-apiserver/termination.log"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 105px;">
                <span class="pf-v6-c-log-viewer__index">5</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.087543 1 main.go:124] Touching termination lock file "/var/log/kube-apiserver/.terminating"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 147px;">
                <span class="pf-v6-c-log-viewer__index">6</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.088797 1 main.go:182] Launching sub-process "/usr/bin/hyperkube kube-apiserver --openshift-config=/etc/kubernetes/static-pod-resources/configmaps/config/config.yaml --advertise-address=10.0.171.12 -v=2"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 210px;">
                <span class="pf-v6-c-log-viewer__index">7</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Flag --openshift-config has been deprecated, to be removed</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 231px;">
                <span class="pf-v6-c-log-viewer__index">8</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238681 17 plugins.go:84] Registered admission plugin "authorization.openshift.io/RestrictSubjectBindings"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 273px;">
                <span class="pf-v6-c-log-viewer__index">9</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238763 17 plugins.go:84] Registered admission plugin "image.openshift.io/ImagePolicy"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 315px;">
                <span class="pf-v6-c-log-viewer__index">10</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238775 17 plugins.go:84] Registered admission plugin "route.openshift.io/IngressAdmission"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 357px;">
                <span class="pf-v6-c-log-viewer__index">11</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238783 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/OriginPodNodeEnvironment"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 399px;">
                <span class="pf-v6-c-log-viewer__index">12</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238792 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/ClusterResourceOverride"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 441px;">
                <span class="pf-v6-c-log-viewer__index">13</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238801 17 plugins.go:84] Registered admission plugin "quota.openshift.io/ClusterResourceQuota"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 483px;">
                <span class="pf-v6-c-log-viewer__index">14</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238810 17 plugins.go:84] Registered admission plugin "autoscaling.openshift.io/RunOnceDuration"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 525px;">
                <span class="pf-v6-c-log-viewer__index">15</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238819 17 plugins.go:84] Registered admission plugin "scheduling.openshift.io/PodNodeConstraints"</span>
              </div>
            </div>
      <!--prettyhtml-ignore-end-->
    </div>
  </div>
</div>
<div
  class="pf-v6-c-popover pf-m-bottom"
  role="dialog"
  aria-modal="true"
  aria-labelledby="popover-bottom-header"
  aria-describedby="popover-bottom-body"
>
  <div class="pf-v6-c-popover__arrow"></div>
  <div class="pf-v6-c-popover__content">
    <div class="pf-v6-c-popover__close">
      <button
        class="pf-v6-c-button pf-m-plain"
        type="button"
        aria-label="Close"
      >
        <i class="fas fa-times" aria-hidden="true"></i>
      </button>
    </div>
    <header class="pf-v6-c-popover__header">
      <div class="pf-v6-c-popover__title" id="popover-bottom-header">
        <h1 class="pf-v6-c-popover__title-text">Clear this log?</h1>
      </div>
    </header>
    <div
      class="pf-v6-c-popover__body"
      id="popover-bottom-body"
    >Any current log data will be lost.</div>
    <footer class="pf-v6-c-popover__footer">
      <button class="pf-v6-c-button pf-m-link" type="button">Clear</button>
      <button class="pf-v6-c-button pf-m-link" type="button">Cancel</button>
    </footer>
  </div>
</div>

```

### Dark

```html
<div
  class="pf-v6-c-log-viewer pf-m-line-numbers pf-m-dark"
  style="--pf-v6-c-log-viewer__index--Width: 75px"
  tabindex="0"
  role="region"
  aria-label="Dark log viewer"
>
  <div class="pf-v6-c-log-viewer__header">
    <div
      class="pf-v6-c-toolbar"
      id="log-viewer-dark-example-toolbar"
      role="toolbar"
    >
      <div class="pf-v6-c-toolbar__content">
        <div class="pf-v6-c-toolbar__content-section pf-m-nowrap">
          <div class="pf-v6-c-toolbar__item pf-m-search-filter">
            <button
              class="pf-v6-c-menu-toggle"
              type="button"
              aria-expanded="false"
              id="log-viewer-dark-examplelog-menu-toggle"
            >
              <span class="pf-v6-c-menu-toggle__text">System log</span>
              <span class="pf-v6-c-menu-toggle__controls">
                <span class="pf-v6-c-menu-toggle__toggle-icon">
                  <i class="fas fa-caret-down" aria-hidden="true"></i>
                </span>
              </span>
            </button>
          </div>
          <div class="pf-v6-c-toolbar__group pf-m-toggle-group pf-m-show-on-lg">
            <div class="pf-v6-c-toolbar__toggle pf-m-show">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Show filters"
                aria-controls="log-viewer-dark-example-toolbar-expandable-content"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-search" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div
              class="pf-v6-c-toolbar__item pf-m-search-filter"
              style="--pf-v6-c-toolbar__item--Width: 268px"
            >
              <div class="pf-v6-c-text-input-group">
                <div class="pf-v6-c-text-input-group__main pf-m-icon">
                  <span class="pf-v6-c-text-input-group__text">
                    <span class="pf-v6-c-text-input-group__icon">
                      <i class="fas fa-fw fa-search"></i>
                    </span>
                    <input
                      class="pf-v6-c-text-input-group__text-input"
                      type="text"
                      placeholder="Find"
                      value="openshift"
                      aria-label="Search input"
                    />
                  </span>
                </div>
                <div class="pf-v6-c-text-input-group__utilities">
                  <span class="pf-v6-c-badge pf-m-read">1 / 10</span>
                  <div class="pf-v6-c-text-input-group__group">
                    <button
                      class="pf-v6-c-button pf-m-plain"
                      type="button"
                      disabled
                      aria-label="Previous"
                    >
                      <i class="fas fa-angle-up fa-fw" aria-hidden="true"></i>
                    </button>
                    <button
                      class="pf-v6-c-button pf-m-plain"
                      type="button"
                      aria-label="Next"
                    >
                      <i class="fas fa-angle-down fa-fw" aria-hidden="true"></i>
                    </button>
                  </div>
                  <button
                    class="pf-v6-c-button pf-m-plain"
                    type="button"
                    aria-label="Clear input"
                  >
                    <i class="fas fa-times fa-fw" aria-hidden="true"></i>
                  </button>
                </div>
              </div>
            </div>
          </div>
          <div class="pf-v6-c-toolbar__item pf-m-gap-none">
            <button class="pf-v6-c-button pf-m-link" type="button">
              <span class="pf-v6-c-button__icon pf-m-start">
                <i class="fas fa-pause" aria-hidden="true"></i>
              </span>
              Pause
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__item pf-m-align-end pf-m-hidden-on-lg pf-m-gap-none"
          >
            <button
              class="pf-v6-c-menu-toggle pf-m-plain"
              type="button"
              aria-expanded="false"
              aria-label="Menu toggle"
              id="log-viewer-dark-examplehint"
            >
              <span class="pf-v6-c-menu-toggle__icon">
                <i class="fas fa-ellipsis-v" aria-hidden="true"></i>
              </span>
            </button>
          </div>
          <div
            class="pf-v6-c-toolbar__group pf-m-icon-button-group pf-m-align-end pf-m-hidden pf-m-visible-on-lg"
          >
            <div class="pf-v6-c-toolbar__item">
              <button class="pf-v6-c-button pf-m-link" type="button">Clear log</button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-menu-toggle pf-m-plain"
                type="button"
                aria-expanded="false"
                aria-label="Menu toggle"
                id="log-viewer-dark-examplemenu-toggle"
              >
                <span class="pf-v6-c-menu-toggle__icon">
                  <i class="fas fa-cog" aria-hidden="true"></i>
                </span>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Open external link"
              >
                <i class="fas fa-external-link-alt" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Download"
              >
                <i class="fas fa-download" aria-hidden="true"></i>
              </button>
            </div>
            <div class="pf-v6-c-toolbar__item">
              <button
                class="pf-v6-c-button pf-m-plain"
                type="button"
                aria-label="Full screen"
              >
                <i class="fas fa-expand" aria-hidden="true"></i>
              </button>
            </div>
          </div>
        </div>
        <div
          class="pf-v6-c-toolbar__expandable-content pf-m-hidden"
          id="log-viewer-dark-example-toolbar-expandable-content"
          hidden
        >
          <div
            class="pf-v6-c-toolbar__item pf-m-search-filter"
            style="--pf-v6-c-toolbar__item--Width: 24ch"
          >
            <div class="pf-v6-c-text-input-group">
              <div class="pf-v6-c-text-input-group__main pf-m-icon">
                <span class="pf-v6-c-text-input-group__text">
                  <span class="pf-v6-c-text-input-group__icon">
                    <i class="fas fa-fw fa-search"></i>
                  </span>
                  <input
                    class="pf-v6-c-text-input-group__text-input"
                    type="text"
                    placeholder="Find"
                    value="openshift"
                    aria-label="Search input"
                  />
                </span>
              </div>
              <div class="pf-v6-c-text-input-group__utilities">
                <span class="pf-v6-c-badge pf-m-read">1 / 10</span>
                <div class="pf-v6-c-text-input-group__group">
                  <button
                    class="pf-v6-c-button pf-m-plain"
                    type="button"
                    disabled
                    aria-label="Previous"
                  >
                    <i class="fas fa-angle-up fa-fw" aria-hidden="true"></i>
                  </button>
                  <button
                    class="pf-v6-c-button pf-m-plain"
                    type="button"
                    aria-label="Next"
                  >
                    <i class="fas fa-angle-down fa-fw" aria-hidden="true"></i>
                  </button>
                </div>
                <button
                  class="pf-v6-c-button pf-m-plain"
                  type="button"
                  aria-label="Clear input"
                >
                  <i class="fas fa-times fa-fw" aria-hidden="true"></i>
                </button>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="pf-v6-c-log-viewer__main" role="log">
    <div class="pf-v6-c-log-viewer__scroll-container" tabindex="0">
      <!--prettyhtml-ignore-start-->
      <div class="pf-v6-c-log-viewer__list" style="--pf-v6-c-log-viewer__list--Height: 301080px;">
              <div class="pf-v6-c-log-viewer__list-item" style="top: 0px;">
                <span class="pf-v6-c-log-viewer__index">1</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying system trust bundle</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 21px;">
                <span class="pf-v6-c-log-viewer__index">2</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Waiting for port :6443 to be released.</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 42px;">
                <span class="pf-v6-c-log-viewer__index">3</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.084507 1 loader.go:379] Config loaded from file: /etc/kubernetes/static-pod-resources/configmaps/kube-apiserver-cert-syncer-kubeconfig/kubeconfig</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 84px;">
                <span class="pf-v6-c-log-viewer__index">4</span>
                <span
  class="pf-v6-c-log-viewer__text"
>Copying termination logs to "/var/log/kube-apiserver/termination.log"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 105px;">
                <span class="pf-v6-c-log-viewer__index">5</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.087543 1 main.go:124] Touching termination lock file "/var/log/kube-apiserver/.terminating"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 147px;">
                <span class="pf-v6-c-log-viewer__index">6</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.088797 1 main.go:182] Launching sub-process "/usr/bin/hyperkube kube-apiserver --<span
  class="pf-v6-c-log-viewer__string pf-m-current"
>openshift</span>-config=/etc/kubernetes/static-pod-resources/configmaps/config/config.yaml --advertise-address=10.0.171.12 -v=2"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 210px;">
                <span class="pf-v6-c-log-viewer__index">7</span>
                <span class="pf-v6-c-log-viewer__text">Flag --<span class="pf-v6-c-log-viewer__string pf-m-match">openshift</span>-config has been deprecated, to be removed</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 231px;">
                <span class="pf-v6-c-log-viewer__index">8</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238681 17 plugins.go:84] Registered admission plugin "authorization.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/RestrictSubjectBindings"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 273px;">
                <span class="pf-v6-c-log-viewer__index">9</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238763 17 plugins.go:84] Registered admission plugin "image.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/ImagePolicy"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 315px;">
                <span class="pf-v6-c-log-viewer__index">10</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238775 17 plugins.go:84] Registered admission plugin "route.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/IngressAdmission"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 357px;">
                <span class="pf-v6-c-log-viewer__index">11</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238783 17 plugins.go:84] Registered admission plugin "scheduling.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/OriginPodNodeEnvironment"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 399px;">
                <span class="pf-v6-c-log-viewer__index">12</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238792 17 plugins.go:84] Registered admission plugin "autoscaling.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/ClusterResourceOverride"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 441px;">
                <span class="pf-v6-c-log-viewer__index">13</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238801 17 plugins.go:84] Registered admission plugin "quota.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/ClusterResourceQuota"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 483px;">
                <span class="pf-v6-c-log-viewer__index">14</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238810 17 plugins.go:84] Registered admission plugin "autoscaling.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/RunOnceDuration"</span>
              </div>
              <div class="pf-v6-c-log-viewer__list-item" style="top: 525px;">
                <span class="pf-v6-c-log-viewer__index">15</span>
                <span
  class="pf-v6-c-log-viewer__text"
>I0223 20:04:25.238819 17 plugins.go:84] Registered admission plugin "scheduling.<span
  class="pf-v6-c-log-viewer__string pf-m-match"
>openshift</span>.io/PodNodeConstraints"</span>
              </div>
            </div>
      <!--prettyhtml-ignore-end-->
    </div>
  </div>
  <button class="pf-v6-c-button pf-m-primary" type="button">Jump to the bottom</button>
</div>

```

## Documentation

### Accessibility

| Attribute | Applied | Outcome |
| -- | -- | -- |
| `aria-label="Log viewer"` | `.pf-v6-c-log-viewer` | Provides an accessible label for the log viewer. |
| `role="log"` | `.pf-v6-c-log-viewer__main` | Identifies an element that creates a live region where new information is added in a meaningful order and old information may disappear. **Required** |
| `aria-live="polite"` | `.pf-v6-c-log-viewer__list` | Allows assistive technologies to automatically read new content within the aria-live region on the place where the text is displayed. |
| `aria-atomic="true"` | `.pf-v6-c-log-viewer__list` | Allows assistive technologies to notify a user when log messages are added. |
| `tabindex="0"` | `.pf-v6-c-log-viewer`, `.pf-v6-c-log-viewer__list` | Inserts the element into the tab order of the page so that it is focusable. **Required** |
| `aria-hidden="true"` | `.pf-v6-c-log-viewer__index` | Hides an index from assistive technologies. |

### Usage

| Class | Applied to | Outcome |
| -- | -- | -- |
| `.pf-v6-c-log-viewer` | `<div>` | Initiates a log viewer. **Required** |
| `.pf-v6-c-log-viewer__header` | `<div>` | Initiates the header container for a log viewer. **Required** |
| `.pf-v6-c-log-viewer__main` | `<div>` | Initiates the main container for a log viewer. **Required** |
| `.pf-v6-c-log-viewer__scroll-container` | `<div>` | Initiates the scroll container for a log viewer. **Required** |
| `.pf-v6-c-log-viewer__list` | `<ul>` | Initiates the log viewer list. **Required** |
| `.pf-v6-c-log-viewer__list-item` | `<li>` | Initiates a log viewer list item. **Required** |
| `.pf-v6-c-log-viewer__index` | `<span>` | Initiates a log viewer index element. **Required for numbered list** |
| `.pf-v6-c-log-viewer__text` | `<div>` | Initiates a log viewer text element. **Required** |
| `.pf-v6-c-log-viewer__string` | `<span>` | Initiates a log viewer string element. |
| `.pf-v6-c-log-viewer__timestamp` | `<div>` | Initiates a log viewer text element. **Required** |
| `.pf-m-wrap-text` | `.pf-v6-c-log-viewer` | Modifies the log viewer text to wrap. |
| `.pf-m-nowrap` | `.pf-v6-c-log-viewer` | Modifies the log viewer text to not wrap. |
| `.pf-m-line-numbers` | `.pf-v6-c-log-viewer` | Modifies the log viewer to display line numbers. |
| `.pf-m-line-number-chars` | `.pf-v6-c-log-viewer` | Modifies the log viewer allow for a custom line number column size. Use with `--pf-v6-c-log-viewer--line-number-chars`. |
| `.pf-m-dark` | `.pf-v6-c-log-viewer` | Modifies the log viewer content for dark theme. |
| `.pf-m-match` | `.pf-v6-c-log-viewer__string` | Indicates a string is a search result. |
| `.pf-m-current` | `.pf-v6-c-log-viewer__string` | Indicates a string is the current search result. |
| `--pf-v6-c-log-viewer--line-number-chars` | `.pf-v6-c-log-viewer` | With a number passed as the value, modifies the width of the line number column to show the specified number of characters. |
| `--pf-v6-c-log-viewer--MaxHeight{-on-[breakpoint]}: {height}` | `.pf-v6-c-log-viewer` |  Modifies the height value of a log viewer at optional [breakpoint](/developer-resources/global-css-variables#breakpoint-variables-and-class-suffixes). |
