Skip to content

Commit

Permalink
Fix Sidecars Show Messages Button
Browse files Browse the repository at this point in the history
By default all Beats collectors prefix our fields with "fields_".
Adjust the search accordingly.
Fixes #5045
  • Loading branch information
mpfz0r committed Sep 24, 2018
1 parent 6fb381e commit 277ffc8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class SidecarRow extends React.Component {
<LinkContainer to={`${Routes.SYSTEM.SIDECARS.ADMINISTRATION}?node_id=${sidecar.node_id}`}>
<Button bsSize="xsmall" bsStyle="info">Manage sidecar</Button>
</LinkContainer>
<LinkContainer to={Routes.search_with_query(`gl2_source_collector:${sidecar.node_id}`, 'relative', 604800)}>
<LinkContainer to={Routes.search_with_query(`fields_gl2_source_collector:${sidecar.node_id}`, 'relative', 604800)}>
<Button bsSize="xsmall" bsStyle="info">Show messages</Button>
</LinkContainer>
</ButtonToolbar>
Expand Down

0 comments on commit 277ffc8

Please sign in to comment.