File tree Expand file tree Collapse file tree
x-pack/plugins/infra/public/components/logging/log_entry_flyout Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ import {
1313 EuiFlyoutBody ,
1414 EuiFlyoutHeader ,
1515 EuiInMemoryTable ,
16+ EuiSpacer ,
17+ EuiTextColor ,
1618 EuiTitle ,
1719 EuiToolTip ,
1820} from '@elastic/eui' ;
@@ -135,11 +137,28 @@ export const LogEntryFlyout = ({
135137 < EuiTitle size = "s" >
136138 < h3 id = "flyoutTitle" >
137139 < FormattedMessage
138- defaultMessage = "Log event document details "
140+ defaultMessage = "Details for log entry {logEntryId} "
139141 id = "xpack.infra.logFlyout.flyoutTitle"
142+ values = { {
143+ logEntryId : flyoutItem ? < code > { flyoutItem . id } </ code > : '' ,
144+ } }
140145 />
141146 </ h3 >
142147 </ EuiTitle >
148+ { flyoutItem ? (
149+ < >
150+ < EuiSpacer size = "s" />
151+ < EuiTextColor color = "subdued" >
152+ < FormattedMessage
153+ id = "xpack.infra.logFlyout.flyoutSubTitle"
154+ defaultMessage = "From index {indexName}"
155+ values = { {
156+ indexName : < code > { flyoutItem . index } </ code > ,
157+ } }
158+ />
159+ </ EuiTextColor >
160+ </ >
161+ ) : null }
143162 </ EuiFlexItem >
144163 < EuiFlexItem grow = { false } >
145164 { flyoutItem !== null ? < LogEntryActionsMenu logEntry = { flyoutItem } /> : null }
You can’t perform that action at this time.
0 commit comments