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

web-interface.assets.57e33c6c-43.11b9f72925818240e61d.js.map Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
{"version":3,"sources":["webpack:///./src/components/sidecars/common/CollectorIndicator.jsx","webpack:///./src/components/sidecars/configurations/ConfigurationList.css","webpack:///./src/components/sidecars/configurations/CollectorList.css","webpack:///./src/components/sidecars/common/ColorLabel.tsx","webpack:///./src/components/sidecars/common/OperatingSystemIcon.jsx","webpack:///./src/components/sidecars/configurations/ConfigurationRow.css","webpack:///./src/components/sidecars/common/CloneMenuItem.jsx","webpack:///./src/components/sidecars/configurations/CopyConfigurationModal.jsx","webpack:///./src/components/sidecars/configurations/ConfigurationRow.css?666b","webpack:///./src/components/sidecars/configurations/ConfigurationRow.jsx","webpack:///./src/components/sidecars/configurations/ConfigurationList.css?8b3e","webpack:///./src/components/sidecars/configurations/ConfigurationList.jsx","webpack:///./src/components/sidecars/configurations/ConfigurationListContainer.jsx","webpack:///./src/components/sidecars/configurations/CopyCollectorModal.jsx","webpack:///./src/components/sidecars/configurations/CollectorRow.jsx","webpack:///./src/components/sidecars/configurations/CollectorList.css?48e3","webpack:///./src/components/sidecars/configurations/CollectorList.jsx","webpack:///./src/components/sidecars/configurations/CollectorListContainer.jsx","webpack:///./src/pages/SidecarConfigurationPage.jsx"],"names":["CollectorIndicator","createReactClass","propTypes","collector","PropTypes","string","isRequired","operatingSystem","getDefaultProps","undefined","render","this","props","lodash","upperFirst","___CSS_LOADER_EXPORT___","push","module","i","locals","ColorLabelWrap","styled","span","size","theme","fonts","body","small","tiny","fontSize","css","ColorLabel","color","text","borderColor","utils","colorLevel","textColor","contrastingColor","style","backgroundColor","border","oneOfType","element","oneOf","themePropTypes","defaultProps","withTheme","SidecarIcon","Icon","OperatingSystemIcon","iconName","iconType","os","trim","toLowerCase","indexOf","name","type","fixedWidth","StyledMenuItem","MenuItem","colors","global","textDefault","gray","CloneMenuItem","error","id","modalRef","onChange","onSave","onSelect","ref","title","onSubmitForm","submitButtonDisabled","submitButtonText","label","defaultValue","bsStyle","help","autoFocus","required","shape","current","any","func","CopyConfigurationModal","open","prefixIdName","state","close","_closeModal","setState","copyConfiguration","errorMessage","_saved","event","validateConfiguration","target","value","then","validation","errors","createRef","configuration","openModal","_save","_getId","_changeName","React","Component","object","options","ConfigurationRow","onDelete","window","confirm","onCopy","className","styles","node_operating_system","actions","to","Routes","SYSTEM","SIDECARS","EDIT_CONFIGURATION","onClick","bsSize","pullRight","divider","_handleDelete","ConfigurationList","header","actionsColumn","collectors","onClone","configurationCollector","find","collector_id","key","configurations","pagination","query","total","onPageChange","onQueryChange","md","NEW_CONFIGURATION","configurationRow","onSearch","onReset","searchButtonLabel","placeholder","wrapperClass","inline","queryWidth","topMargin","useLoadingState","activePage","page","pageSize","pageSizes","totalItems","configurationTable","headers","headerCellFormatter","_headerCellFormatter","rows","rowClassName","dataRowFormatter","_collectorConfigurationFormatter","noDataText","filterLabel","filterKeys","useResponsiveTable","array","number","CombinedProvider","get","CollectorConfigurationsStore","CollectorConfigurationsActions","CollectorsStore","CollectorsActions","ConfigurationListContainer","mixins","Reflux","connect","componentDidMount","_reloadConfiguration","list","all","validate","handlePageChange","handleQueryChange","callback","handleClone","response","handleDelete","paginatedConfigurations","CopyCollectorModal","copyCollector","validateCollector","nextCollector","cloneDeep","CollectorRow","EDIT_COLLECTOR","CollectorList","collectorFormatter","NEW_COLLECTOR","collectorRow","collectorTable","CollectorListContainer","loadCollectors","copy","paginatedCollectors","SidecarConfigurationPage","DocumentationLink","DocsHelper","PAGES","COLLECTOR_SIDECAR","OVERVIEW","ADMINISTRATION","CONFIGURATION"],"mappings":"6GAAA,wHAuBMA,EAAqBC,IAAiB,kCAC1CC,UAAW,CACTC,UAAWC,IAAUC,OAAOC,WAC5BC,gBAAiBH,IAAUC,QAG7BG,gBAN0C,WAOxC,MAAO,CACLD,qBAAiBE,IAIrBC,OAZ0C,WAYjC,MACgCC,KAAKC,MAApCT,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AAK,0BAFpE,KAKA,kBAAC,IAAD,KACE,kBAAC,IAAD,CAAe2F,GAAIC,IAAOC,OAAOC,SAASgG,UACxC,kBAAC,IAAD,CAAQ/I,QAAQ,QAAhB,aAEF,kBAAC,IAAD,CAAe4C,GAAIC,IAAOC,OAAOC,SAASiG,gBACxC,kBAAC,IAAD,CAAQhJ,QAAQ,QAAhB,mBAEF,kBAAC,IAAD,CAAe4C,GAAIC,IAAOC,OAAOC,SAASkG,eACxC,kBAAC,IAAD,CAAQjJ,QAAQ,QAAhB,oBAKN,kBAAC,IAAD,CAAKwC,UAAU,WACb,kBAAC,IAAD,CAAK6B,GAAI,IACP,kBAAC,GAAD,QAGJ,kBAAC,IAAD,CAAK7B,UAAU,WACb,kBAAC,IAAD,CAAK6B,GAAI,IACP,kBAAC,GAAD","file":"57e33c6c-43.11b9f72925818240e61d.js","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 React from 'react';\nimport createReactClass from 'create-react-class';\nimport PropTypes from 'prop-types';\nimport lodash from 'lodash';\n\nimport OperatingSystemIcon from './OperatingSystemIcon';\n\nconst CollectorIndicator = createReactClass({\n  propTypes: {\n    collector: PropTypes.string.isRequired,\n    operatingSystem: PropTypes.string,\n  },\n\n  getDefaultProps() {\n    return {\n      operatingSystem: undefined,\n    };\n  },\n\n  render() {\n    const { collector, operatingSystem } = this.props;\n\n    return (\n      \n         {collector}\n        {operatingSystem &&  on {lodash.upperFirst(operatingSystem)}}\n      \n    );\n  },\n});\n\nexport default CollectorIndicator;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"._3wU8UMqJOk83Te31YDqXcW {\\n    width: 180px;\\n}\\n\\n._1aaTf7iWN_-ACtIqGwkMBE {\\n    display: inline-block;\\n}\\n\\n._3UrkSRN3aL-hQ5KdO6LuBn {\\n    margin-top: 15px;\\n}\\n\\n._3zFTcoltwcRaxfmF3wPDX7 .pagination {\\n    margin: 5px 0;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/sidecars/configurations/ConfigurationList.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,YAAY;AAChB;;AAEA;IACI,qBAAqB;AACzB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,aAAa;AACjB\",\"sourcesContent\":[\":local(.actionsColumn) {\\n    width: 180px;\\n}\\n\\n:local(.inline) {\\n    display: inline-block;\\n}\\n\\n:local(.configurationTable) {\\n    margin-top: 15px;\\n}\\n\\n:local(.configurationRow) .pagination {\\n    margin: 5px 0;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"actionsColumn\": \"_3wU8UMqJOk83Te31YDqXcW\",\n\t\"inline\": \"_1aaTf7iWN_-ACtIqGwkMBE\",\n\t\"configurationTable\": \"_3UrkSRN3aL-hQ5KdO6LuBn\",\n\t\"configurationRow\": \"_3zFTcoltwcRaxfmF3wPDX7\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"._3OSAKyhzb4cY83WkFD8vmk {\\n    width: 180px;\\n}\\n\\n._2GQTzPPPsqgpkLDrbC9r6a {\\n    display: inline-block;\\n}\\n\\n._17wos2JyJMK_YffFCZg-R {\\n    margin-top: 15px;\\n}\\n\\n._227ruIYQQu44kbe3epodz8 .pagination {\\n    margin: 5px 0;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/sidecars/configurations/CollectorList.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,YAAY;AAChB;;AAEA;IACI,qBAAqB;AACzB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,aAAa;AACjB\",\"sourcesContent\":[\":local(.actionsColumn) {\\n    width: 180px;\\n}\\n\\n:local(.inline) {\\n    display: inline-block;\\n}\\n\\n:local(.collectorTable) {\\n    margin-top: 15px;\\n}\\n\\n:local(.collectorRow) .pagination {\\n    margin: 5px 0;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"actionsColumn\": \"_3OSAKyhzb4cY83WkFD8vmk\",\n\t\"inline\": \"_2GQTzPPPsqgpkLDrbC9r6a\",\n\t\"collectorTable\": \"_17wos2JyJMK_YffFCZg-R\",\n\t\"collectorRow\": \"_227ruIYQQu44kbe3epodz8\"\n};\nexport default ___CSS_LOADER_EXPORT___;\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 PropTypes from 'prop-types';\nimport styled, { css, withTheme, DefaultTheme } from 'styled-components';\n\nimport { themePropTypes } from 'theme';\nimport { Label } from 'components/graylog';\n\ntype Size = 'normal' | 'small' | 'xsmall';\n\ninterface ColorLabelWrapProps {\n  size: Size,\n  theme: DefaultTheme\n}\n\ninterface ColorLabelProps {\n  color: string,\n  size?: Size,\n  text?: string | React.ReactNode,\n  theme: DefaultTheme\n}\n\nconst ColorLabelWrap = styled.span(({ size, theme }: ColorLabelWrapProps) => {\n  const { body, small, tiny } = theme.fonts.size;\n  const fontSize = size === 'small' ? small : body;\n\n  return css`\n    vertical-align: middle;\n    font-size: ${size === 'xsmall' ? tiny : fontSize};\n  `;\n});\n\nconst ColorLabel = ({ color, size, text, theme }: ColorLabelProps) => {\n  const borderColor = theme.utils.colorLevel(color, 5);\n  const textColor = theme.utils.contrastingColor(color);\n\n  return (\n    \n      \n    \n  );\n};\n\nColorLabel.propTypes = {\n  color: PropTypes.string.isRequired,\n  text: PropTypes.oneOfType([PropTypes.string, PropTypes.element]),\n  size: PropTypes.oneOf(['normal', 'small', 'xsmall']),\n  theme: themePropTypes.isRequired,\n};\n\nColorLabel.defaultProps = {\n  text: ,\n  size: 'normal',\n};\n\nexport default withTheme(ColorLabel);\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 PropTypes from 'prop-types';\nimport styled from 'styled-components';\n\nimport { Icon } from 'components/common';\n\nconst SidecarIcon = styled(Icon)`\n  margin-right: 5px;\n  margin-left: 2px;\n`;\n\nconst OperatingSystemIcon = ({ operatingSystem }) => {\n  let iconName = 'question-circle';\n  let iconType = 'solid';\n\n  if (operatingSystem) {\n    const os = operatingSystem.trim().toLowerCase();\n\n    if (os.indexOf('darwin') !== -1 || os.indexOf('mac os') !== -1) {\n      iconName = 'apple';\n      iconType = 'brand';\n    } else if (os.indexOf('linux') !== -1) {\n      iconName = 'linux';\n      iconType = 'brand';\n    } else if (os.indexOf('win') !== -1) {\n      iconName = 'windows';\n      iconType = 'brand';\n    }\n  }\n\n  return (\n    \n  );\n};\n\nOperatingSystemIcon.propTypes = {\n  operatingSystem: PropTypes.string,\n};\n\nOperatingSystemIcon.defaultProps = {\n  operatingSystem: undefined,\n};\n\nexport default OperatingSystemIcon;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"._3uowIjoMqoUg46c5Fcmfzh {\\n    width: 350px;\\n}\\n\\n._2RNAora_OjKlDh7W7oLzW_ {\\n    width: 160px;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/sidecars/configurations/ConfigurationRow.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,YAAY;AAChB;;AAEA;IACI,YAAY;AAChB\",\"sourcesContent\":[\":local(.name) {\\n    width: 350px;\\n}\\n\\n:local(.actions) {\\n    width: 160px;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"name\": \"_3uowIjoMqoUg46c5Fcmfzh\",\n\t\"actions\": \"_2RNAora_OjKlDh7W7oLzW_\"\n};\nexport default ___CSS_LOADER_EXPORT___;\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 PropTypes from 'prop-types';\nimport styled, { css } from 'styled-components';\n\nimport { MenuItem } from 'components/graylog';\nimport { BootstrapModalForm, Input } from 'components/bootstrap';\n\nconst StyledMenuItem = styled(MenuItem)(({ theme }) => css`\n  /**\n  * Bootstrap styling breaks here, since the component needs to be wrapped around another element.\n  * This style replicates Bootstrap's making the menu item look normal.\n  */\n  a {\n    display: block;\n    padding: 3px 20px;\n    clear: both;\n    font-weight: normal;\n    line-height: 1.42857143;\n    color: ${theme.colors.global.textDefault};\n    white-space: nowrap;\n\n    &:hover,\n    &:focus {\n      text-decoration: none;\n      color: ${theme.utils.contrastingColor(theme.colors.gray[90])};\n      background-color: ${theme.colors.gray[90]};\n    }\n  }\n`);\n\nconst CloneMenuItem = ({ error, id, modalRef, name, onChange, onSave, onSelect }) => {\n  return (\n    \n      Clone\n      \n        
\n \n
\n
\n
\n );\n};\n\nCloneMenuItem.propTypes = {\n error: PropTypes.string,\n id: PropTypes.string.isRequired,\n modalRef: PropTypes.shape({ current: PropTypes.any }).isRequired,\n name: PropTypes.string.isRequired,\n onChange: PropTypes.func.isRequired,\n onSave: PropTypes.func.isRequired,\n onSelect: PropTypes.func.isRequired,\n};\n\nCloneMenuItem.defaultProps = {\n error: undefined,\n};\n\nexport default CloneMenuItem;\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, { createRef } from 'react';\n\nimport CloneMenuItem from '../common/CloneMenuItem';\n\nclass CopyConfigurationModal extends React.Component {\n static propTypes = {\n configuration: PropTypes.object.isRequired,\n copyConfiguration: PropTypes.func.isRequired,\n validateConfiguration: PropTypes.func.isRequired,\n };\n\n constructor(props) {\n super(props);\n\n this.modalRef = createRef();\n\n this.state = {\n id: props.configuration.id,\n name: '',\n errorMessage: undefined,\n };\n }\n\n openModal = () => {\n this.modalRef.current.open();\n };\n\n _getId = (prefixIdName) => {\n const { id } = this.state;\n\n return `${prefixIdName}-${id}`;\n };\n\n _closeModal = () => {\n this.modalRef.current.close();\n };\n\n _saved = () => {\n this._closeModal();\n this.setState({ name: '' });\n };\n\n _save = () => {\n const { copyConfiguration } = this.props;\n const { errorMessage, id, name } = this.state;\n\n if (!errorMessage) {\n copyConfiguration(id, name, this._saved);\n }\n };\n\n _changeName = (event) => {\n const { validateConfiguration } = this.props;\n const name = event.target.value;\n\n this.setState({ name, errorMessage: undefined });\n\n validateConfiguration({ name }).then((validation) => {\n if (validation.errors.name) {\n this.setState({ errorMessage: validation.errors.name[0] });\n }\n });\n };\n\n render() {\n const { errorMessage, name } = this.state;\n\n return (\n \n );\n }\n}\n\nexport default CopyConfigurationModal;\n","import api from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../node_modules/css-loader/dist/cjs.js??ref--10-1!./ConfigurationRow.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","/*\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 { LinkContainer } from 'components/graylog/router';\nimport { Button, ButtonToolbar, DropdownButton, MenuItem } from 'components/graylog';\nimport Routes from 'routing/Routes';\nimport CollectorIndicator from 'components/sidecars/common/CollectorIndicator';\nimport ColorLabel from 'components/sidecars/common/ColorLabel';\n\nimport CopyConfigurationModal from './CopyConfigurationModal';\nimport styles from './ConfigurationRow.css';\n\nclass ConfigurationRow extends React.Component {\n static propTypes = {\n configuration: PropTypes.object.isRequired,\n collector: PropTypes.object,\n onCopy: PropTypes.func.isRequired,\n validateConfiguration: PropTypes.func.isRequired,\n onDelete: PropTypes.func.isRequired,\n };\n\n static defaultProps = {\n collector: {},\n };\n\n _handleDelete = () => {\n const { configuration, onDelete } = this.props;\n\n // eslint-disable-next-line no-alert\n if (window.confirm(`You are about to delete configuration \"${configuration.name}\". Are you sure?`)) {\n onDelete(configuration);\n }\n };\n\n render() {\n const { collector, configuration, validateConfiguration, onCopy } = this.props;\n\n return (\n \n {configuration.name}\n \n \n \n \n \n \n \n \n \n \n \n \n Delete\n \n \n \n \n );\n }\n}\n\nexport default ConfigurationRow;\n","import api from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../node_modules/css-loader/dist/cjs.js??ref--10-1!./ConfigurationList.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","/*\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 PropTypes from 'prop-types';\n\nimport { LinkContainer } from 'components/graylog/router';\nimport { Col, Row, Button } from 'components/graylog';\nimport { DataTable, PaginatedList, SearchForm } from 'components/common';\nimport Routes from 'routing/Routes';\n\nimport ConfigurationRow from './ConfigurationRow';\nimport style from './ConfigurationList.css';\n\nclass ConfigurationList extends React.Component {\n static propTypes = {\n collectors: PropTypes.array.isRequired,\n configurations: PropTypes.array.isRequired,\n pagination: PropTypes.object.isRequired,\n query: PropTypes.string.isRequired,\n total: PropTypes.number.isRequired,\n onPageChange: PropTypes.func.isRequired,\n onQueryChange: PropTypes.func.isRequired,\n onClone: PropTypes.func.isRequired,\n onDelete: PropTypes.func.isRequired,\n validateConfiguration: PropTypes.func.isRequired,\n };\n\n _headerCellFormatter = (header) => {\n const className = (header === 'Actions' ? style.actionsColumn : '');\n\n return {header};\n };\n\n _collectorConfigurationFormatter = (configuration) => {\n const { collectors, onClone, onDelete, validateConfiguration } = this.props;\n const configurationCollector = collectors.find((collector) => collector.id === configuration.collector_id);\n\n return (\n \n );\n };\n\n render() {\n const { configurations, pagination, query, total, onPageChange, onQueryChange } = this.props;\n const headers = ['Configuration', 'Color', 'Collector', 'Actions'];\n\n return (\n
\n \n \n
\n \n \n \n
\n

Configurations {total} total

\n \n \n

\n These are the Configurations to use in your Collectors. Remember to apply new configurations to\n Collectors in the Administration page.\n

\n \n
\n\n \n \n \n\n \n
\n \n
\n
\n \n
\n
\n );\n }\n}\n\nexport default ConfigurationList;\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 createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\n\nimport { Spinner } from 'components/common';\nimport CombinedProvider from 'injection/CombinedProvider';\n\nimport ConfigurationList from './ConfigurationList';\n\nconst { CollectorConfigurationsStore, CollectorConfigurationsActions } = CombinedProvider.get('CollectorConfigurations');\nconst { CollectorsStore, CollectorsActions } = CombinedProvider.get('Collectors');\n\nconst ConfigurationListContainer = createReactClass({\n mixins: [Reflux.connect(CollectorConfigurationsStore, 'configurations'), Reflux.connect(CollectorsStore, 'collectors')],\n\n componentDidMount() {\n this._reloadConfiguration();\n },\n\n _reloadConfiguration() {\n CollectorConfigurationsActions.list({});\n CollectorsActions.all();\n },\n\n validateConfiguration(configuration) {\n return CollectorConfigurationsActions.validate(configuration);\n },\n\n handlePageChange(page, pageSize) {\n const { query } = this.state.configurations;\n\n CollectorConfigurationsActions.list({ query: query, page: page, pageSize: pageSize });\n },\n\n handleQueryChange(query = '', callback = () => {}) {\n const { pageSize } = this.state.configurations.pagination;\n\n CollectorConfigurationsActions.list({ query: query, pageSize: pageSize }).finally(callback);\n },\n\n handleClone(configuration, name, callback) {\n CollectorConfigurationsActions.copyConfiguration(configuration, name)\n .then((response) => {\n callback();\n\n return response;\n });\n },\n\n handleDelete(configuration) {\n CollectorConfigurationsActions.delete(configuration);\n },\n\n render() {\n const { collectors, configurations } = this.state;\n const isLoading = !collectors || !collectors.collectors || !configurations || !configurations.paginatedConfigurations;\n\n if (isLoading) {\n return ;\n }\n\n return (\n \n );\n },\n});\n\nexport default ConfigurationListContainer;\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, { createRef } from 'react';\nimport PropTypes from 'prop-types';\nimport lodash from 'lodash';\n\nimport CloneMenuItem from '../common/CloneMenuItem';\n\nclass CopyCollectorModal extends React.Component {\n static propTypes = {\n collector: PropTypes.object.isRequired,\n copyCollector: PropTypes.func.isRequired,\n validateCollector: PropTypes.func.isRequired,\n };\n\n constructor(props) {\n super(props);\n\n this.modalRef = createRef();\n\n this.state = {\n id: props.collector.id,\n name: '',\n errorMessage: undefined,\n };\n }\n\n openModal = () => {\n this.modalRef.current.open();\n };\n\n _getId = (prefixIdName) => {\n const { id } = this.state;\n\n return `${prefixIdName}-${id}`;\n };\n\n _closeModal = () => {\n this.modalRef.current.close();\n };\n\n _saved = () => {\n this._closeModal();\n this.setState({ name: '' });\n };\n\n _save = () => {\n const { errorMessage, id, name } = this.state;\n const { copyCollector } = this.props;\n\n if (!errorMessage) {\n copyCollector(id, name, this._saved);\n }\n };\n\n _changeName = (event) => {\n const { collector, validateCollector } = this.props;\n const name = event.target.value;\n\n this.setState({ name, errorMessage: undefined });\n\n const nextCollector = lodash.cloneDeep(collector);\n\n nextCollector.name = name;\n nextCollector.id = '';\n\n validateCollector(nextCollector).then((validation) => {\n if (validation.errors.name) {\n this.setState({ errorMessage: validation.errors.name[0] });\n }\n });\n };\n\n render() {\n const { errorMessage, name } = this.state;\n\n return (\n \n );\n }\n}\n\nexport default CopyCollectorModal;\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 createReactClass from 'create-react-class';\nimport PropTypes from 'prop-types';\nimport lodash from 'lodash';\n\nimport { LinkContainer } from 'components/graylog/router';\nimport { ButtonToolbar, DropdownButton, MenuItem, Button } from 'components/graylog';\nimport Routes from 'routing/Routes';\nimport OperatingSystemIcon from 'components/sidecars/common/OperatingSystemIcon';\n\nimport CopyCollectorModal from './CopyCollectorModal';\n\nconst CollectorRow = createReactClass({\n propTypes: {\n collector: PropTypes.object.isRequired,\n onClone: PropTypes.func.isRequired,\n onDelete: PropTypes.func.isRequired,\n validateCollector: PropTypes.func.isRequired,\n },\n\n handleClone() {\n const { onClone, collector } = this.props;\n\n onClone(collector);\n },\n\n handleDelete() {\n const { onDelete, collector } = this.props;\n\n // eslint-disable-next-line no-alert\n if (window.confirm(`You are about to delete collector \"${collector.name}\". Are you sure?`)) {\n onDelete(collector);\n }\n },\n\n render() {\n const { collector, validateCollector, onClone } = this.props;\n\n return (\n \n \n {collector.name}\n \n \n {lodash.upperFirst(collector.node_operating_system)}\n \n \n \n \n \n \n \n \n \n Delete\n \n \n \n \n );\n },\n});\n\nexport default CollectorRow;\n","import api from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import content from \"!!../../../../node_modules/css-loader/dist/cjs.js??ref--10-1!./CollectorList.css\";\n\nvar options = {};\n\noptions.insert = \"head\";\noptions.singleton = false;\n\nvar update = api(content, options);\n\n\n\nexport default content.locals || {};","/*\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 createReactClass from 'create-react-class';\nimport PropTypes from 'prop-types';\n\nimport { LinkContainer } from 'components/graylog/router';\nimport { Col, Row, Button } from 'components/graylog';\nimport { DataTable, PaginatedList, SearchForm } from 'components/common';\nimport Routes from 'routing/Routes';\n\nimport CollectorRow from './CollectorRow';\nimport style from './CollectorList.css';\n\nconst CollectorList = createReactClass({\n propTypes: {\n collectors: PropTypes.array.isRequired,\n pagination: PropTypes.object.isRequired,\n query: PropTypes.string.isRequired,\n total: PropTypes.number.isRequired,\n onClone: PropTypes.func.isRequired,\n onDelete: PropTypes.func.isRequired,\n onPageChange: PropTypes.func.isRequired,\n onQueryChange: PropTypes.func.isRequired,\n validateCollector: PropTypes.func.isRequired,\n },\n\n headerCellFormatter(header) {\n const className = (header === 'Actions' ? style.actionsColumn : '');\n\n return {header};\n },\n\n collectorFormatter(collector) {\n const { onClone, onDelete, validateCollector } = this.props;\n\n return (\n \n );\n },\n\n render() {\n const { collectors, pagination, query, total, onPageChange, onQueryChange } = this.props;\n\n const headers = ['Name', 'Operating System', 'Actions'];\n\n return (\n
\n \n \n
\n \n \n \n
\n

Log Collectors {total} total

\n \n \n

Manage Log Collectors that you can configure and supervise through Graylog Sidecar and Graylog Web Interface.

\n \n
\n\n \n \n \n\n \n
\n \n
\n
\n \n
\n
\n );\n },\n});\n\nexport default CollectorList;\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 createReactClass from 'create-react-class';\nimport Reflux from 'reflux';\n\nimport CombinedProvider from 'injection/CombinedProvider';\nimport { Spinner } from 'components/common';\n\nimport CollectorList from './CollectorList';\n\nconst { CollectorsStore, CollectorsActions } = CombinedProvider.get('Collectors');\n\nconst CollectorListContainer = createReactClass({\n mixins: [Reflux.connect(CollectorsStore, 'collectors')],\n\n componentDidMount() {\n this.loadCollectors();\n },\n\n loadCollectors() {\n CollectorsActions.list({});\n },\n\n handleClone(collector, name, callback) {\n CollectorsActions.copy(collector, name)\n .then(() => {\n callback();\n });\n },\n\n handleDelete(collector) {\n CollectorsActions.delete(collector);\n },\n\n handlePageChange(page, pageSize) {\n const { query } = this.state.collectors;\n\n CollectorsActions.list({ query: query, page: page, pageSize: pageSize });\n },\n\n handleQueryChange(query = '', callback = () => {}) {\n const { pageSize } = this.state.collectors.pagination;\n\n CollectorsActions.list({ query: query, pageSize: pageSize }).finally(callback);\n },\n\n validateCollector(collector) {\n return CollectorsActions.validate(collector);\n },\n\n render() {\n const { collectors } = this.state;\n\n if (!collectors || !collectors.paginatedCollectors) {\n return ;\n }\n\n return (\n \n );\n },\n});\n\nexport default CollectorListContainer;\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 { LinkContainer } from 'components/graylog/router';\nimport { ButtonToolbar, Col, Row, Button } from 'components/graylog';\nimport DocsHelper from 'util/DocsHelper';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport { DocumentTitle, PageHeader } from 'components/common';\nimport Routes from 'routing/Routes';\nimport ConfigurationListContainer from 'components/sidecars/configurations/ConfigurationListContainer';\nimport CollectorListContainer from 'components/sidecars/configurations/CollectorListContainer';\n\nconst SidecarConfigurationPage = () => (\n \n \n \n \n The Collector Sidecar runs next to your favourite log collector and configures it for you. Here you can\n manage the Sidecar configurations.\n \n\n \n Read more about the collector sidecar in the{' '}\n .\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default SidecarConfigurationPage;\n"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy