mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
* Add default search fields for each table * Remove custom schema * We don't need it here * Add ccr tables * Fix tests
This commit is contained in:
parent
b13074d75a
commit
58a9738657
13 changed files with 47 additions and 1 deletions
|
@ -162,6 +162,9 @@ const AlertsUI = ({ alerts, angular, sorting, pagination, onTableChange, intl })
|
|||
},
|
||||
}}
|
||||
onTableChange={onTableChange}
|
||||
executeQueryOptions={{
|
||||
defaultFields: ['message', 'category']
|
||||
}}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
|
|
@ -130,6 +130,9 @@ export function ApmServerInstancesUI({ apms, intl }) {
|
|||
]
|
||||
}}
|
||||
onTableChange={onTableChange}
|
||||
executeQueryOptions={{
|
||||
defaultFields: ['name']
|
||||
}}
|
||||
/>
|
||||
</EuiPageContent>
|
||||
</EuiPageBody>
|
||||
|
|
|
@ -126,6 +126,9 @@ class ListingUI extends PureComponent {
|
|||
]
|
||||
}}
|
||||
onTableChange={onTableChange}
|
||||
executeQueryOptions={{
|
||||
defaultFields: ['name', 'type']
|
||||
}}
|
||||
/>
|
||||
</EuiPageContent>
|
||||
</EuiPageBody>
|
||||
|
|
|
@ -455,6 +455,9 @@ export class Listing extends Component {
|
|||
},
|
||||
}}
|
||||
onTableChange={onTableChange}
|
||||
executeQueryOptions={{
|
||||
defaultFields: ['cluster_name']
|
||||
}}
|
||||
/>
|
||||
</EuiPageContent>
|
||||
</EuiPageBody>
|
||||
|
|
|
@ -50,7 +50,14 @@ exports[`Ccr that it renders normally 1`] = `
|
|||
},
|
||||
]
|
||||
}
|
||||
executeQueryOptions={Object {}}
|
||||
executeQueryOptions={
|
||||
Object {
|
||||
"defaultFields": Array [
|
||||
"index",
|
||||
"follows",
|
||||
],
|
||||
}
|
||||
}
|
||||
itemId="id"
|
||||
itemIdToExpandedRowMap={Object {}}
|
||||
items={
|
||||
|
|
|
@ -140,6 +140,9 @@ class CcrUI extends Component {
|
|||
)
|
||||
}
|
||||
]}
|
||||
executeQueryOptions={{
|
||||
defaultFields: ['shardId']
|
||||
}}
|
||||
sorting={true}
|
||||
pagination={pagination}
|
||||
/>
|
||||
|
@ -239,6 +242,9 @@ class CcrUI extends Component {
|
|||
]}
|
||||
items={items}
|
||||
pagination={pagination}
|
||||
executeQueryOptions={{
|
||||
defaultFields: ['index', 'follows']
|
||||
}}
|
||||
sorting={sorting}
|
||||
itemId="id"
|
||||
itemIdToExpandedRowMap={this.state.itemIdToExpandedRowMap}
|
||||
|
|
|
@ -179,6 +179,9 @@ const ElasticsearchIndicesUI = ({
|
|||
},
|
||||
}}
|
||||
onTableChange={onTableChange}
|
||||
executeQueryOptions={{
|
||||
defaultFields: ['name']
|
||||
}}
|
||||
/>
|
||||
</EuiPageContent>
|
||||
</EuiPageBody>
|
||||
|
|
|
@ -226,6 +226,9 @@ function ElasticsearchNodesUI({ clusterStatus, nodes, showCgroupMetricsElasticse
|
|||
},
|
||||
}}
|
||||
onTableChange={onTableChange}
|
||||
executeQueryOptions={{
|
||||
defaultFields: ['name']
|
||||
}}
|
||||
/>
|
||||
</EuiPageContent>
|
||||
</EuiPageBody>
|
||||
|
|
|
@ -155,6 +155,9 @@ class ShardActivityUI extends React.Component {
|
|||
search={false}
|
||||
pagination={pagination}
|
||||
onTableChange={onTableChange}
|
||||
executeQueryOptions={{
|
||||
defaultFields: ['name']
|
||||
}}
|
||||
/>
|
||||
</Fragment>
|
||||
);
|
||||
|
|
|
@ -150,6 +150,9 @@ class ListingUI extends PureComponent {
|
|||
},
|
||||
}}
|
||||
onTableChange={onTableChange}
|
||||
executeQueryOptions={{
|
||||
defaultFields: ['name']
|
||||
}}
|
||||
/>
|
||||
</EuiPageContent>
|
||||
</EuiPageBody>
|
||||
|
|
|
@ -174,6 +174,9 @@ class PipelineListingUI extends Component {
|
|||
},
|
||||
}}
|
||||
onTableChange={onTableChange}
|
||||
executeQueryOptions={{
|
||||
defaultFields: ['id']
|
||||
}}
|
||||
/>
|
||||
</EuiPageContent>
|
||||
</EuiPageBody>
|
||||
|
|
|
@ -156,6 +156,9 @@ uiModule.directive('monitoringMlListing', kbnUrl => {
|
|||
},
|
||||
}}
|
||||
onTableChange={scope.onTableChange}
|
||||
executeQueryOptions={{
|
||||
defaultFields: ['job_id']
|
||||
}}
|
||||
/>
|
||||
</EuiPageContent>
|
||||
</EuiPageBody>
|
||||
|
|
|
@ -167,6 +167,9 @@ uiRoutes.when('/kibana/instances', {
|
|||
},
|
||||
}}
|
||||
onTableChange={this.onTableChange}
|
||||
executeQueryOptions={{
|
||||
defaultFields: ['name']
|
||||
}}
|
||||
/>
|
||||
|
||||
</EuiPageContent>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue