All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.bb8c8232-9201.254dbea333abf953c23e.js.map Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
{"version":3,"file":"bb8c8232-9201.254dbea333abf953c23e.js","mappings":"wQA2BA,MAAMA,KAAY,WAAO,eAAa;AAAA;AAAA,EAIhCC,KAAe,WAAO,QAAM,EAAE,CAAC,CAAE,MAAAC,CAAM,OAAM;AAAA,iBAClCA,EAAM,MAAM,OAAO,UAAU;AAAA,eAC/BA,EAAM,MAAM,KAAK,UAAU;AAAA,WAC/BA,EAAM,OAAO,QAAQ,OAAO,OAAO;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,SAUxC,MAAqBA,CAAK,CAAC;AAAA;AAAA;AAAA;AAAA,aAIpBA,EAAM,OAAO,OAAO,WAAW;AAAA;AAAA,SAEtC,MAAsBA,CAAK,CAAC;AAAA;AAAA;AAAA;AAAA,WAI1B,MAAsBA,CAAK,CAAC;AAAA;AAAA,CAEnC,EAEDD,EAAa,YAAc,SAyC3B,QAtBuB,CAAC,CAAE,MAAAE,CAAM,IAC9B,gBAACH,EAAA,KACEG,EAAM,IAAI,CAAC,CAAE,KAAAC,EAAM,MAAAC,EAAO,YAAAC,EAAa,eAAAC,CAAe,IAChDH,EAKH,gBAAC,KAAW,CAAC,YAAaE,GAAA,KAAAA,EAAe,CAAC,EAAG,IAAKF,CAAA,EAChD,gBAAC,IAAa,CAAC,GAAIA,EAAM,eAAgB,CAACG,CAAA,EACxC,gBAACN,EAAA,CAAa,QAAQ,QACpB,gBAAC,KAAqB,KACnBI,CACH,CACF,CACF,CACF,EAZO,IAcV,CACH,C,0GCtEF,MAAMG,EAAyC,CAC7C,oBAAqB,CAAC,EACtB,KAAM,KACN,GAAI,KACJ,YAAa,KACb,YAAa,CAAC,CAChB,EAEMC,EAAgC,MAAOC,GAAe,CAC1D,MAAMC,KAAM,MAAW,uCAAuCD,CAAE,EAAE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C,GAAI,6BAA6B,CACjJ,CACF,EAEAwO,EAAiB,OAAO,QAAQ5O,CAAO,CACzC,EAEA,WAAWV,EAAoB,CAC7B,MAAM5B,KAAM,MAAW,IAAU,uBAAuB,WAAW4B,EAAS,EAAE,EAAE,GAAG,EAC7EU,KAAU,MAAM,MAAOtC,CAAG,EAEhCsC,EAAQ,KACN,IAAM,CACJ,IAAiB,QAAQ,+BAA+BV,EAAS,KAAK,eAAgB,SAAS,CACjG,EACCc,GAAU,CACT,IAAiB,MAAM,sBAAsBd,EAAS,KAAK,oCAAoC,KAAK,cAAcc,CAAK,CAAC,GAAI,kCAAkC,CAChK,CACF,EAEAwO,EAAiB,WAAW,QAAQ5O,CAAO,CAC7C,EAEA,OAAQ,CACN,MAAMtC,KAAM,MAAW,IAAU,uBAAuB,MAAM,EAAE,GAAG,EAC7DsC,KAAU,MAAM,MAAOtC,CAAG,EAEhCsC,EACG,KACEC,IACC,KAAK,oBAAsB,CACzB,QAASA,EAAS,QAClB,UAAWA,EAAS,UACpB,KAAMA,EAAS,IACjB,EAEA,KAAK,iBAAiB,EAEfA,GAERG,GAAU,CACT,IAAiB,MAAM,uCAAuCA,EAAM,OAAO,GACzE,wCAAwC,CAC5C,CACF,EAEFwO,EAAiB,MAAM,QAAQ5O,CAAO,CACxC,EAEA,cAAcI,EAAO,CACnB,GAAI,CACF,OAAI,IAAQA,EAAM,WAAW,IAAI,EACxBA,EAAM,WAAW,KAAK,IAAI,CAAC,CAAE,QAAA0O,EAAS,KAAA3R,CAAK,IAAM,GAAGA,GAAA,KAAAA,EAAQ,EAAE,IAAI2R,CAAO,GAAG,EAAE,KAAK,GAAG,EAGxF1O,EAAM,WAAW,KAAK,OAC/B,MAAY,CACV,OAAOA,EAAM,OACf,CACF,CACF,CAAC,CACH,C","sources":["webpack://graylog-web-interface/./src/components/common/PageNavigation.tsx","webpack://graylog-web-interface/./src/components/indices/IndexSetFieldTypeProfiles/hooks/useProfile.ts","webpack://graylog-web-interface/./src/components/indices/IndexSetFieldTypeProfiles/hooks/useProfileOptions.ts","webpack://graylog-web-interface/./src/components/indices/Types.ts","webpack://graylog-web-interface/./src/components/indices/helpers/isIndexFieldTypeChangeAllowed.ts","webpack://graylog-web-interface/./src/components/indices/IndexRangeSummary.jsx","webpack://graylog-web-interface/./src/components/indices/ClosedIndexDetails.jsx","webpack://graylog-web-interface/./src/stores/indices/IndexRangesStore.ts","webpack://graylog-web-interface/./src/components/indices/IndexDetails.tsx","webpack://graylog-web-interface/./src/components/indices/IndicesConfigurationDropdown.tsx","webpack://graylog-web-interface/./src/components/indices/hooks/useIndexDefaults.ts","webpack://graylog-web-interface/./src/components/indices/data-tiering/DataTieringConfiguration.tsx","webpack://graylog-web-interface/./src/components/indices/data-tiering/DataTieringSummary.tsx","webpack://graylog-web-interface/./src/components/indices/data-tiering/DataTieringVisualisation.tsx","webpack://graylog-web-interface/./src/components/indices/data-tiering/types.ts","webpack://graylog-web-interface/./src/components/indices/IndexSetProfileConfiguration.tsx","webpack://graylog-web-interface/./src/components/indices/hooks/useIndexSet.ts","webpack://graylog-web-interface/./src/components/indices/IndexSetConfigurationForm.tsx","webpack://graylog-web-interface/./src/components/indices/IndexSetDeletionForm.jsx","webpack://graylog-web-interface/./src/components/indices/StyledIndexSetDetailsRow.tsx","webpack://graylog-web-interface/./src/components/indices/IndexSetDetails.tsx","webpack://graylog-web-interface/./src/components/indices/IndexSetsComponent.tsx","webpack://graylog-web-interface/./src/components/indices/IndexSizeSummary.jsx","webpack://graylog-web-interface/./src/components/indices/IndexSummary.jsx","webpack://graylog-web-interface/./src/stores/indices/DeflectorStore.js","webpack://graylog-web-interface/./src/components/indices/IndicesMaintenanceDropdown.tsx","webpack://graylog-web-interface/./src/components/indices/IndicesOverview.tsx","webpack://graylog-web-interface/./src/components/indices/IndicesConfiguration.tsx","webpack://graylog-web-interface/./src/components/indices/IndicesPageNavigation.tsx","webpack://graylog-web-interface/./src/components/indices/ShardMeter.jsx","webpack://graylog-web-interface/./src/components/indices/ShardRouting.tsx","webpack://graylog-web-interface/./src/components/indices/ShardRoutingOverview.jsx","webpack://graylog-web-interface/./src/hooks/useHasTypeMappingPermission.ts","webpack://graylog-web-interface/./src/stores/indices/IndexSetsStore.ts"],"sourcesContent":["/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { Button, ButtonToolbar } from 'components/bootstrap';\nimport { LinkContainer } from 'components/common/router';\nimport { IfPermitted } from 'components/common';\nimport NavItemStateIndicator, {\n  hoverIndicatorStyles,\n  activeIndicatorStyles,\n} from 'components/common/NavItemStateIndicator';\n\nconst Container = styled(ButtonToolbar)`\n  margin-bottom: 10px;\n`;\n\nconst StyledButton = styled(Button)(({ theme }) => css`\n  font-family: ${theme.fonts.family.navigation};\n  font-size: ${theme.fonts.size.navigation};\n  color: ${theme.colors.variant.darker.default};\n  \n  &:hover,\n  &:focus {\n    background: inherit;\n    text-decoration: none;\n  }\n\n  &:hover {\n    color: inherit;\n    ${hoverIndicatorStyles(theme)}\n  }\n\n  &.active {\n    color: ${theme.colors.global.textDefault};\n\n    ${activeIndicatorStyles(theme)}\n\n    &:hover,\n    &:focus {\n      ${activeIndicatorStyles(theme)}\n    }\n`);\n\nStyledButton.displayName = 'Button';\n\ntype Props = {\n  /**\n   * List of nav items. Define permissions, if the item should only be displayed for users with specific permissions.\n   * By default, an item is active if the current URL starts with the item URL.\n   * If you only want to display an item as active only when its path matches exactly, set `exactPathMatch` to true.\n   */\n  items: Array<{\n    title: string,\n    path: string,\n    permissions?: string | Array\n    exactPathMatch?: boolean,\n  }>\n}\n\n/**\n * Simple tab navigation to allow navigating to subareas of a page.\n */\nconst PageNavigation = ({ items }: Props) => (\n  \n    {items.map(({ path, title, permissions, exactPathMatch }) => {\n      if (!path) {\n        return null;\n      }\n\n      return (\n        \n          \n            \n              \n                {title}\n              \n            \n          \n        \n      );\n    })}\n  \n);\n\nexport default PageNavigation;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useQuery } from '@tanstack/react-query';\n\nimport UserNotification from 'util/UserNotification';\nimport fetch from 'logic/rest/FetchProvider';\nimport { qualifyUrl } from 'util/URLUtils';\nimport type {\n  IndexSetFieldTypeProfileJson,\n  IndexSetFieldTypeProfile,\n} from 'components/indices/IndexSetFieldTypeProfiles/types';\n\nconst INITIAL_DATA: IndexSetFieldTypeProfile = {\n  customFieldMappings: [],\n  name: null,\n  id: null,\n  description: null,\n  indexSetIds: [],\n};\n\nconst fetchIndexSetFieldTypeProfile = async (id: string) => {\n  const url = qualifyUrl(`/system/indices/index_sets/profiles/${id}`);\n\n  return fetch('GET', url).then((profile: IndexSetFieldTypeProfileJson) => ({\n    id: profile.id,\n    name: profile.name,\n    description: profile.description,\n    customFieldMappings: profile.custom_field_mappings,\n    indexSetIds: profile.index_set_ids,\n  }));\n};\n\nconst useProfile = (id: string): {\n  data: IndexSetFieldTypeProfile,\n  isFetched: boolean,\n  isFetching: boolean,\n  refetch: () => void,\n} => {\n  const { data, isFetched, isFetching, refetch } = useQuery(\n    ['indexSetFieldTypeProfile', id],\n    () => fetchIndexSetFieldTypeProfile(id),\n    {\n      onError: (errorThrown) => {\n        UserNotification.error(`Loading index field type profile failed with status: ${errorThrown}`,\n          'Could not load index field type profile');\n      },\n      keepPreviousData: true,\n      enabled: !!id,\n    },\n  );\n\n  return ({\n    data: data ?? INITIAL_DATA,\n    isFetched,\n    isFetching,\n    refetch,\n  });\n};\n\nexport default useProfile;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useQuery } from '@tanstack/react-query';\n\nimport { qualifyUrl } from 'util/URLUtils';\nimport fetch from 'logic/rest/FetchProvider';\nimport type { ProfileOptions } from 'components/indices/IndexSetFieldTypeProfiles/types';\nimport UserNotification from 'util/UserNotification';\n\nconst INITIAL_DATA = [];\n\nconst fetchProfileOptions = async () => {\n  const url = qualifyUrl('/system/indices/index_sets/profiles/all');\n\n  return fetch('GET', url).then((profiles: Array<{name: string, id: string }>) => profiles\n    .map(({ name, id }) => ({ value: id, label: name })));\n};\n\nconst useProfileOptions = (): {\n  options: ProfileOptions,\n  isLoading: boolean,\n  refetch: () => void,\n} => {\n  const { data, isLoading, refetch } = useQuery(\n    ['indexSetFieldTypeProfileOptions'],\n    () => fetchProfileOptions(),\n    {\n      onError: (errorThrown) => {\n        UserNotification.error(`Loading index field type profile options failed with status: ${errorThrown}`,\n          'Could not load index field type profile options');\n      },\n      keepPreviousData: true,\n    },\n  );\n\n  return ({\n    options: data ?? INITIAL_DATA,\n    isLoading,\n    refetch,\n  });\n};\n\nexport default useProfileOptions;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\n\nexport type MaintenanceOptions = {\n  strategies: Array\n}\n\nexport type IndicesConfigurationActionsType = {\n  loadRotationStrategies: () => Promise,\n  loadRetentionStrategies: () => Promise,\n};\n\nexport interface RotationStrategyContext {\n  time_size_optimizing_retention_fixed_leeway?: string,\n}\n\nexport type IndicesConfigurationStoreState = {\n  activeRotationConfig: any,\n  rotationStrategies: any,\n  activeRetentionConfig: any,\n  retentionStrategies: any,\n  retentionStrategiesContext: RetentionStrategyContext,\n  rotationStrategiesContext: RotationStrategyContext,\n}\nexport type SizeBasedRotationStrategyConfig = {\n  type: string,\n  max_size: number,\n}\nexport type MessageCountRotationStrategyConfig = {\n  type: string,\n  max_docs_per_index: number,\n}\nexport type TimeBasedRotationStrategyConfig = {\n  type: string,\n  rotation_period?: string,\n  max_rotation_period?: string,\n  rotate_empty_index_set?: boolean,\n}\nexport type TimeBasedSizeOptimizingRotationStrategyConfig = {\n  type: string,\n  index_lifetime_max?: string,\n  index_lifetime_min?: string,\n}\nexport type RotationStrategyConfig =\n  SizeBasedRotationStrategyConfig\n  | MessageCountRotationStrategyConfig\n  | TimeBasedRotationStrategyConfig;\nexport type RetentionStrategyConfig = {\n  type?: string,\n  max_number_of_indices?: number,\n  index_action?: string,\n}\n\nexport interface JsonSchemaStringPropertyType {\n  type: string,\n}\n\nexport interface JsonSchemaIndexActionPropertyType {\n  type: string,\n\n  enum: Array,\n}\n\nexport interface JsonSchemaBooleanPropertyType {\n  type: string;\n}\n\nexport interface RotationProperties {\n  rotation_period?: JsonSchemaStringPropertyType,\n\n  max_rotation_period?: JsonSchemaStringPropertyType,\n\n  type: JsonSchemaStringPropertyType,\n\n  max_size?: JsonSchemaStringPropertyType,\n\n  rotate_empty_index_set?: JsonSchemaBooleanPropertyType,\n\n  index_lifetime_max?: JsonSchemaBooleanPropertyType,\n\n  index_lifetime_min?: JsonSchemaBooleanPropertyType,\n}\n\nexport interface RotationJsonSchema {\n  type: string,\n\n  id: string,\n\n  properties: RotationProperties,\n}\n\nexport interface RetentionProperties {\n  max_number_of_indices: JsonSchemaStringPropertyType,\n\n  type: JsonSchemaStringPropertyType,\n\n  index_action?: JsonSchemaIndexActionPropertyType,\n}\n\nexport interface RetentionJsonSchema {\n  type: string,\n\n  id: string,\n\n  properties: RetentionProperties,\n}\n\nexport interface RotationStrategy {\n  type: string,\n\n  default_config: RotationStrategyConfig,\n\n  json_schema: RotationJsonSchema,\n}\n\nexport interface RetentionStrategy {\n  type?: string,\n\n  default_config?: RetentionStrategyConfig,\n\n  json_schema?: RetentionJsonSchema,\n}\n\nexport interface RetentionStrategyContext {\n  max_index_retention_period?: string,\n}\n\nexport interface RotationStrategyResponse {\n  total: number,\n\n  context: RotationStrategyContext,\n\n  strategies: Array,\n}\n\nexport interface RetentionStrategyResponse {\n  total: number,\n\n  strategies: Array,\n\n  context: RetentionStrategyContext,\n}\n\nexport type JsonSchema = RotationJsonSchema | RetentionJsonSchema\n\nexport type Strategy = RotationStrategy | RetentionStrategy\n\nexport type Strategies = Array\n\nexport type StrategyConfig = RotationStrategyConfig | RetentionStrategyConfig\n\nexport const RetentionStrategiesContextPropType = PropTypes.exact({\n  max_index_retention_period: PropTypes.string,\n});\nexport const SizeBasedRotationStrategyConfigPropType = PropTypes.exact({\n  type: PropTypes.string,\n  max_size: PropTypes.number,\n});\nexport const MessageCountRotationStrategyConfigPropType = PropTypes.exact({\n  type: PropTypes.string,\n  max_docs_per_index: PropTypes.number,\n});\nexport const TimeBasedRotationStrategyConfigPropType = PropTypes.exact({\n  type: PropTypes.string,\n  rotation_period: PropTypes.string,\n  max_rotation_period: PropTypes.string,\n  rotate_empty_index_set: PropTypes.bool,\n});\n\nexport const TimeBasedSizePtimizingRotationStrategyConfigPropType = PropTypes.exact({\n  type: PropTypes.string,\n  index_lifetime_max: PropTypes.string,\n  index_lifetime_min: PropTypes.string,\n});\nexport const RotationStrategyConfigPropType = PropTypes.oneOfType([\n  SizeBasedRotationStrategyConfigPropType,\n  MessageCountRotationStrategyConfigPropType,\n  TimeBasedRotationStrategyConfigPropType,\n  TimeBasedSizePtimizingRotationStrategyConfigPropType,\n]);\n\nexport const IndexActionPropType = PropTypes.string;\nexport const RetentionStrategyConfigPropType = PropTypes.shape({\n  type: PropTypes.string.isRequired,\n  max_number_of_indices: PropTypes.number,\n  index_action: PropTypes.string,\n});\n\nexport const JsonSchemaStringPropertyTypePropType = PropTypes.exact({\n  type: PropTypes.string.isRequired,\n});\nexport const JsonSchemaIndexActionPropertyTypePropType = PropTypes.exact({\n  type: PropTypes.string.isRequired,\n  enum: PropTypes.arrayOf(PropTypes.string).isRequired,\n});\nexport const RotationPropertiesPropType = PropTypes.exact({\n  rotation_period: JsonSchemaStringPropertyTypePropType,\n  max_rotation_period: JsonSchemaStringPropertyTypePropType,\n  type: JsonSchemaStringPropertyTypePropType.isRequired,\n  max_size: JsonSchemaStringPropertyTypePropType,\n  max_docs_per_index: JsonSchemaStringPropertyTypePropType,\n  rotate_empty_index_set: JsonSchemaStringPropertyTypePropType,\n  index_lifetime_max: JsonSchemaStringPropertyTypePropType,\n  index_lifetime_min: JsonSchemaStringPropertyTypePropType,\n});\nexport const RotationJsonSchemaPropType = PropTypes.exact({\n  type: PropTypes.string.isRequired,\n  id: PropTypes.string,\n  properties: RotationPropertiesPropType.isRequired,\n});\nexport const RetentionPropertiesPropType = PropTypes.exact({\n  max_number_of_indices: JsonSchemaStringPropertyTypePropType.isRequired,\n  type: JsonSchemaStringPropertyTypePropType.isRequired,\n  index_action: JsonSchemaIndexActionPropertyTypePropType,\n});\nexport const RetentionJsonSchemaPropType = PropTypes.exact({\n  type: PropTypes.string.isRequired,\n  id: PropTypes.string,\n  properties: RetentionPropertiesPropType,\n});\nexport const RotationStrategyPropType = PropTypes.exact({\n  type: PropTypes.string.isRequired,\n  default_config: RotationStrategyConfigPropType.isRequired,\n  json_schema: RotationJsonSchemaPropType.isRequired,\n});\nexport const RetentionStrategyPropType = PropTypes.exact({\n  type: PropTypes.string.isRequired,\n  default_config: RetentionStrategyConfigPropType.isRequired,\n  json_schema: RetentionJsonSchemaPropType.isRequired,\n});\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n\nimport type { IndexSet } from 'stores/indices/IndexSetsStore';\n\nconst TEMPLATE_TYPES = ['failures', 'events'];\nconst isIndexFieldTypeChangeAllowed = (indexSet: IndexSet) => !TEMPLATE_TYPES.includes(indexSet?.index_template_type);\n\nexport default isIndexFieldTypeChangeAllowed;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport RelativeTime from 'components/common/RelativeTime';\n\nclass IndexRangeSummary extends React.Component {\n  static propTypes = {\n    indexRange: PropTypes.object,\n  };\n\n  render() {\n    const { indexRange } = this.props;\n\n    if (!indexRange) {\n      return No index range available.;\n    }\n\n    return (\n      Range re-calculated{' '}\n        {' '}\n        in {indexRange.took_ms}ms.\n      \n    );\n  }\n}\n\nexport default IndexRangeSummary;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { Alert, Button } from 'components/bootstrap';\nimport IndexRangeSummary from 'components/indices/IndexRangeSummary';\nimport { IndicesActions } from 'stores/indices/IndicesStore';\n\nclass ClosedIndexDetails extends React.Component {\n  static propTypes = {\n    indexName: PropTypes.string.isRequired,\n    indexRange: PropTypes.object,\n  };\n\n  _onReopen = () => {\n    IndicesActions.reopen(this.props.indexName);\n  };\n\n  _onDeleteIndex = () => {\n    if (window.confirm(`Really delete index ${this.props.indexName}?`)) {\n      IndicesActions.delete(this.props.indexName);\n    }\n  };\n\n  render() {\n    const { indexRange } = this.props;\n\n    return (\n      
\n \n \n This index is closed. Index information is not available{' '}\n at the moment, please reopen the index and try again.\n \n\n
\n\n {' '}\n \n
\n );\n }\n}\n\nexport default ClosedIndexDetails;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport Reflux from 'reflux';\n\nimport UserNotification from 'util/UserNotification';\nimport * as URLUtils from 'util/URLUtils';\nimport ApiRoutes from 'routing/ApiRoutes';\nimport fetch from 'logic/rest/FetchProvider';\nimport { singletonStore, singletonActions } from 'logic/singleton';\n\nexport type IndexRange = {\n index_name: string,\n begin: string,\n end: string,\n calculated_at: string,\n took_ms: number,\n};\n\ntype IndexRangesActionsType = {\n list: () => Promise,\n recalculate: (indexSetId: string) => Promise,\n recalculateIndex: (indexName: string) => Promise,\n}\nexport const IndexRangesActions = singletonActions(\n 'core.IndexRanges',\n () => Reflux.createActions({\n list: { asyncResult: true },\n recalculate: { asyncResult: true },\n recalculateIndex: { asyncResult: true },\n }),\n);\n\nexport const IndexRangesStore = singletonStore(\n 'core.IndexRanges',\n () => Reflux.createStore({\n listenables: [IndexRangesActions],\n indexRanges: undefined,\n\n getInitialState() {\n return { indexRanges: this.indexRanges };\n },\n init() {\n IndexRangesActions.list();\n },\n list() {\n const url = URLUtils.qualifyUrl(ApiRoutes.IndexRangesApiController.list().url);\n const promise = fetch('GET', url).then((response) => {\n this.indexRanges = response.ranges;\n\n this.trigger(this.getInitialState());\n });\n\n IndexRangesActions.list.promise(promise);\n },\n recalculate(indexSetId) {\n const url = URLUtils.qualifyUrl(ApiRoutes.IndexRangesApiController.rebuild(indexSetId).url);\n const promise = fetch('POST', url);\n\n promise\n .then(UserNotification.success('Index ranges will be recalculated shortly'))\n .catch((error) => {\n UserNotification.error(`Could not create a job to start index ranges recalculation, reason: ${error}`,\n 'Error starting index ranges recalculation');\n });\n\n IndexRangesActions.recalculate.promise(promise);\n },\n recalculateIndex(indexName) {\n const url = URLUtils.qualifyUrl(ApiRoutes.IndexRangesApiController.rebuildSingle(indexName).url);\n const promise = fetch('POST', url);\n\n promise\n .then(UserNotification.success(`Index ranges for ${indexName} will be recalculated shortly`))\n .catch((error) => {\n UserNotification.error(`Could not create a job to start index ranges recalculation for ${indexName}, reason: ${error}`,\n `Error starting index ranges recalculation for ${indexName}`);\n });\n\n IndexRangesActions.recalculateIndex.promise(promise);\n },\n }),\n);\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React, { useCallback, useEffect, useMemo } from 'react';\n\nimport HideOnCloud from 'util/conditional/HideOnCloud';\nimport NumberUtils from 'util/NumberUtils';\nimport { Col, Row, Button } from 'components/bootstrap';\nimport { Spinner } from 'components/common';\nimport { IndexRangeSummary, ShardMeter, ShardRoutingOverview } from 'components/indices';\nimport type { IndexInfo } from 'stores/indices/IndicesStore';\nimport type { IndexRange } from 'stores/indices/IndexRangesStore';\nimport { IndexRangesActions } from 'stores/indices/IndexRangesStore';\nimport { IndicesActions } from 'stores/indices/IndicesStore';\n\ntype Props = {\n index: IndexInfo,\n indexName: string,\n indexRange: IndexRange,\n indexSetId: string,\n isDeflector: boolean,\n};\n\nconst IndexDetails = ({ index, indexName, indexRange, indexSetId, isDeflector }: Props) => {\n useEffect(() => {\n IndicesActions.subscribe(indexName);\n\n return () => {\n IndicesActions.unsubscribe(indexName);\n };\n }, [indexName]);\n\n const _onRecalculateIndex = useCallback(() => {\n // eslint-disable-next-line no-alert\n if (window.confirm(`Really recalculate the index ranges for index ${indexName}?`)) {\n IndexRangesActions.recalculateIndex(indexName).then(() => {\n IndicesActions.list(indexSetId);\n });\n }\n }, [indexName, indexSetId]);\n\n const _onDeleteIndex = useCallback(() => {\n // eslint-disable-next-line no-alert\n if (window.confirm(`Really delete index ${indexName}?`)) {\n IndicesActions.delete(indexName).then(() => {\n IndicesActions.list(indexSetId);\n });\n }\n }, [indexName, indexSetId]);\n\n const actionButtons = useMemo(() => {\n if (isDeflector) {\n return (\n \n \n \n );\n }\n\n return (\n \n {' '}\n \n \n );\n }, [isDeflector, _onDeleteIndex, _onRecalculateIndex]);\n\n if (!index || !index.all_shards) {\n return ;\n }\n\n return (\n
\n {' '}\n\n \n {NumberUtils.formatNumber(index.all_shards.segments)} segments,{' '}\n {NumberUtils.formatNumber(index.all_shards.open_search_contexts)} open search contexts,{' '}\n {NumberUtils.formatNumber(index.all_shards.documents.deleted)} deleted messages\n \n \n \n \n \n \n \n \n \n \n
\n\n {actionButtons}\n
\n );\n};\n\nIndexDetails.propTypes = {\n index: PropTypes.object.isRequired,\n indexName: PropTypes.string.isRequired,\n indexRange: PropTypes.object.isRequired,\n indexSetId: PropTypes.string.isRequired,\n isDeflector: PropTypes.bool.isRequired,\n};\n\nexport default IndexDetails;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useCallback } from 'react';\n\nimport useHistory from 'routing/useHistory';\nimport { ButtonGroup, DropdownButton, MenuItem } from 'components/bootstrap';\nimport Routes from 'routing/Routes';\nimport useHasTypeMappingPermission from 'hooks/useHasTypeMappingPermission';\n\nconst IndicesConfigurationDropdown = ({ indexSetId }: { indexSetId: string }) => {\n const hasMappingPermission = useHasTypeMappingPermission();\n const history = useHistory();\n const onShowFieldTypes = useCallback(() => {\n history.push(Routes.SYSTEM.INDEX_SETS.FIELD_TYPES(indexSetId));\n }, [history, indexSetId]);\n\n if (!hasMappingPermission) return null;\n\n return (\n \n \n {hasMappingPermission && Configure index field types}\n \n \n );\n};\n\nexport default IndicesConfigurationDropdown;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport { useQuery } from '@tanstack/react-query';\n\nimport UserNotification from 'util/UserNotification';\nimport fetch from 'logic/rest/FetchProvider';\nimport { qualifyUrl } from 'util/URLUtils';\nimport ApiRoutes from 'routing/ApiRoutes';\nimport type { IndexSetsDefaultConfiguration } from 'stores/indices/IndexSetsStore';\n\nconst fetchIndexDefaults: () => Promise = () => fetch('GET', qualifyUrl(`${ApiRoutes.ClusterConfigResource.config().url}/org.graylog2.configuration.IndexSetsDefaultConfiguration`));\n\nconst useIndexDefaults = () => {\n const { data, isLoading } = useQuery(\n ['index-defaults'],\n fetchIndexDefaults,\n {\n onError: (fetchError: Error) => {\n UserNotification.error(`Error fetching index defaults: ${fetchError.message}`);\n },\n retry: 1,\n },\n );\n\n return {\n loadingIndexDefaultsConfig: isLoading,\n indexDefaultsConfig: data,\n };\n};\n\nexport default useIndexDefaults;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport moment from 'moment';\nimport { useFormikContext } from 'formik';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport type { IndexSet, IndexSetFormValues } from 'stores/indices/IndexSetsStore';\nimport { FormikFormGroup, FormikInput } from 'components/common';\nimport { Input } from 'components/bootstrap';\nimport { DATA_TIERING_TYPE } from 'components/indices/data-tiering';\n\nconst dayFields = ['index_lifetime_max', 'index_lifetime_min', 'index_hot_lifetime_min'];\nconst hotWarmOnlyFormFields = ['index_hot_lifetime_min', 'warm_tier_enabled', 'warm_tier_repository_name'];\n\nexport const durationToRoundedDays = (duration: string) => Math.round(moment.duration(duration).asDays());\n\nexport const prepareDataTieringInitialValues = (values: IndexSet) : IndexSetFormValues => {\n if (!values.data_tiering) return values as unknown as IndexSetFormValues;\n\n let { data_tiering } = values;\n\n dayFields.forEach((field) => {\n if (data_tiering[field]) {\n const numberValue = durationToRoundedDays(data_tiering[field]);\n data_tiering = { ...data_tiering, [field]: numberValue };\n }\n });\n\n return { ...values, data_tiering } as unknown as IndexSetFormValues;\n};\n\nexport const prepareDataTieringConfig = (values: IndexSetFormValues, pluginStore) : IndexSet => {\n if (!values.data_tiering) return values as unknown as IndexSet;\n\n const hotWarmDefaultValues = {\n archive_before_deletion: false,\n warm_tier_enabled: false,\n warm_tier_repository_name: null,\n };\n\n const dataTieringPlugin = pluginStore.exports('dataTiering').find((plugin) => (plugin.type === DATA_TIERING_TYPE.HOT_WARM));\n const dataTieringType = dataTieringPlugin?.type ?? DATA_TIERING_TYPE.HOT_ONLY;\n\n let { data_tiering } = values;\n\n if (dataTieringType === DATA_TIERING_TYPE.HOT_WARM) {\n data_tiering = { ...hotWarmDefaultValues, ...data_tiering };\n }\n\n if (dataTieringType === DATA_TIERING_TYPE.HOT_ONLY) {\n hotWarmOnlyFormFields.forEach((field) => {\n delete data_tiering[field];\n });\n }\n\n dayFields.forEach((field) => {\n if (data_tiering[field]) {\n data_tiering = { ...data_tiering, [field]: `P${data_tiering[field]}D` };\n }\n });\n\n data_tiering = { ...data_tiering, type: dataTieringType };\n\n return { ...values, data_tiering } as unknown as IndexSet;\n};\n\nconst DataTieringConfiguration = () => {\n const dataTieringPlugin = PluginStore.exports('dataTiering').find((plugin) => (plugin.type === 'hot_warm'));\n\n const { values } = useFormikContext();\n\n const validateMaxDaysInStorage = (value) => {\n if (value < 0) {\n return 'Negative numbers are not allowed.';\n }\n\n return '';\n };\n\n const validateMinDaysInStorage = (value) => {\n const errors = [];\n\n if (value < 0) {\n errors.push('Negative numbers are not allowed.');\n }\n\n if (value > values?.data_tiering?.index_lifetime_max) {\n errors.push('Min. days in storage needs to be smaller than max. days in storage.');\n }\n\n if (values?.data_tiering?.warm_tier_enabled && value < values?.data_tiering?.index_hot_lifetime_min) {\n errors.push('Min. days in storage needs to be bigger than min. days in hot tier.');\n }\n\n if (errors.length > 0) {\n return errors.join(' ');\n }\n\n return '';\n };\n\n return (\n <>\n \n \n\n {dataTieringPlugin && (\n <>\n \n \n \n \n \n )}\n \n );\n};\n\nexport default DataTieringConfiguration;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\n\nimport type { DataTieringConfig } from 'components/indices/data-tiering';\nimport { durationToRoundedDays } from 'components/indices/data-tiering';\n\ntype Props = {\n config: DataTieringConfig\n}\n\nconst DataTieringSummary = ({ config } : Props) => (\n
\n
\n
Rotation strategy:
\n
Data Tiering
\n
Max. in storage:
\n
{durationToRoundedDays(config.index_lifetime_max)} days
\n
Min. in storage:
\n
{durationToRoundedDays(config.index_lifetime_min)} days
\n
\n
\n);\n\nexport default DataTieringSummary;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useState } from 'react';\nimport styled, { css, useTheme } from 'styled-components';\n\nimport { Tooltip } from 'components/bootstrap';\n\ntype Props = {\n minDays?: number,\n maxDays?: number,\n minDaysInHot?: number,\n warmTierEnabled?: boolean,\n archiveData?: boolean,\n}\n\ntype BarProps = {\n value: number,\n color: string\n}\n\ntype LabelProps = {\n value: number,\n}\n\nconst VisualisationWrapper = styled.div(({ theme }) => css`\n padding-left: ${theme.spacings.md};\n padding-right: ${theme.spacings.md};\n display: flex;\n align-items: center;\n justify-content: space-between;\n`);\n\nconst BarWrapper = styled.div`\n overflow: hidden;\n width: 100%;\n`;\n\nconst MaxDaysLabel = styled.p(({ theme }) => css`\n margin-left: ${theme.spacings.sm};\n margin-bottom: 0;\n`);\n\nconst AnnotationBar = styled.div`\n position: relative;\n height: 60px;\n`;\n\nconst LifeCycleBar = styled.div(({ theme }) => css`\n height: 40px;\n background: ${theme.colors.variant.lighter.info};\n position: relative;\n`);\n\nconst Bar = styled.div(({ theme, value, color }) => css`\n height: 100%;\n font-size: ${theme.fonts.size.small};\n text-align: center;\n flex-shrink: 0;\n background-color: ${color};\n transition: width 500ms ease-in-out;\n position: absolute;\n left: 0;\n width: ${value}%;\n max-width: 100%;\n cursor: pointer;\n\n &::after {\n border-right: 1px solid ${theme.colors.variant.darkest.info};\n content: '';\n position: absolute;\n right: 0;\n bottom: 0;\n height: 60px;\n z-index: 1;\n }\n`);\n\nconst Label = styled.div(({ value }) => css`\n position: absolute;\n bottom: 25px;\n ${value > 3\n ? `right: ${100 - value}%;`\n : 'left: 0;'}\n`);\n\nconst StyledTooltip = styled(Tooltip)(({ value }) => css`\n position: absolute;\n top: 0;\n \n ${value > 12\n ? `\n right: ${100 - value}%;\n\n &.bottom > .tooltip-arrow {\n margin-left: -20px;\n }\n `\n : `\n left: 0;\n margin-left: 3px;\n `} \n`);\n\nconst DataTieringVisualisation = ({ archiveData, minDays, maxDays, minDaysInHot, warmTierEnabled }: Props) => {\n const [showMinDaysTooltip, setShowMinDaysTooltip] = useState(false);\n const [showMinDaysInHotTooltip, setShowMinDaysInHotTooltip] = useState(false);\n const theme = useTheme();\n\n const percentageFor = (days: number) => {\n if (days <= 0 || maxDays <= 0) return 0;\n\n return ((days / maxDays) * 100);\n };\n\n const minDaysPercentage = percentageFor(minDays);\n const minDaysInHotPercentage = percentageFor(minDaysInHot);\n\n const showHotTier = warmTierEnabled && minDaysInHotPercentage > 0;\n\n return (\n \n \n \n {minDaysPercentage > 0 && ()}\n {showHotTier && (minDaysInHotPercentage !== minDaysPercentage) && (\n \n )}\n \n\n \n setShowMinDaysTooltip(true)}\n onMouseLeave={() => setShowMinDaysTooltip(false)} />\n {showHotTier && (\n setShowMinDaysInHotTooltip(true)}\n onMouseLeave={() => setShowMinDaysInHotTooltip(false)} />\n )}\n \n \n {showHotTier && showMinDaysInHotTooltip && (\n minDaysInHotPercentage === minDaysPercentage ? (\n \n Min. # of days in Hot Tier and storage\n \n ) : (\n \n Min. # of days in Hot Tier\n \n )\n )}\n {minDaysPercentage > 0 && showMinDaysTooltip && (\n \n Min. # of days in storage\n \n )}\n \n \n {archiveData ? 'Archived and deleted' : 'Deleted'} after {maxDays} days\n \n );\n};\n\nexport default DataTieringVisualisation;\n\nDataTieringVisualisation.defaultProps = {\n minDays: 0,\n maxDays: 0,\n minDaysInHot: 0,\n warmTierEnabled: false,\n archiveData: false,\n};\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nexport const DATA_TIERING_TYPE = {\n HOT_ONLY: 'hot_only',\n HOT_WARM: 'hot_warm',\n} as const;\n\nexport type DataTieringType = typeof DATA_TIERING_TYPE[keyof typeof DATA_TIERING_TYPE];\n\nexport type DataTieringConfig = {\n type: DataTieringType\n index_lifetime_min: string,\n index_lifetime_max: string,\n index_hot_lifetime_min?: string,\n warm_tier_enabled?: boolean,\n archive_before_deletion?: boolean,\n warm_tier_repository_name?: string | null,\n}\n\nexport type DataTieringFormValues = {\n type: DataTieringType\n index_lifetime_min: number,\n index_lifetime_max: number,\n index_hot_lifetime_min?: number,\n warm_tier_enabled: boolean,\n archive_before_deletion: boolean,\n warm_tier_repository_name?: string | null,\n}\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport { styled } from 'styled-components';\n\nimport { Alert, Col, Input, Row } from 'components/bootstrap';\nimport { Select } from 'components/common';\nimport Routes from 'routing/Routes';\nimport { Link } from 'components/common/router';\nimport useProfileOptions from 'components/indices/IndexSetFieldTypeProfiles/hooks/useProfileOptions';\n\nconst StyledAlert = styled(Alert)`\n overflow: auto;\n margin-right: 15px;\n margin-left: 15px;\n`;\nconst StyledSelect = styled(Select)`\n margin-bottom: 10px;\n`;\nconst StyledH3 = styled.h3`\n margin-bottom: 10px;\n`;\n\nconst IndexSetProfileConfiguration = ({ value, onChange, name }: { name: string, value: string, onChange: (value: string | null) => void }) => {\n const { isLoading, options } = useProfileOptions();\n const _onChange = (val: string) => onChange(val || null);\n\n return (\n
\n Index Set Profile\n \n With index set field type profiles you can bundle up custom field types into profiles.\n You can assign any profile to this index set. To see and use profile setting for index set, you have to rotate indices.\n \n \n \n \n \n \n \n \n
\n );\n};\n\nexport default IndexSetProfileConfiguration;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\n\nimport { useEffect, useState } from 'react';\nimport type { Dispatch, SetStateAction } from 'react';\nimport moment from 'moment';\n\nimport useIndexDefaults from 'components/indices/hooks/useIndexDefaults';\nimport type { IndexSet } from 'stores/indices/IndexSetsStore';\nimport type {\n RotationStrategyConfig,\n RetentionStrategyConfig,\n} from 'components/indices/Types';\n\nconst useIndexSet = (initialIndexSet?: IndexSet) :[IndexSet, Dispatch>] => {\n const { loadingIndexDefaultsConfig, indexDefaultsConfig } = useIndexDefaults();\n const [indexSet, setIndexSet] = useState(initialIndexSet);\n\n useEffect(() => {\n if (loadingIndexDefaultsConfig || !indexDefaultsConfig) return;\n\n const defaultIndexSet: IndexSet = {\n title: '',\n description: '',\n index_prefix: indexDefaultsConfig.index_prefix,\n writable: true,\n can_be_default: true,\n shards: indexDefaultsConfig.shards,\n data_tiering: indexDefaultsConfig.data_tiering,\n replicas: indexDefaultsConfig.replicas,\n rotation_strategy_class: indexDefaultsConfig.rotation_strategy_class,\n rotation_strategy: indexDefaultsConfig.rotation_strategy_config as RotationStrategyConfig,\n retention_strategy_class: indexDefaultsConfig.retention_strategy_class,\n retention_strategy: indexDefaultsConfig.retention_strategy_config as RetentionStrategyConfig,\n index_analyzer: indexDefaultsConfig.index_analyzer,\n index_optimization_max_num_segments: indexDefaultsConfig.index_optimization_max_num_segments,\n index_optimization_disabled: indexDefaultsConfig.index_optimization_disabled,\n field_type_refresh_interval: moment.duration(indexDefaultsConfig.field_type_refresh_interval, indexDefaultsConfig.field_type_refresh_interval_unit).asMilliseconds(),\n };\n\n if (initialIndexSet) {\n const initialIndexWithoutNullValues = Object.fromEntries(Object.entries(initialIndexSet).filter(([_, v]) => v != null));\n setIndexSet({ ...defaultIndexSet, ...initialIndexWithoutNullValues });\n } else {\n setIndexSet({ ...defaultIndexSet });\n }\n }, [loadingIndexDefaultsConfig, indexDefaultsConfig, initialIndexSet]);\n\n return [indexSet, setIndexSet];\n};\n\nexport default useIndexSet;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useState, useCallback } from 'react';\nimport type { Dispatch, SetStateAction } from 'react';\nimport PropTypes from 'prop-types';\nimport moment from 'moment';\nimport { Formik, Form, Field } from 'formik';\nimport styled, { css } from 'styled-components';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport AppConfig from 'util/AppConfig';\nimport { FormikFormGroup, FormikInput, FormSubmit, Spinner, TimeUnitInput } from 'components/common';\nimport useIndexDefaults from 'components/indices/hooks/useIndexDefaults';\nimport HideOnCloud from 'util/conditional/HideOnCloud';\nimport { Col, Row, Input, SegmentedControl } from 'components/bootstrap';\nimport IndexMaintenanceStrategiesConfiguration from 'components/indices/IndexMaintenanceStrategiesConfiguration';\nimport 'components/indices/rotation';\nimport 'components/indices/retention';\nimport { DataTieringConfiguration, DataTieringVisualisation, prepareDataTieringConfig, prepareDataTieringInitialValues } from 'components/indices/data-tiering';\nimport type { IndexSet, IndexSetFormValues } from 'stores/indices/IndexSetsStore';\nimport { IndexSetPropType } from 'stores/indices/IndexSetsStore';\nimport type {\n RotationStrategyConfig,\n RetentionStrategyConfig,\n RetentionStrategyContext,\n Strategies,\n} from 'components/indices/Types';\nimport IndexRetentionProvider from 'components/indices/contexts/IndexRetentionProvider';\nimport useHistory from 'routing/useHistory';\nimport IndexSetProfileConfiguration from 'components/indices/IndexSetProfileConfiguration';\nimport useFeature from 'hooks/useFeature';\nimport useIndexSet from 'components/indices/hooks/useIndexSet';\nimport isIndexFieldTypeChangeAllowed from 'components/indices/helpers/isIndexFieldTypeChangeAllowed';\n\ntype Props = {\n cancelLink: string,\n create?: boolean,\n indexSet?: IndexSet,\n onUpdate: (indexSet: IndexSet) => void,\n retentionStrategies: Strategies,\n retentionStrategiesContext: RetentionStrategyContext,\n rotationStrategies: Strategies,\n submitButtonText: string,\n submitLoadingText?: string,\n};\n\ntype RotationStrategiesProps = {\n rotationStrategies: Array,\n indexSetRotationStrategy: RotationStrategyConfig,\n indexSetRotationStrategyClass: string\n}\n\ntype RetentionConfigProps = {\n retentionStrategies: Array,\n retentionStrategiesContext: RetentionStrategyContext,\n indexSetRetentionStrategy: RetentionStrategyConfig,\n IndexSetRetentionStrategyClass: string\n}\n\ntype Unit = 'seconds' | 'minutes';\n\ntype RetentionConfigSegment = 'data_tiering' | 'legacy'\n\nconst StyledFormSubmit = styled(FormSubmit)`\n margin-left: 0;\n`;\n\nconst ConfigSegmentsTitle = styled.h2(({ theme }) => css`\n margin-bottom: ${theme.spacings.sm};\n`);\n\nconst ConfigSegment = styled.div(({ theme }) => css`\n margin-bottom: ${theme.spacings.xs};\n margin-top: ${theme.spacings.md};\n`);\n\nconst _validateIndexPrefix = (value: string) => {\n let error: string;\n\n if (value?.length === 0) {\n error = 'Invalid index prefix: cannot be empty';\n } else if (value?.indexOf('_') === 0 || value?.indexOf('-') === 0 || value?.indexOf('+') === 0) {\n error = 'Invalid index prefix: must start with a letter or number';\n } else if (value?.toLocaleLowerCase() !== value) {\n error = 'Invalid index prefix: must be lower case';\n } else if (!value?.match(/^[a-z0-9][a-z0-9_\\-+]*$/)) {\n error = 'Invalid index prefix: must only contain letters, numbers, \\'_\\', \\'-\\' and \\'+\\'';\n }\n\n return error;\n};\n\nconst _getRotationConfigState = (strategy: string, data: RotationStrategyConfig) => ({\n rotation_strategy_class: strategy,\n rotation_strategy: data,\n});\n\nconst _getRetentionConfigState = (strategy: string, data: RetentionStrategyConfig) => ({\n retention_strategy_class: strategy,\n retention_strategy: data,\n});\n\nconst RotationStrategies = ({ rotationStrategies, indexSetRotationStrategy, indexSetRotationStrategyClass }: RotationStrategiesProps) => {\n if (!rotationStrategies) return ;\n\n return (\n \n );\n};\n\nconst RetentionConfig = ({ retentionStrategies, retentionStrategiesContext, indexSetRetentionStrategy, IndexSetRetentionStrategyClass }: RetentionConfigProps) => {\n if (!retentionStrategies) return ;\n\n return (\n \n );\n};\n\nconst ReadOnlyConfig = () => {\n const indexPrefixHelp = (\n \n A unique prefix used in Elasticsearch indices belonging to this index set.\n The prefix must start with a letter or number, and can only contain letters, numbers, '_', '-' and '+'.\n \n );\n\n return (\n \n \n \n \n );\n};\n\nconst IndexSetConfigurationForm = ({\n indexSet: initialIndexSet,\n rotationStrategies,\n retentionStrategies,\n retentionStrategiesContext,\n create,\n onUpdate,\n cancelLink,\n submitButtonText,\n submitLoadingText,\n} : Props) => {\n const history = useHistory();\n\n const [fieldTypeRefreshIntervalUnit, setFieldTypeRefreshIntervalUnit] = useState('seconds');\n const { loadingIndexDefaultsConfig, indexDefaultsConfig } = useIndexDefaults();\n const [indexSet] = useIndexSet(initialIndexSet);\n const isCloud = AppConfig.isCloud();\n const enableDataTieringCloud = useFeature('data_tiering_cloud');\n\n const retentionConfigSegments: Array<{value: RetentionConfigSegment, label: string}> = [\n { value: 'data_tiering', label: 'Data Tiering' },\n { value: 'legacy', label: 'Legacy (Deprecated)' },\n ];\n\n const initialSegment = () : RetentionConfigSegment => {\n if (indexSet?.use_legacy_rotation) return 'legacy';\n\n return 'data_tiering';\n };\n\n const [selectedRetentionSegment, setSelectedRetentionSegment] = useState(initialSegment());\n\n const prepareRetentionConfigBeforeSubmit = useCallback((values: IndexSetFormValues) : IndexSet => {\n const legacyConfig = { ...values, data_tiering: indexDefaultsConfig.data_tiering, use_legacy_rotation: true };\n\n if (isCloud && !enableDataTieringCloud) {\n return legacyConfig;\n }\n\n if (selectedRetentionSegment === 'legacy') {\n return legacyConfig;\n }\n\n const configWithDataTiering = prepareDataTieringConfig(values, PluginStore);\n\n if (loadingIndexDefaultsConfig || !indexDefaultsConfig) return { ...configWithDataTiering, use_legacy_rotation: false };\n\n const legacyDefaultConfig = {\n rotation_strategy_class: indexDefaultsConfig.rotation_strategy_class,\n rotation_strategy: indexDefaultsConfig.rotation_strategy_config as RotationStrategyConfig,\n retention_strategy_class: indexDefaultsConfig.retention_strategy_class,\n retention_strategy: indexDefaultsConfig.retention_strategy_config as RetentionStrategyConfig,\n };\n\n return { ...configWithDataTiering, ...legacyDefaultConfig, use_legacy_rotation: false };\n }, [loadingIndexDefaultsConfig, indexDefaultsConfig, selectedRetentionSegment, enableDataTieringCloud, isCloud]);\n\n const saveConfiguration = (values: IndexSetFormValues) => onUpdate(prepareRetentionConfigBeforeSubmit(values));\n\n const onFieldTypeRefreshIntervalChange = (\n intervalValue: number,\n unit: Unit,\n name: string,\n onChange: (name: string, value: number) => void,\n setFieldValue: (key: string, value: number) => void) => {\n onChange(name, moment.duration(intervalValue, unit).asMilliseconds());\n setFieldValue(name, moment.duration(intervalValue, unit).asMilliseconds());\n setFieldTypeRefreshIntervalUnit(unit);\n };\n\n if (!indexSet) return null;\n\n const {\n rotation_strategy: indexSetRotationStrategy,\n rotation_strategy_class: indexSetRotationStrategyClass,\n retention_strategy: indexSetRetentionStrategy,\n retention_strategy_class: IndexSetRetentionStrategyClass,\n } = indexSet;\n\n const onCancel = () => history.push(cancelLink);\n\n if (loadingIndexDefaultsConfig) return ();\n\n return (\n \n \n \n {({ isValid, setFieldValue, isSubmitting, values }) => (\n \n
\n \n \n \n \n {create && }\n \n \n \n \n \n \n \n \n {({ field: { name, value, onChange } }) => (\n \n onFieldTypeRefreshIntervalChange(\n intervalValue, unit, name, onChange, setFieldValue,\n )} />\n \n )}\n \n \n \n \n {isCloud && !enableDataTieringCloud ? (\n <>\n {indexSet.writable && }\n {indexSet.writable && }\n \n ) : (\n <>\n Rotation and Retention\n >} />\n\n {selectedRetentionSegment === 'data_tiering' ? (\n \n

Data Tiering Configuration

\n \n \n
\n )\n : (\n \n {indexSet.writable && }\n {indexSet.writable && }\n \n )}\n\n \n )}\n\n {isIndexFieldTypeChangeAllowed(indexSet) && (\n \n {({ field: { name, value } }) => (\n {\n setFieldValue(name, profileId);\n }}\n name={name} />\n )}\n \n )}\n \n \n \n \n \n \n
\n )}\n
\n \n
\n );\n};\n\nIndexSetConfigurationForm.propTypes = {\n indexSet: IndexSetPropType,\n rotationStrategies: PropTypes.array.isRequired,\n retentionStrategies: PropTypes.array.isRequired,\n retentionStrategiesContext: PropTypes.shape({\n max_index_retention_period: PropTypes.string,\n }).isRequired,\n create: PropTypes.bool,\n onUpdate: PropTypes.func.isRequired,\n cancelLink: PropTypes.string.isRequired,\n submitButtonText: PropTypes.string.isRequired,\n submitLoadingText: PropTypes.string.isRequired,\n};\n\nIndexSetConfigurationForm.defaultProps = {\n create: false,\n indexSet: undefined,\n};\n\nexport default IndexSetConfigurationForm;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { defaultCompare as naturalSort } from 'logic/DefaultCompare';\nimport { Spinner } from 'components/common';\nimport { Alert, Row, Col, Input } from 'components/bootstrap';\nimport BootstrapModalForm from 'components/bootstrap/BootstrapModalForm';\nimport { StreamsStore } from 'stores/streams/StreamsStore';\n\nclass IndexSetDeletionForm extends React.Component {\n static propTypes = {\n indexSet: PropTypes.object.isRequired,\n onDelete: PropTypes.func.isRequired,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n showModal: false,\n assignedStreams: undefined,\n deleteIndices: true,\n };\n }\n\n _onModalOpen = () => {\n StreamsStore.load((streams) => {\n const assignedStreams = [];\n\n streams.forEach((stream) => {\n if (stream.index_set_id === this.props.indexSet.id) {\n assignedStreams.push({ id: stream.id, title: stream.title });\n }\n });\n\n this.setState({ assignedStreams: assignedStreams });\n });\n };\n\n // eslint-disable-next-line react/no-unused-class-component-methods\n open = () => {\n this.setState({ showModal: true }, this._onModalOpen);\n };\n\n close = () => {\n this.setState({ showModal: false });\n };\n\n _onRemoveClick = (e) => {\n this.setState({ deleteIndices: e.target.checked });\n };\n\n _isLoading = () => !this.state.assignedStreams;\n\n _isDeletable = () => !this._isLoading() && this.state.assignedStreams.length < 1 && !this.props.indexSet.default;\n\n _modalContent = () => {\n if (this._isLoading()) {\n return ;\n }\n\n if (this.props.indexSet.default) {\n return (\n \n \n \n Unable to delete the index set because it is the default index set!\n \n \n \n );\n }\n\n if (!this._isDeletable()) {\n const assignedStreams = this.state.assignedStreams\n .sort((s1, s2) => naturalSort(s1.title, s2.title))\n .map((stream) =>
  • {stream.title}
  • );\n\n return (\n
    \n \n \n \n Unable to delete the index set because it has assigned streams. Remove stream assignments to be able to delete this index set.\n \n \n \n \n \n

    Assigned streams:

    \n
      \n {assignedStreams}\n
    \n \n
    \n
    \n );\n }\n\n return (\n \n \n All indices related to this index set will be deleted from Elasticsearch.}\n checked={this.state.deleteIndices}\n onChange={this._onRemoveClick} />\n \n \n );\n };\n\n _onDelete = (e) => {\n e.preventDefault();\n\n if (this._isDeletable()) {\n this.props.onDelete(this.props.indexSet, this.state.deleteIndices);\n this.close();\n }\n };\n\n render() {\n return (\n \n {this._modalContent()}\n \n );\n }\n}\n\nexport default IndexSetDeletionForm;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport styled from 'styled-components';\n\nimport { Row } from 'components/bootstrap';\n\nconst StyledIndexSetDetailsRow = styled(Row)`\ndl {\n margin-bottom: 0;\n\n dt {\n float: left;\n width: 190px;\n overflow: hidden;\n clear: left;\n text-align: left;\n text-overflow: ellipsis;\n white-space: nowrap;\n }\n\n dd {\n margin-left: 180px;\n }\n}\n`;\n\nexport default StyledIndexSetDetailsRow;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport HideOnCloud from 'util/conditional/HideOnCloud';\nimport { Col } from 'components/bootstrap';\nimport { IndicesConfiguration } from 'components/indices';\nimport type { IndexSet } from 'stores/indices/IndexSetsStore';\nimport useProfile from 'components/indices/IndexSetFieldTypeProfiles/hooks/useProfile';\nimport { Link } from 'components/common/router';\nimport Routes from 'routing/Routes';\n\nimport StyledIndexSetDetailsRow from './StyledIndexSetDetailsRow';\n\ntype Props = {\n indexSet: IndexSet,\n};\n\nconst IndexSetDetails = ({ indexSet }: Props) => {\n const { data: { name: profileName }, isFetching } = useProfile(indexSet.field_type_profile);\n\n return (\n \n \n
    \n
    Index prefix:
    \n
    {indexSet.index_prefix}
    \n \n
    Shards:
    \n
    {indexSet.shards}
    \n
    Replicas:
    \n
    {indexSet.replicas}
    \n
    \n
    Field type refresh interval:
    \n
    {indexSet.field_type_refresh_interval / 1000.0} seconds
    \n
    Field type profile:
    \n {!isFetching && (\n
    \n {indexSet.field_type_profile\n ? (\n \n {profileName}\n \n )\n : Not set}\n
    \n )}\n
    \n \n\n \n \n \n
    \n );\n};\n\nIndexSetDetails.propTypes = { indexSet: PropTypes.object.isRequired };\nexport default IndexSetDetails;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React, { useEffect, useState, useCallback, useRef } from 'react';\nimport styled, { css } from 'styled-components';\n\nimport type { PaginationQueryParameterResult } from 'hooks/usePaginationQueryParameter';\nimport ButtonToolbar from 'components/bootstrap/ButtonToolbar';\nimport { Link, LinkContainer } from 'components/common/router';\nimport { Button, Col, DropdownButton, Label, MenuItem, Row } from 'components/bootstrap';\nimport { EntityList, EntityListItem, PaginatedList, SearchForm, Spinner } from 'components/common';\nimport Routes from 'routing/Routes';\nimport StringUtils from 'util/StringUtils';\nimport NumberUtils from 'util/NumberUtils';\nimport { useStore } from 'stores/connect';\nimport { IndexSetDeletionForm, IndexSetDetails } from 'components/indices';\nimport usePaginationQueryParameter from 'hooks/usePaginationQueryParameter';\nimport type { IndexSetsStoreState, IndexSet, IndexSetStats } from 'stores/indices/IndexSetsStore';\nimport { IndexSetsActions, IndexSetsStore } from 'stores/indices/IndexSetsStore';\nimport { getPathnameWithoutId } from 'util/URLUtils';\nimport useSendTelemetry from 'logic/telemetry/useSendTelemetry';\nimport useLocation from 'routing/useLocation';\nimport { TELEMETRY_EVENT_TYPE } from 'logic/telemetry/Constants';\n\nconst Toolbar = styled(Row)(({ theme }) => css`\n border-bottom: 1px solid ${theme.colors.gray[90]};\n padding-bottom: ${theme.spacings.sm};\n`);\n\nconst GlobalStatsCol = styled(Col)(({ theme }) => css`\n display: flex;\n align-items: center;\n gap: ${theme.spacings.xs};\n`);\n\nconst GlobalStats = styled.p`\n margin-bottom: 0;\n`;\n\nconst StatsInfoText = styled.span`\n font-style: italic;\n`;\n\nconst formatStatsString = (stats: IndexSetStats) => {\n if (!stats) {\n return 'N/A';\n }\n\n const indices = `${NumberUtils.formatNumber(stats.indices)} ${StringUtils.pluralize(stats.indices, 'index', 'indices')}`;\n const documents = `${NumberUtils.formatNumber(stats.documents)} ${StringUtils.pluralize(stats.documents, 'document', 'documents')}`;\n const size = NumberUtils.formatBytes(stats.size);\n\n return `${indices}, ${documents}, ${size}`;\n};\n\nconst IndexSetsComponent = () => {\n const DEFAULT_PAGE_NUMBER = 1;\n const DEFAULT_PAGE_SIZE = 10;\n const SEARCH_MIN_TERM_LENGTH = 3;\n const { indexSetsCount, indexSets, indexSetStats, globalIndexSetStats } = useStore(IndexSetsStore);\n const { page, resetPage }: PaginationQueryParameterResult = usePaginationQueryParameter();\n const sendTelemetry = useSendTelemetry();\n const { pathname } = useLocation();\n\n const [statsEnabled, setStatsEnabled] = useState(false);\n const [searchTerm, setSearchTerm] = useState(undefined);\n\n const formsRef = useRef<{ [key: string]: { open:() => void } }>();\n\n const loadData = useCallback((pageNumber: number = DEFAULT_PAGE_NUMBER, limit: number = DEFAULT_PAGE_SIZE) => {\n if (searchTerm) {\n IndexSetsActions.searchPaginated(searchTerm, (pageNumber - 1) * limit, limit, statsEnabled);\n } else {\n IndexSetsActions.listPaginated((pageNumber - 1) * limit, limit, statsEnabled);\n }\n }, [statsEnabled, searchTerm]);\n\n useEffect(() => {\n loadData(page);\n }, [loadData, page]);\n\n useEffect(() => {\n if (statsEnabled) {\n IndexSetsActions.stats();\n }\n }, [statsEnabled]);\n\n const onSearch = (query) => {\n if (query && query.length >= SEARCH_MIN_TERM_LENGTH) {\n setSearchTerm(query);\n resetPage();\n } else if (!query || query.length === 0) {\n setSearchTerm(query);\n resetPage();\n }\n };\n\n const onSearchReset = () => {\n setSearchTerm(undefined);\n resetPage();\n };\n\n const onToggleStats = () => {\n setStatsEnabled(!statsEnabled);\n };\n\n const onSetDefault = (indexSet: IndexSet) => () => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.INDICES.INDEX_SET_DEFAULT_SET, {\n app_pathname: getPathnameWithoutId(pathname),\n app_section: 'index-sets',\n app_action_value: 'set-default-index-set',\n });\n\n IndexSetsActions.setDefault(indexSet).then(() => loadData());\n };\n\n const onDelete = (indexSet: IndexSet) => () => {\n formsRef.current[`index-set-deletion-form-${indexSet.id}`].open();\n };\n\n const deleteIndexSet = (indexSet: IndexSet, deleteIndices: boolean) => {\n sendTelemetry(TELEMETRY_EVENT_TYPE.INDICES.INDEX_SET_DELETED, {\n app_pathname: getPathnameWithoutId(pathname),\n app_section: 'index-sets',\n app_action_value: 'delete-index-set',\n });\n\n IndexSetsActions.delete(indexSet, deleteIndices).then(() => {\n resetPage();\n loadData(page);\n });\n };\n\n const statsDisabledText = 'Stats are disabled by default';\n\n const formatIndexSet = (indexSet: IndexSet) => {\n const actions = (\n \n \n \n \n \n Set as default\n \n \n Delete\n \n \n );\n\n const content = (\n \n \n\n {\n formsRef.current = { ...formsRef.current, [`index-set-deletion-form-${indexSet.id}`]: elem };\n }\n }\n indexSet={indexSet}\n onDelete={deleteIndexSet} />\n \n );\n\n const indexSetTitle = (\n \n {indexSet.title}\n \n );\n\n const isDefault = indexSet.default\n ? : '';\n const isReadOnly = !indexSet.writable\n ? : '';\n let { description } = indexSet;\n\n if (indexSet.default) {\n description += `${description.endsWith('.') ? '' : '.'} Graylog will use this index set by default.`;\n }\n\n let statsString;\n const stats = indexSetStats[indexSet.id];\n\n if (stats) {\n statsString = formatStatsString(stats);\n }\n\n return (\n {statsEnabled ? statsString\n : {statsDisabledText}} {isDefault} {isReadOnly}\n \n )}\n description={description}\n actions={actions}\n contentRow={content} />\n );\n };\n\n const isLoading = !indexSets;\n\n return (\n <>\n \n \n \n \n \n \n \n Stats for all indices: {statsEnabled\n ? formatStatsString(globalIndexSetStats)\n : {statsDisabledText}}\n \n \n \n \n\n \n \n {isLoading\n ? : (\n\n \n formatIndexSet(indexSet))} />\n \n )}\n \n \n \n );\n};\n\nexport default IndexSetsComponent;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport numeral from 'numeral';\n\nimport NumberUtils from 'util/NumberUtils';\n\nclass IndexSizeSummary extends React.Component {\n static propTypes = {\n index: PropTypes.object.isRequired,\n };\n\n render() {\n const { index } = this.props;\n\n if (index.size) {\n return (\n ({NumberUtils.formatBytes(index.size.bytes)}{' '}\n / {numeral(index.size.events).format('0,0')} messages){' '}\n \n );\n }\n\n return ;\n }\n}\n\nexport default IndexSizeSummary;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { Label } from 'components/bootstrap';\nimport { RelativeTime, Icon } from 'components/common';\nimport IndexSizeSummary from 'components/indices/IndexSizeSummary';\n\nclass IndexSummary extends React.Component {\n static propTypes = {\n children: PropTypes.node.isRequired,\n index: PropTypes.object.isRequired,\n indexRange: PropTypes.object,\n isDeflector: PropTypes.bool.isRequired,\n name: PropTypes.string.isRequired,\n };\n\n state = { showDetails: this.props.isDeflector };\n\n _formatLabels = (index) => {\n const labels = [];\n\n if (index.is_deflector) {\n labels.push();\n }\n\n if (index.is_closed) {\n labels.push();\n }\n\n if (index.is_reopened) {\n labels.push();\n }\n\n return {labels};\n };\n\n _formatIndexRange = () => {\n if (this.props.isDeflector) {\n return Contains messages up to ;\n }\n\n const sizes = this.props.index.size;\n\n if (sizes) {\n const count = sizes.events;\n const { deleted } = sizes;\n\n if (count === 0 || count - deleted === 0) {\n return 'Index does not contain any messages.';\n }\n }\n\n if (!this.props.indexRange) {\n return 'Time range of index is unknown, because index range is not available. Please recalculate index ranges manually.';\n }\n\n if (this.props.indexRange.begin === 0) {\n return Contains messages up to ;\n }\n\n return (\n \n Contains messages from up to{' '}\n \n \n );\n };\n\n _formatShowDetailsLink = () => {\n if (this.state.showDetails) {\n return Hide Details / Actions;\n }\n\n return Show Details / Actions;\n };\n\n _toggleShowDetails = (event) => {\n event.preventDefault();\n this.setState({ showDetails: !this.state.showDetails });\n };\n\n render() {\n const { index } = this.props;\n\n return (\n \n

    \n {this.props.name}{' '}\n\n \n {this._formatLabels(index)}{' '}\n {this._formatIndexRange(index)}{' '}\n\n \n\n {this._formatShowDetailsLink()}\n \n

    \n\n
    \n {this.state.showDetails && this.props.children}\n
    \n
    \n );\n }\n}\n\nexport default IndexSummary;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport Reflux from 'reflux';\n\nimport * as URLUtils from 'util/URLUtils';\nimport ApiRoutes from 'routing/ApiRoutes';\nimport fetch from 'logic/rest/FetchProvider';\nimport { singletonStore, singletonActions } from 'logic/singleton';\n\nexport const DeflectorActions = singletonActions(\n 'core.Deflector',\n () => Reflux.createActions({\n cycle: { asyncResult: true },\n list: { asyncResult: true },\n }),\n);\n\nexport const DeflectorStore = singletonStore(\n 'core.Deflector',\n () => Reflux.createStore({\n listenables: [DeflectorActions],\n deflector: {\n info: undefined,\n },\n getInitialState() {\n return { deflector: this.deflector };\n },\n cycle(indexSetId) {\n const url = URLUtils.qualifyUrl(ApiRoutes.DeflectorApiController.cycle(indexSetId).url);\n const promise = fetch('POST', url);\n\n DeflectorActions.cycle.promise(promise);\n },\n list(indexSetId) {\n const url = URLUtils.qualifyUrl(ApiRoutes.DeflectorApiController.list(indexSetId).url);\n const promise = fetch('GET', url).then((info) => {\n this.deflector.info = info;\n this.trigger({ deflector: this.deflector });\n });\n\n DeflectorActions.list.promise(promise);\n },\n }),\n);\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport * as React from 'react';\nimport { useCallback, useMemo } from 'react';\n\nimport { ButtonGroup, DropdownButton, MenuItem } from 'components/bootstrap';\nimport { DeflectorActions } from 'stores/indices/DeflectorStore';\nimport { IndexRangesActions } from 'stores/indices/IndexRangesStore';\nimport type { IndexSet } from 'stores/indices/IndexSetsStore';\n\nconst _onRecalculateIndexRange = (indexSetId: string) => {\n // eslint-disable-next-line no-alert\n if (window.confirm('This will recalculate index ranges for this index set using a background system job. Do you want to proceed?')) {\n IndexRangesActions.recalculate(indexSetId);\n }\n};\n\nconst _onCycleDeflector = (indexSetId: string) => {\n // eslint-disable-next-line no-alert\n if (window.confirm('This will manually cycle the current active write index on this index set. Do you want to proceed?')) {\n DeflectorActions.cycle(indexSetId).then(() => {\n DeflectorActions.list(indexSetId);\n });\n }\n};\n\ntype Props = {\n indexSet: IndexSet,\n indexSetId: string,\n};\n\nconst IndicesMaintenanceDropdown = ({ indexSet, indexSetId }: Props) => {\n const onCycleDeflector = useCallback(() => _onCycleDeflector(indexSetId), [indexSetId]);\n const onRecalculateIndexRange = useCallback(() => _onRecalculateIndexRange(indexSetId), [indexSetId]);\n const cycleButton = useMemo(() => (indexSet?.writable ? Rotate active write index : null), [indexSet?.writable, onCycleDeflector]);\n\n return (\n \n \n Recalculate index ranges\n {cycleButton}\n \n \n );\n};\n\nIndicesMaintenanceDropdown.propTypes = {\n indexSetId: PropTypes.string.isRequired,\n indexSet: PropTypes.object.isRequired,\n};\n\nexport default IndicesMaintenanceDropdown;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { Col, Row } from 'components/bootstrap';\nimport { ClosedIndexDetails, IndexDetails, IndexSummary } from 'components/indices';\nimport type { IndexInfo } from 'stores/indices/IndicesStore';\n\nconst Index = ({ index, indexDetails, indexSetId }: { index: IndexSummary, indexDetails: Array, indexSetId: string }) => {\n const indexRange = index && index.range ? index.range : null;\n const details = indexDetails.find(({ index_name }) => index_name === index.index_name);\n\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\nconst ClosedIndex = ({ index }: { index: IndexSummary }) => {\n const indexRange = index.range;\n\n return (\n \n \n \n \n \n \n \n \n \n );\n};\n\ntype Props = {\n indexDetails: Array,\n indices: Array\n indexSetId: string,\n}\n\nconst IndicesOverview = ({ indexDetails, indices, indexSetId }: Props) => (\n \n {indices.map((index) => (!index.is_closed\n ? \n : ),\n )}\n \n);\n\nIndicesOverview.propTypes = {\n indexDetails: PropTypes.array.isRequired,\n indices: PropTypes.array.isRequired,\n indexSetId: PropTypes.string.isRequired,\n};\n\nexport default IndicesOverview;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport React from 'react';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport { Row, Col } from 'components/bootstrap';\nimport IndexMaintenanceStrategiesSummary from 'components/indices/IndexMaintenanceStrategiesSummary';\nimport { DataTieringSummary, DATA_TIERING_TYPE } from 'components/indices/data-tiering';\nimport type { IndexSet } from 'stores/indices/IndexSetsStore';\n\ntype Props = {\n indexSet: IndexSet\n}\n\nconst IndicesConfiguration = ({ indexSet } : Props) => {\n if (!indexSet.writable) {\n return (\n \n \n Index set is not writable and will not be included in index rotation and retention.\n It is also not possible to assign it to a stream.\n \n \n );\n }\n\n const dataTieringConfig = indexSet.data_tiering;\n\n if (!dataTieringConfig) {\n const rotationConfig = {\n strategy: indexSet.rotation_strategy_class,\n config: indexSet.rotation_strategy,\n };\n\n const retentionConfig = {\n strategy: indexSet.retention_strategy_class,\n config: indexSet.retention_strategy,\n };\n\n return (\n \n \n \n \n \n \n \n \n );\n }\n\n const dataTieringPlugin = PluginStore.exports('dataTiering').find((plugin) => (plugin.type === DATA_TIERING_TYPE.HOT_WARM));\n\n return (\n \n \n \n \n {dataTieringPlugin && (\n \n \n \n )}\n\n \n );\n};\n\nexport default IndicesConfiguration;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\n\nimport PageNavigation from 'components/common/PageNavigation';\nimport Routes from 'routing/Routes';\nimport { Row } from 'components/bootstrap';\n\nconst NAV_ITEMS = [\n { title: 'Indices & Index Sets', path: Routes.SYSTEM.INDICES.LIST, exactPathMatch: true },\n { title: 'Field Type Profiles', path: Routes.SYSTEM.INDICES.FIELD_TYPE_PROFILES.OVERVIEW, exactPathMatch: false },\n];\n\nconst IndicesPageNavigation = () => (\n \n \n \n);\n\nexport default IndicesPageNavigation;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport numeral from 'numeral';\nimport moment from 'moment';\n\nclass ShardMeter extends React.Component {\n static propTypes = {\n title: PropTypes.string.isRequired,\n shardMeter: PropTypes.object.isRequired,\n };\n\n _formatMeter = (meter) => {\n const value = {numeral(meter.total).format('0,0')} ops;\n\n if (meter.total > 0) {\n return {value} (took {moment.duration(meter.time_seconds, 'seconds').humanize()});\n }\n\n return value;\n };\n\n render() {\n const sm = this.props.shardMeter;\n\n return (\n \n

    {this.props.title}

    \n
    \n
    Index:
    \n
    {this._formatMeter(sm.index)}
    \n\n
    Flush:
    \n
    {this._formatMeter(sm.flush)}
    \n\n
    Merge:
    \n
    {this._formatMeter(sm.merge)}
    \n\n
    Query:
    \n
    {this._formatMeter(sm.search_query)}
    \n\n
    Fetch:
    \n
    {this._formatMeter(sm.search_fetch)}
    \n\n
    Get:
    \n
    {this._formatMeter(sm.get)}
    \n\n
    Refresh:
    \n
    {this._formatMeter(sm.refresh)}
    \n
    \n
    \n );\n }\n}\n\nexport default ShardMeter;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport * as React from 'react';\nimport classNames from 'classnames';\n\nimport { OverlayTrigger } from 'components/common';\n\ntype Props = {\n route: {\n id: string,\n state: string,\n node_hostname: string,\n node_name: string,\n primary: boolean,\n }\n}\n\nconst ShardRouting = ({ route }: Props) => {\n const tooltip = <>State: {route.state} on {route.node_hostname} ({route.node_name});\n\n return (\n
  • \n \n S{route.id}\n \n
  • \n );\n};\n\nexport default ShardRouting;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport styled, { css } from 'styled-components';\n\nimport { defaultCompare as naturalSort } from 'logic/DefaultCompare';\nimport ShardRouting from 'components/indices/ShardRouting';\n\nconst ShardRoutingWrap = styled.div(({ theme }) => css`\n .shards {\n .shard {\n padding: 10px;\n margin: 5px;\n width: 50px;\n float: left;\n text-align: center;\n }\n\n .shard-started {\n background-color: ${theme.utils.colorLevel(theme.colors.variant.light.success, -2)};\n }\n\n .shard-relocating {\n background-color: ${theme.utils.colorLevel(theme.colors.variant.light.primary, -2)};\n }\n\n .shard-initializing {\n background-color: ${theme.utils.colorLevel(theme.colors.variant.light.warning, -5)};\n }\n\n .shard-unassigned {\n background-color: ${theme.utils.colorLevel(theme.colors.variant.light.default, -2)};\n }\n\n .shard-primary .id {\n font-weight: bold;\n margin-bottom: 3px;\n border-bottom: 1px solid ${theme.colors.gray[10]};\n }\n }\n\n .description {\n font-size: ${theme.fonts.size.small};\n margin-top: 2px;\n margin-left: 6px;\n }\n`);\n\nconst ShardRoutingOverview = ({ indexName, routing }) => (\n \n

    Shard routing

    \n\n
      \n {routing\n .sort((shard1, shard2) => naturalSort(shard1.id, shard2.id))\n .map((route) => )}\n
    \n
    \n\n
    \n Bold shards are primaries, others are replicas. Replicas are elected to primaries automatically\n when primaries leave the cluster. Size and document counts only reflect primary shards and no\n possible replica duplication.\n
    \n
    \n);\n\nShardRoutingOverview.propTypes = {\n routing: PropTypes.array.isRequired,\n indexName: PropTypes.string.isRequired,\n};\n\nexport default ShardRoutingOverview;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport useCurrentUser from 'hooks/useCurrentUser';\nimport { isPermitted } from 'util/PermissionsMixin';\n\nconst useHasTypeMappingPermission = () => {\n const currentUser = useCurrentUser();\n\n return isPermitted(currentUser.permissions, 'typemappings:edit');\n};\n\nexport default useHasTypeMappingPermission;\n","/*\n * Copyright (C) 2020 Graylog, Inc.\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the Server Side Public License, version 1,\n * as published by MongoDB, Inc.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * Server Side Public License for more details.\n *\n * You should have received a copy of the Server Side Public License\n * along with this program. If not, see\n * .\n */\nimport Reflux from 'reflux';\nimport PropTypes from 'prop-types';\nimport isArray from 'lodash/isArray';\n\nimport ApiRoutes from 'routing/ApiRoutes';\nimport fetch from 'logic/rest/FetchProvider';\nimport { qualifyUrl } from 'util/URLUtils';\nimport UserNotification from 'util/UserNotification';\nimport { singletonStore, singletonActions } from 'logic/singleton';\nimport type { RetentionStrategyConfig, RotationStrategyConfig } from 'components/indices/Types';\nimport { RetentionStrategyConfigPropType, RotationStrategyConfigPropType } from 'components/indices/Types';\nimport type { DataTieringConfig, DataTieringFormValues } from 'components/indices/data-tiering';\n\nexport const IndexSetPropType = PropTypes.shape({\n can_be_default: PropTypes.bool,\n id: PropTypes.string,\n title: PropTypes.string,\n description: PropTypes.string.isRequired,\n index_prefix: PropTypes.string.isRequired,\n shards: PropTypes.number.isRequired,\n replicas: PropTypes.number.isRequired,\n rotation_strategy_class: PropTypes.string.isRequired,\n rotation_strategy: RotationStrategyConfigPropType.isRequired,\n retention_strategy_class: PropTypes.string.isRequired,\n retention_strategy: RetentionStrategyConfigPropType.isRequired,\n creation_date: PropTypes.string,\n index_analyzer: PropTypes.string.isRequired,\n index_optimization_max_num_segments: PropTypes.number.isRequired,\n index_optimization_disabled: PropTypes.bool.isRequired,\n field_type_refresh_interval: PropTypes.number.isRequired,\n index_template_type: PropTypes.string,\n writable: PropTypes.bool.isRequired,\n default: PropTypes.bool.isRequired,\n});\n\ntype IndexSetConfig = {\n can_be_default?: boolean,\n id?: string,\n title: string,\n description: string,\n index_prefix: string,\n shards: number,\n replicas: number,\n rotation_strategy_class: string,\n rotation_strategy: RotationStrategyConfig,\n retention_strategy_class: string,\n retention_strategy: RetentionStrategyConfig,\n creation_date?: string,\n index_analyzer: string,\n index_optimization_max_num_segments: number,\n index_optimization_disabled: boolean,\n field_type_refresh_interval: number,\n field_type_profile?: string | null,\n index_template_type?: string,\n writable: boolean,\n default?: boolean,\n use_legacy_rotation?: boolean\n}\n\nexport type IndexSetsDefaultConfiguration = Pick & {\n rotation_strategy_config: RotationStrategyConfig,\n retention_strategy_config: RetentionStrategyConfig,\n field_type_refresh_interval_unit: 'seconds' | 'minutes',\n data_tiering: DataTieringConfig\n}\n\nexport type IndexSet = IndexSetConfig & { data_tiering?: DataTieringConfig };\n\nexport type IndexSetFormValues = IndexSetConfig & { data_tiering?: DataTieringFormValues };\n\nexport type IndexSetStats = {\n documents: number,\n indices: number,\n size: number,\n}\n\ntype IndexSetsStats = {\n [key: string]: IndexSetStats\n}\n\ntype IndexSetsResponseType = {\n total: number,\n index_sets: Array,\n stats: IndexSetsStats,\n};\n\nexport type IndexSetsStoreState = {\n indexSetsCount: number,\n indexSets: Array,\n indexSetStats: IndexSetsStats,\n indexSet: IndexSet,\n globalIndexSetStats: IndexSetStats\n}\n\ntype IndexSetsActionsType = {\n list: (stats: boolean) => Promise,\n listPaginated: (skip: number, limit: number, stats: boolean) => Promise,\n get: (indexSetId: string) => Promise,\n update: (indexSet: IndexSet) => Promise,\n create: (indexSet: IndexSet) => Promise,\n delete: (indexSet: IndexSet, deleteIndices: boolean) => Promise,\n searchPaginated: (searchTerm: string, skip: number, limit: number, stats: boolean) => Promise,\n setDefault: (indexSet: IndexSet) => Promise,\n stats: () => Promise,\n};\n\nexport const IndexSetsActions = singletonActions(\n 'core.IndexSets',\n () => Reflux.createActions({\n list: { asyncResult: true },\n listPaginated: { asyncResult: true },\n get: { asyncResult: true },\n update: { asyncResult: true },\n create: { asyncResult: true },\n delete: { asyncResult: true },\n searchPaginated: { asyncResult: true },\n setDefault: { asyncResult: true },\n stats: { asyncResult: true },\n }),\n);\n\nexport const IndexSetsStore = singletonStore(\n 'core.IndexSets',\n () => Reflux.createStore({\n listenables: [IndexSetsActions],\n indexSetsCount: undefined,\n indexSets: undefined,\n indexSetStats: undefined,\n indexSet: undefined,\n globalIndexSetStats: undefined,\n\n getInitialState() {\n return this.getState();\n },\n\n getState() {\n return {\n indexSetsCount: this.indexSetsCount,\n indexSets: this.indexSets,\n indexSetStats: this.indexSetStats,\n indexSet: this.indexSet,\n globalIndexSetStats: this.globalIndexSetStats,\n };\n },\n\n propagateChanges() {\n this.trigger(this.getState());\n },\n\n list(stats: boolean) {\n const url = qualifyUrl(ApiRoutes.IndexSetsApiController.list(stats).url);\n const promise = fetch('GET', url);\n\n promise\n .then(\n (response: IndexSetsResponseType) => {\n this.indexSetsCount = response.total;\n this.indexSets = response.index_sets;\n this.indexSetStats = response.stats;\n\n this.propagateChanges();\n\n return response;\n },\n (error) => {\n UserNotification.error(`Fetching index sets list failed: ${error.message}`,\n 'Could not retrieve index sets.');\n },\n );\n\n IndexSetsActions.list.promise(promise);\n },\n\n listPaginated(skip: number, limit: number, stats: boolean) {\n const url = qualifyUrl(ApiRoutes.IndexSetsApiController.listPaginated(skip, limit, stats).url);\n const promise = fetch('GET', url);\n\n promise\n .then(\n (response: IndexSetsResponseType) => {\n this.indexSetsCount = response.total;\n this.indexSets = response.index_sets;\n this.indexSetStats = response.stats;\n\n this.propagateChanges();\n\n return response;\n },\n (error) => {\n UserNotification.error(`Fetching index sets list failed: ${this._errorMessage(error)}`,\n 'Could not retrieve index sets.');\n },\n );\n\n IndexSetsActions.listPaginated.promise(promise);\n },\n\n searchPaginated(searchTerm: string, skip: number, limit: number, stats: boolean) {\n const url = qualifyUrl(ApiRoutes.IndexSetsApiController.searchPaginated(searchTerm, skip, limit, stats).url);\n const promise = fetch('GET', url);\n\n promise\n .then(\n (response: IndexSetsResponseType) => {\n this.indexSetsCount = response.total;\n this.indexSets = response.index_sets;\n this.indexSetStats = response.stats;\n\n this.propagateChanges();\n\n return response;\n },\n (error) => {\n UserNotification.error(`Fetching index sets list failed: ${this._errorMessage(error)}`,\n 'Could not retrieve index sets.');\n },\n );\n\n IndexSetsActions.searchPaginated.promise(promise);\n },\n\n get(indexSetId: string) {\n const url = qualifyUrl(ApiRoutes.IndexSetsApiController.get(indexSetId).url);\n const promise = fetch('GET', url);\n\n promise.then(\n (response: IndexSet) => {\n this.indexSet = response;\n\n this.propagateChanges();\n\n return response;\n },\n (error) => {\n UserNotification.error(`Fetching index set '${indexSetId}' failed with status: ${this._errorMessage(error)}`, 'Could not retrieve index set.');\n },\n );\n\n IndexSetsActions.get.promise(promise);\n },\n\n update(indexSet: IndexSet) {\n const url = qualifyUrl(ApiRoutes.IndexSetsApiController.get(indexSet.id).url);\n const promise = fetch('PUT', url, indexSet);\n\n promise.then(\n (response: IndexSet) => {\n UserNotification.success(`Successfully updated index set '${indexSet.title}'`, 'Success');\n\n this.indexSet = response;\n\n this.propagateChanges();\n\n return response;\n },\n (error) => {\n UserNotification.error(`Updating index set '${indexSet.title}' failed with status: ${this._errorMessage(error)}`, 'Could not update index set.');\n },\n );\n\n IndexSetsActions.update.promise(promise);\n },\n\n create(indexSet: IndexSet) {\n const url = qualifyUrl(ApiRoutes.IndexSetsApiController.create().url);\n const promise = fetch('POST', url, indexSet);\n\n promise.then(\n (response: IndexSet) => {\n UserNotification.success(`Successfully created index set '${indexSet.title}'`, 'Success');\n\n this.indexSet = response;\n\n this.propagateChanges();\n\n return response;\n },\n (error) => {\n UserNotification.error(`Creating index set '${indexSet.title}' failed with status: ${this._errorMessage(error)}`, 'Could not create index set.');\n },\n );\n\n IndexSetsActions.create.promise(promise);\n },\n\n delete(indexSet: IndexSet, deleteIndices: boolean) {\n const url = qualifyUrl(ApiRoutes.IndexSetsApiController.delete(indexSet.id, deleteIndices).url);\n const promise = fetch('DELETE', url);\n\n promise.then(\n () => {\n UserNotification.success(`Successfully deleted index set '${indexSet.title}'`, 'Success');\n },\n (error) => {\n UserNotification.error(`Deleting index set '${indexSet.title}' failed with status: ${this._errorMessage(error)}`, 'Could not delete index set.');\n },\n );\n\n IndexSetsActions.delete.promise(promise);\n },\n\n setDefault(indexSet: IndexSet) {\n const url = qualifyUrl(ApiRoutes.IndexSetsApiController.setDefault(indexSet.id).url);\n const promise = fetch('PUT', url);\n\n promise.then(\n () => {\n UserNotification.success(`Successfully set index set '${indexSet.title}' as default`, 'Success');\n },\n (error) => {\n UserNotification.error(`Setting index set '${indexSet.title}' as default failed with status: ${this._errorMessage(error)}`, 'Could not set default index set.');\n },\n );\n\n IndexSetsActions.setDefault.promise(promise);\n },\n\n stats() {\n const url = qualifyUrl(ApiRoutes.IndexSetsApiController.stats().url);\n const promise = fetch('GET', url);\n\n promise\n .then(\n (response) => {\n this.globalIndexSetStats = {\n indices: response.indices,\n documents: response.documents,\n size: response.size,\n };\n\n this.propagateChanges();\n\n return response;\n },\n (error) => {\n UserNotification.error(`Fetching global index stats failed: ${error.message}`,\n 'Could not retrieve global index stats.');\n },\n );\n\n IndexSetsActions.stats.promise(promise);\n },\n\n _errorMessage(error) {\n try {\n if (isArray(error.additional.body)) {\n return error.additional.body.map(({ message, path }) => `${path ?? ''} ${message}.`).join(' ');\n }\n\n return error.additional.body.message;\n } catch (e) {\n return error.message;\n }\n },\n }),\n);\n"],"names":["Container","StyledButton","theme","items","path","title","permissions","exactPathMatch","INITIAL_DATA","fetchIndexSetFieldTypeProfile","id","url","profile","data","isFetched","isFetching","refetch","errorThrown","fetchProfileOptions","profiles","name","isLoading","RetentionStrategiesContextPropType","SizeBasedRotationStrategyConfigPropType","MessageCountRotationStrategyConfigPropType","TimeBasedRotationStrategyConfigPropType","TimeBasedSizePtimizingRotationStrategyConfigPropType","RotationStrategyConfigPropType","IndexActionPropType","RetentionStrategyConfigPropType","JsonSchemaStringPropertyTypePropType","JsonSchemaIndexActionPropertyTypePropType","RotationPropertiesPropType","RotationJsonSchemaPropType","RetentionPropertiesPropType","RetentionJsonSchemaPropType","RotationStrategyPropType","RetentionStrategyPropType","TEMPLATE_TYPES","indexSet","IndexRangeSummary","indexRange","RelativeTime","ClosedIndexDetails","IndexRangesActions","singleton","IndexRangesStore","URLUtils","ApiRoutes","promise","response","indexSetId","UserNotification","error","indexName","IndexDetails","index","isDeflector","_onRecalculateIndex","_onDeleteIndex","actionButtons","HideOnCloud","NumberUtils","hasMappingPermission","useHasTypeMappingPermission","history","useHistory","onShowFieldTypes","Routes","fetchIndexDefaults","fetchError","dayFields","hotWarmOnlyFormFields","durationToRoundedDays","duration","prepareDataTieringInitialValues","values","data_tiering","field","numberValue","prepareDataTieringConfig","pluginStore","hotWarmDefaultValues","dataTieringPlugin","plugin","DATA_TIERING_TYPE","dataTieringType","validateMaxDaysInStorage","value","validateMinDaysInStorage","_a","errors","config","VisualisationWrapper","BarWrapper","MaxDaysLabel","AnnotationBar","LifeCycleBar","Bar","color","Label","StyledTooltip","DataTieringVisualisation","archiveData","minDays","maxDays","minDaysInHot","warmTierEnabled","showMinDaysTooltip","setShowMinDaysTooltip","showMinDaysInHotTooltip","setShowMinDaysInHotTooltip","percentageFor","days","minDaysPercentage","minDaysInHotPercentage","showHotTier","StyledAlert","StyledSelect","StyledH3","onChange","options","useProfileOptions","_onChange","val","initialIndexSet","loadingIndexDefaultsConfig","indexDefaultsConfig","setIndexSet","defaultIndexSet","initialIndexWithoutNullValues","_","v","StyledFormSubmit","ConfigSegmentsTitle","ConfigSegment","_validateIndexPrefix","_getRotationConfigState","strategy","_getRetentionConfigState","RotationStrategies","rotationStrategies","indexSetRotationStrategy","indexSetRotationStrategyClass","IndexMaintenanceStrategiesConfiguration","RetentionConfig","retentionStrategies","retentionStrategiesContext","indexSetRetentionStrategy","IndexSetRetentionStrategyClass","ReadOnlyConfig","indexPrefixHelp","IndexSetConfigurationForm","create","onUpdate","cancelLink","submitButtonText","submitLoadingText","fieldTypeRefreshIntervalUnit","setFieldTypeRefreshIntervalUnit","isCloud","AppConfig","enableDataTieringCloud","useFeature","retentionConfigSegments","initialSegment","selectedRetentionSegment","setSelectedRetentionSegment","prepareRetentionConfigBeforeSubmit","legacyConfig","configWithDataTiering","legacyDefaultConfig","saveConfiguration","onFieldTypeRefreshIntervalChange","intervalValue","unit","setFieldValue","onCancel","isValid","isSubmitting","IndexRetentionProvider","isIndexFieldTypeChangeAllowed","profileId","IndexSetDeletionForm","props","StreamsStore","streams","assignedStreams","stream","e","s1","s2","BootstrapModalForm","IndexSetDetails","profileName","useProfile","Toolbar","GlobalStatsCol","GlobalStats","StatsInfoText","formatStatsString","stats","indices","StringUtils","documents","size","indexSetsCount","indexSets","indexSetStats","globalIndexSetStats","IndexSetsStore","page","resetPage","usePaginationQueryParameter","sendTelemetry","useSendTelemetry","pathname","useLocation","statsEnabled","setStatsEnabled","searchTerm","setSearchTerm","formsRef","loadData","pageNumber","limit","onSearch","query","onSearchReset","onToggleStats","onSetDefault","onDelete","deleteIndexSet","deleteIndices","statsDisabledText","formatIndexSet","actions","ButtonToolbar","content","elem","indexSetTitle","isDefault","isReadOnly","description","statsString","IndexSizeSummary","IndexSummary","labels","sizes","count","deleted","event","DeflectorActions","DeflectorStore","info","_onRecalculateIndexRange","_onCycleDeflector","IndicesMaintenanceDropdown","onCycleDeflector","onRecalculateIndexRange","cycleButton","Index","indexDetails","details","index_name","ClosedIndex","IndicesOverview","dataTieringConfig","rotationConfig","retentionConfig","IndexMaintenanceStrategiesSummary","NAV_ITEMS","PageNavigation","ShardMeter","meter","sm","route","tooltip","ShardRoutingWrap","ShardRoutingOverview","routing","shard1","shard2","currentUser","IndexSetPropType","IndexSetsActions","skip","message"],"sourceRoot":""}




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy