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

web-interface.assets.b6fe2bb5-2055.94b0f83f7a55d52aa8a9.js.map Maven / Gradle / Ivy

{"version":3,"file":"b6fe2bb5-2055.94b0f83f7a55d52aa8a9.js","mappings":"8JA2BA,QAXoC,CAClCA,IAAK,EACLC,OAAQ,EACRC,KAAM,EACNC,WAAY,CACV,EAAG,CAAEC,KAAM,OACX,EAAG,CAAEA,KAAM,UACX,EAAG,CAAEA,KAAM,W,4VCCFC,GAAgBC,EAAAA,EAAAA,IAC3B,eACA,kBAAMC,IAAAA,cAAqB,CACzBC,OAAQ,CAAEC,aAAa,QAIdC,GAAcC,EAAAA,EAAAA,IACzB,eACA,kBAAMJ,IAAAA,YAAmB,CACvBK,YAAa,CAACP,GACdQ,UAAW,iBACXC,YAAQC,EACRC,iBAAaD,EACbE,aAASF,EACTG,WAAY,CACVC,UAAMJ,EACNK,cAAUL,EACVM,WAAON,EACPO,YAAQP,EACRQ,eAAWR,GAGbS,gBAduB,WAerB,OAAOC,KAAKC,YAGdC,iBAlBuB,WAmBrBF,KAAKG,QAAQH,KAAKC,aAGpBA,SAtBuB,WAuBrB,MAAO,CACLZ,OAAQW,KAAKX,OACbI,WAAYO,KAAKP,WACjBF,YAAaS,KAAKT,YAClBC,QAASQ,KAAKR,UAIlBY,UA/BuB,YA+BkB,QAA7BC,SAAAA,OAA6B,MAAlB,GAAkB,MAAdT,MAAAA,OAAc,MAAN,GAAM,EACjCU,EAAM,IAAIC,IAAJ,CAAQP,KAAKZ,WACnBoB,EAAeC,IAAAA,OAAcH,EAAII,UAAWL,GAKlD,OAHAC,EAAIK,aAAaH,GACjBF,EAAIV,MAAMA,GAEHgB,EAAAA,GAAoBN,EAAIO,aAGjCC,QAzCuB,WA0CrB,MAA0Cd,KAAKP,WAAvCG,EAAR,EAAQA,MAAOF,EAAf,EAAeA,KAAMC,EAArB,EAAqBA,SAAUE,EAA/B,EAA+BA,OAE/BG,KAAKjB,OAAO,CACVa,MAAO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e5D,GAAIC,EAAAA,GAAAA,OAAAA,YAAAA,MACjB,gBAAC,KAAD,CAAQ2D,QAAQ,QAAhB,sBAEF,gBAAC,IAAD,CAAe5D,GAAIC,EAAAA,GAAAA,OAAAA,cAAAA,MACjB,gBAAC,KAAD,CAAQ2D,QAAQ,QAAhB,oBAKN,gBAAC,KAAD,CAAKzG,UAAU,WACb,gBAAC,KAAD,CAAKoD,GAAI,IACP,gBAAC,GAAD,CAAiBxB,IAAKwH,EAAsBjB,SAAUiB,SAQlED,GAAWM,UAAY,CACrBJ,SAAUvH,IAAAA,OAAAA,YAGZ,UAAe4H,EAAAA,GAAAA,GAAaP,K,mFCrExBQ,E,MAA0B,GAA4B,KAE1DA,EAAwBC,KAAK,CAACC,EAAOhJ,GAAI,wxBAAyxB,GAAG,CAAC,QAAU,EAAE,QAAU,CAAC,gEAAgE,MAAQ,GAAG,SAAW,qSAAqS,eAAiB,CAAC,6xBAA6xB,WAAa,MAEphE8I,EAAwBG,OAAS,CAChC,gBAAmB,uBACnB,WAAc,wBAEf","sources":["webpack://graylog-web-interface/./src/logic/alerts/EventDefinitionPriorityEnum.js","webpack://graylog-web-interface/./src/stores/events/EventsStore.js","webpack://graylog-web-interface/./src/components/events/events/EventsSearchBar.css?0634","webpack://graylog-web-interface/./src/components/events/events/EventsSearchBar.jsx","webpack://graylog-web-interface/./src/components/events/events/EventDetails.jsx","webpack://graylog-web-interface/./src/components/events/events/Events.jsx","webpack://graylog-web-interface/./src/components/events/events/EventsContainer.jsx","webpack://graylog-web-interface/./src/pages/EventsPage.jsx","webpack://graylog-web-interface/./src/components/events/events/EventsSearchBar.css"],"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 */\nconst EventDefinitionPriorityEnum = {\n  LOW: 1,\n  NORMAL: 2,\n  HIGH: 3,\n  properties: {\n    1: { name: 'low' },\n    2: { name: 'normal' },\n    3: { name: 'high' },\n  },\n};\n\nexport default EventDefinitionPriorityEnum;\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 URI from 'urijs';\nimport lodash from 'lodash';\n\nimport * as URLUtils from 'util/URLUtils';\nimport fetch from 'logic/rest/FetchProvider';\nimport { singletonStore, singletonActions } from 'logic/singleton';\n\nexport const EventsActions = singletonActions(\n  'core.Events',\n  () => Reflux.createActions({\n    search: { asyncResult: true },\n  }),\n);\n\nexport const EventsStore = singletonStore(\n  'core.Events',\n  () => Reflux.createStore({\n    listenables: [EventsActions],\n    sourceUrl: '/events/search',\n    events: undefined,\n    totalEvents: undefined,\n    context: undefined,\n    parameters: {\n      page: undefined,\n      pageSize: undefined,\n      query: undefined,\n      filter: undefined,\n      timerange: undefined,\n    },\n\n    getInitialState() {\n      return this.getState();\n    },\n\n    propagateChanges() {\n      this.trigger(this.getState());\n    },\n\n    getState() {\n      return {\n        events: this.events,\n        parameters: this.parameters,\n        totalEvents: this.totalEvents,\n        context: this.context,\n      };\n    },\n\n    eventsUrl({ segments = [], query = {} }) {\n      const uri = new URI(this.sourceUrl);\n      const nextSegments = lodash.concat(uri.segment(), segments);\n\n      uri.segmentCoded(nextSegments);\n      uri.query(query);\n\n      return URLUtils.qualifyUrl(uri.resource());\n    },\n\n    refresh() {\n      const { query, page, pageSize, filter } = this.parameters;\n\n      this.search({\n        query: query,\n        page: page,\n        pageSize: pageSize,\n        filter: filter,\n      });\n    },\n\n    search({ query = '', page = 1, pageSize = 25, filter = { alerts: 'only' }, timerange }) {\n      const promise = fetch('POST', this.eventsUrl({}), {\n        query: query,\n        page: page,\n        per_page: pageSize,\n        filter: filter,\n        timerange: timerange,\n      });\n\n      promise.then((response) => {\n        this.events = response.events;\n\n        this.parameters = {\n          query: response.parameters.query,\n          page: response.parameters.page,\n          pageSize: response.parameters.per_page,\n          filter: response.parameters.filter,\n          timerange: response.parameters.timerange,\n        };\n\n        this.totalEvents = response.total_events;\n        this.context = response.context;\n        this.propagateChanges();\n\n        return response;\n      });\n\n      EventsActions.search.promise(promise);\n    },\n  }),\n);\n","\n      import API from \"!../../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n      import domAPI from \"!../../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n      import insertFn from \"!../../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n      import setAttributes from \"!../../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n      import insertStyleElement from \"!../../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n      import styleTagTransformFn from \"!../../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n      import content, * as namedExport from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./EventsSearchBar.css\";\n      \n      \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n      options.insert = insertFn.bind(null, \"head\");\n    \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[6].use[1]!./EventsSearchBar.css\";\n       export default content && content.locals ? content.locals : undefined;\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 moment from 'moment';\nimport lodash from 'lodash';\n\nimport { ButtonGroup, ControlLabel, FormControl, FormGroup, Button } from 'components/bootstrap';\nimport { SearchForm, TimeUnitInput, Icon } from 'components/common';\nimport { extractDurationAndUnit } from 'components/common/TimeUnitInput';\nimport * as FormsUtils from 'util/FormsUtils';\n\nimport styles from './EventsSearchBar.css';\n\nconst TIME_UNITS = ['DAYS', 'HOURS', 'MINUTES', 'SECONDS'];\n\nclass EventsSearchBar extends React.Component {\n  static propTypes = {\n    parameters: PropTypes.object.isRequired,\n    pageSize: PropTypes.number.isRequired,\n    pageSizes: PropTypes.array.isRequired,\n    onQueryChange: PropTypes.func.isRequired,\n    onAlertFilterChange: PropTypes.func.isRequired,\n    onTimeRangeChange: PropTypes.func.isRequired,\n    onPageSizeChange: PropTypes.func.isRequired,\n    onSearchReload: PropTypes.func.isRequired,\n  };\n\n  constructor(props) {\n    super(props);\n\n    const timerangeDuration = extractDurationAndUnit(props.parameters.timerange.range * 1000, TIME_UNITS);\n\n    this.state = {\n      isReloadingResults: false,\n      timeRangeDuration: timerangeDuration.duration,\n      timeRangeUnit: timerangeDuration.unit,\n    };\n  }\n\n  updateSearchTimeRange = (nextValue, nextUnit) => {\n    const { onTimeRangeChange } = this.props;\n    const durationInSeconds = moment.duration(lodash.max([nextValue, 1]), nextUnit).asSeconds();\n\n    onTimeRangeChange('relative', durationInSeconds);\n    this.setState({ timeRangeDuration: nextValue, timeRangeUnit: nextUnit });\n  };\n\n  handlePageSizeChange = (event) => {\n    const { onPageSizeChange } = this.props;\n\n    onPageSizeChange(FormsUtils.getValueFromInput(event.target));\n  };\n\n  resetLoadingState = () => {\n    this.setState({ isReloadingResults: false });\n  };\n\n  handleSearchReload = () => {\n    this.setState({ isReloadingResults: true });\n    const { onSearchReload } = this.props;\n\n    onSearchReload(this.resetLoadingState);\n  };\n\n  render() {\n    const { parameters, pageSize, pageSizes, onQueryChange, onAlertFilterChange } = this.props;\n    const { isReloadingResults, timeRangeUnit, timeRangeDuration } = this.state;\n\n    const filterAlerts = parameters.filter.alerts;\n\n    return (\n      
\n
\n
\n }\n loadingLabel=\"\"\n placeholder=\"Find Events\"\n queryWidth=\"100%\"\n topMargin={0}\n useLoadingState>\n \n \n
\n\n \n
\n
\n \n \n \n \n \n\n \n Show\n \n {pageSizes.map((size) => )}\n \n \n
\n
\n );\n }\n}\n\nexport default EventsSearchBar;\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 lodash from 'lodash';\nimport { PluginStore } from 'graylog-web-plugin/plugin';\n\nimport { Link } from 'components/common/router';\nimport { Col, Row } from 'components/bootstrap';\nimport { Timestamp } from 'components/common';\nimport Routes from 'routing/Routes';\nimport PermissionsMixin from 'util/PermissionsMixin';\nimport EventDefinitionPriorityEnum from 'logic/alerts/EventDefinitionPriorityEnum';\n\nclass EventDetails extends React.Component {\n static propTypes = {\n event: PropTypes.object.isRequired,\n eventDefinitionContext: PropTypes.object.isRequired,\n currentUser: PropTypes.object.isRequired,\n };\n\n getConditionPlugin = (type) => {\n if (type === undefined) {\n return {};\n }\n\n return PluginStore.exports('eventDefinitionTypes').find((edt) => edt.type === type) || {};\n };\n\n renderEventFields = (eventFields) => {\n const fieldNames = Object.keys(eventFields);\n\n return (\n
    \n {fieldNames.map((fieldName) => {\n return (\n \n
  • {fieldName} {eventFields[fieldName]}
  • \n
    \n );\n })}\n
\n );\n };\n\n renderLinkToEventDefinition = (event, eventDefinitionContext) => {\n const { currentUser } = this.props;\n\n if (!eventDefinitionContext) {\n return {event.event_definition_id};\n }\n\n return PermissionsMixin.isPermitted(currentUser.permissions,\n `eventdefinitions:edit:${eventDefinitionContext.id}`)\n ? {eventDefinitionContext.title}\n : eventDefinitionContext.title;\n };\n\n render() {\n const { event, eventDefinitionContext } = this.props;\n const plugin = this.getConditionPlugin(event.event_definition_type);\n\n return (\n \n \n
\n
ID
\n
{event.id}
\n
Priority
\n
\n {lodash.capitalize(EventDefinitionPriorityEnum.properties[event.priority].name)}\n
\n
Timestamp
\n
\n \n
\n
Event Definition
\n
\n {this.renderLinkToEventDefinition(event, eventDefinitionContext)}\n  \n ({plugin.displayName || event.event_definition_type})\n
\n
\n \n \n
\n {event.timerange_start && event.timerange_end && (\n <>\n
Aggregation time range
\n
\n \n  — \n \n
\n \n )}\n
Event Key
\n
{event.key || 'No Key set for this Event.'}
\n
Additional Fields
\n {lodash.isEmpty(event.fields)\n ?
No additional Fields added to this Event.
\n : this.renderEventFields(event.fields)}\n
Group-By Fields
\n {lodash.isEmpty(event.group_by_fields)\n ?
No group-by fields on this Event.
\n : this.renderEventFields(event.group_by_fields)}\n
\n \n
\n );\n }\n}\n\nexport default EventDetails;\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 lodash from 'lodash';\nimport styled, { css } from 'styled-components';\n\nimport { Link, LinkContainer } from 'components/common/router';\nimport { OverlayTrigger, EmptyEntity, IfPermitted, PaginatedList, Timestamp, Icon } from 'components/common';\nimport { Alert, Col, Label, Row, Table, Tooltip, Button } from 'components/bootstrap';\nimport Routes from 'routing/Routes';\nimport DateTime from 'logic/datetimes/DateTime';\nimport EventDefinitionPriorityEnum from 'logic/alerts/EventDefinitionPriorityEnum';\nimport { isPermitted } from 'util/PermissionsMixin';\n\nimport EventsSearchBar from './EventsSearchBar';\nimport EventDetails from './EventDetails';\n\nconst HEADERS = ['Description', 'Key', 'Type', 'Event Definition', 'Timestamp'];\n\nconst ExpandedTR = styled.tr(({ theme }) => css`\n > td {\n border-top: 1px solid ${theme.colors.gray[80]} !important;\n padding: 10px 8px 8px 35px !important;\n }\n\n dd {\n margin-bottom: 0.25em;\n }\n\n dl {\n > dl,\n > ul {\n padding-left: 1.5em;\n }\n }\n\n ul {\n list-style-type: disc;\n }\n`);\n\nconst EventsTbody = styled.tbody(({ expanded, theme }) => css`\n border-left: ${expanded ? `3px solid ${theme.colors.variant.light.info}` : ''};\n border-collapse: ${expanded ? 'separate' : 'collapse'};\n`);\n\nconst CollapsibleTr = styled.tr`\n cursor: pointer;\n`;\n\nconst EventsTable = styled(Table)(({ theme }) => css`\n tr {\n &:hover {\n background-color: ${theme.colors.gray[90]};\n }\n\n &${ExpandedTR} {\n &:hover {\n background-color: ${theme.colors.global.contentBackground};\n }\n }\n }\n`);\n\nconst EventsIcon = styled(Icon)(({ theme }) => css`\n font-size: ${theme.fonts.size.large};\n vertical-align: top;\n`);\n\nclass Events extends React.Component {\n static propTypes = {\n events: PropTypes.array.isRequired,\n parameters: PropTypes.object.isRequired,\n currentUser: PropTypes.object.isRequired,\n totalEvents: PropTypes.number.isRequired,\n totalEventDefinitions: PropTypes.number.isRequired,\n context: PropTypes.object.isRequired,\n onPageChange: PropTypes.func.isRequired,\n onQueryChange: PropTypes.func.isRequired,\n onAlertFilterChange: PropTypes.func.isRequired,\n onTimeRangeChange: PropTypes.func.isRequired,\n onSearchReload: PropTypes.func.isRequired,\n };\n\n constructor(props) {\n super(props);\n\n this.state = {\n expanded: [],\n };\n }\n\n handlePageSizeChange = (nextPageSize) => {\n const { onPageChange } = this.props;\n\n onPageChange(1, nextPageSize);\n };\n\n expandRow = (eventId) => {\n return () => {\n const { expanded } = this.state;\n const nextExpanded = expanded.includes(eventId) ? lodash.without(expanded, eventId) : expanded.concat([eventId]);\n\n this.setState({ expanded: nextExpanded });\n };\n };\n\n priorityFormatter = (eventId, priority) => {\n const priorityName = lodash.capitalize(EventDefinitionPriorityEnum.properties[priority].name);\n let icon;\n let style;\n\n switch (priority) {\n case EventDefinitionPriorityEnum.LOW:\n icon = 'thermometer-empty';\n style = 'text-muted';\n break;\n case EventDefinitionPriorityEnum.HIGH:\n icon = 'thermometer-full';\n style = 'text-danger';\n break;\n default:\n icon = 'thermometer-half';\n style = 'text-info';\n }\n\n const tooltip = {priorityName} Priority;\n\n return (\n \n \n \n );\n };\n\n renderLinkToEventDefinition = (event, eventDefinitionContext) => {\n const { currentUser } = this.props;\n\n if (!eventDefinitionContext) {\n return {event.event_definition_id};\n }\n\n return isPermitted(currentUser.permissions,\n `eventdefinitions:edit:${eventDefinitionContext.id}`)\n ? {eventDefinitionContext.title}\n : eventDefinitionContext.title;\n };\n\n renderEvent = (event) => {\n const { context, currentUser } = this.props;\n const { expanded } = this.state;\n const eventDefinitionContext = context.event_definitions[event.event_definition_id];\n\n return (\n \n \n \n {this.priorityFormatter(event.id, event.priority)}\n  \n {event.message}\n \n {event.key || none}\n {event.alert ? : }\n \n {this.renderLinkToEventDefinition(event, eventDefinitionContext)}\n \n \n \n {expanded.includes(event.id) && (\n \n \n \n \n \n )}\n \n );\n };\n\n renderEmptyContent = () => {\n return (\n \n \n \n

\n Create Event Definitions that are able to search, aggregate or correlate Messages and other\n Events, allowing you to record significant Events in Graylog and alert on them.\n

\n \n \n \n \n \n
\n \n
\n );\n };\n\n render() {\n const {\n events,\n parameters,\n totalEvents,\n totalEventDefinitions,\n onPageChange,\n onQueryChange,\n onAlertFilterChange,\n onTimeRangeChange,\n onSearchReload,\n } = this.props;\n\n const eventList = events.map((e) => e.event);\n\n if (totalEventDefinitions === 0) {\n return this.renderEmptyContent();\n }\n\n const filter = parameters.filter.alerts;\n const excludedFile = filter === 'exclude' ? 'Events' : 'Alerts & Events';\n const entity = (filter === 'only' ? 'Alerts' : excludedFile);\n\n return (\n \n \n \n \n {eventList.length === 0 ? (\n No {entity} found for the current search criteria.\n ) : (\n \n \n \n {HEADERS.map((header) => {header})}\n \n \n {eventList.map(this.renderEvent)}\n \n )}\n \n \n \n );\n }\n}\n\nexport default Events;\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 { isObject } from 'lodash';\n\nimport { Spinner } from 'components/common';\nimport connect from 'stores/connect';\nimport Store from 'logic/local-storage/Store';\nimport { CurrentUserStore } from 'stores/users/CurrentUserStore';\nimport { EventDefinitionsActions, EventDefinitionsStore } from 'stores/event-definitions/EventDefinitionsStore';\nimport { EventsActions, EventsStore } from 'stores/events/EventsStore';\n\nimport Events from './Events';\n\nimport {} from 'components/event-definitions/event-definition-types';\n\nconst LOCAL_STORAGE_ITEM = 'events-last-search';\n\nclass EventsContainer extends React.Component {\n static propTypes = {\n events: PropTypes.object.isRequired,\n eventDefinitions: PropTypes.object.isRequired,\n currentUser: PropTypes.object.isRequired,\n streamId: PropTypes.string,\n };\n\n static defaultProps = {\n streamId: '',\n };\n\n componentDidMount() {\n const { streamId } = this.props;\n const lastSearch = Store.get(LOCAL_STORAGE_ITEM) || {};\n\n const params = {};\n\n if (streamId) {\n params.query = `source_streams:${streamId}`;\n }\n\n if (lastSearch && isObject(lastSearch)) {\n params.filter = lastSearch.filter;\n params.timerange = lastSearch.timerange;\n }\n\n this.fetchEvents(params);\n this.fetchEventDefinitions();\n }\n\n fetchEvents = ({ page, pageSize, query, filter, timerange }) => {\n Store.set(LOCAL_STORAGE_ITEM, { filter: filter, timerange: timerange });\n\n return EventsActions.search({\n query: query,\n page: page,\n pageSize: pageSize,\n filter: filter,\n timerange: timerange,\n });\n };\n\n fetchEventDefinitions = () => {\n return EventDefinitionsActions.listPaginated({});\n };\n\n handlePageChange = (nextPage, nextPageSize) => {\n const { events } = this.props;\n\n this.fetchEvents({\n page: nextPage,\n pageSize: nextPageSize,\n query: events.parameters.query,\n filter: events.parameters.filter,\n timerange: events.parameters.timerange,\n });\n };\n\n handleQueryChange = (nextQuery, callback = () => {}) => {\n const { events } = this.props;\n const promise = this.fetchEvents({\n query: nextQuery,\n pageSize: events.parameters.pageSize,\n filter: events.parameters.filter,\n timerange: events.parameters.timerange,\n });\n\n promise.finally(callback);\n };\n\n handleAlertFilterChange = (nextAlertFilter) => {\n return () => {\n const { events } = this.props;\n\n this.fetchEvents({\n query: events.parameters.query,\n pageSize: events.parameters.pageSize,\n filter: { alerts: nextAlertFilter },\n timerange: events.parameters.timerange,\n });\n };\n };\n\n handleTimeRangeChange = (timeRangeType, range) => {\n const { events } = this.props;\n\n this.fetchEvents({\n query: events.parameters.query,\n pageSize: events.parameters.pageSize,\n filter: events.parameters.filter,\n timerange: { type: timeRangeType, range: range },\n });\n };\n\n handleSearchReload = (callback = () => {}) => {\n const { events } = this.props;\n const promise = this.fetchEvents(events.parameters);\n\n promise.finally(callback);\n };\n\n render() {\n const { events, eventDefinitions, currentUser } = this.props;\n const isLoading = !events.events || !eventDefinitions.eventDefinitions;\n\n if (isLoading) {\n return ;\n }\n\n return (\n \n );\n }\n}\n\nexport default connect(EventsContainer, {\n events: EventsStore,\n eventDefinitions: EventDefinitionsStore,\n currentUser: CurrentUserStore,\n}, ({ currentUser, ...otherProps }) => ({\n ...otherProps,\n currentUser: currentUser.currentUser,\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 PropTypes from 'prop-types';\n\nimport { LinkContainer } from 'components/common/router';\nimport { ButtonToolbar, Col, Row, Button } from 'components/bootstrap';\nimport { DocumentTitle, IfPermitted, PageHeader } from 'components/common';\nimport DocumentationLink from 'components/support/DocumentationLink';\nimport EventsContainer from 'components/events/events/EventsContainer';\nimport DocsHelper from 'util/DocsHelper';\nimport Routes from 'routing/Routes';\nimport withLocation from 'routing/withLocation';\n\nconst EventsPage = ({ location }) => {\n const filteredSourceStream = location.query.stream_id;\n\n return (\n \n \n \n \n Define Events through different conditions. Add Notifications to Events that require your attention\n to create Alerts.\n \n \n Graylog's new Alerting system let you define more flexible and powerful rules. Learn more 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\nEventsPage.propTypes = {\n location: PropTypes.object.isRequired,\n};\n\nexport default withLocation(EventsPage);\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../../node_modules/css-loader/dist/runtime/sourceMaps.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, \".zcLZoqCM3gdYwBxCBfhI {\\n display: flex;\\n flex-flow: column nowrap;\\n margin-bottom: 15px;\\n}\\n\\n@media all and (max-width: 768px) {\\n .zcLZoqCM3gdYwBxCBfhI > div {\\n flex-flow: column nowrap;\\n }\\n}\\n\\n.zcLZoqCM3gdYwBxCBfhI > div {\\n display: flex;\\n flex-flow: row nowrap;\\n justify-content: space-between;\\n align-items: flex-start;\\n margin-bottom: 10px;\\n}\\n\\n.zcLZoqCM3gdYwBxCBfhI .form-group {\\n margin-bottom: 0;\\n}\\n\\n.cZx0sEUi7VmYCScAlRqg {\\n flex: 0 1 45%;\\n margin-right: 10px;\\n}\\n\\n.cZx0sEUi7VmYCScAlRqg .form-inline {\\n display: flex;\\n flex-flow: row nowrap;\\n}\\n\\n.cZx0sEUi7VmYCScAlRqg .form-group:first-child {\\n flex: 1 100%;\\n}\\n\\n.cZx0sEUi7VmYCScAlRqg .form-group:not(:first-child) {\\n margin-right: 5px;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/events/events/EventsSearchBar.css\"],\"names\":[],\"mappings\":\"AAAA;IACI,aAAa;IACb,wBAAwB;IACxB,mBAAmB;AACvB;;AAEA;IACI;QACI,wBAAwB;IAC5B;AACJ;;AAEA;IACI,aAAa;IACb,qBAAqB;IACrB,8BAA8B;IAC9B,uBAAuB;IACvB,mBAAmB;AACvB;;AAEA;IACI,gBAAgB;AACpB;;AAEA;IACI,aAAa;IACb,kBAAkB;AACtB;;AAEA;IACI,aAAa;IACb,qBAAqB;AACzB;;AAEA;IACI,YAAY;AAChB;;AAEA;IACI,iBAAiB;AACrB\",\"sourcesContent\":[\":local(.eventsSearchBar) {\\n display: flex;\\n flex-flow: column nowrap;\\n margin-bottom: 15px;\\n}\\n\\n@media all and (max-width: 768px) {\\n :local(.eventsSearchBar) > div {\\n flex-flow: column nowrap;\\n }\\n}\\n\\n:local(.eventsSearchBar) > div {\\n display: flex;\\n flex-flow: row nowrap;\\n justify-content: space-between;\\n align-items: flex-start;\\n margin-bottom: 10px;\\n}\\n\\n:local(.eventsSearchBar) .form-group {\\n margin-bottom: 0;\\n}\\n\\n:local(.searchForm) {\\n flex: 0 1 45%;\\n margin-right: 10px;\\n}\\n\\n:local(.searchForm) .form-inline {\\n display: flex;\\n flex-flow: row nowrap;\\n}\\n\\n:local(.searchForm) .form-group:first-child {\\n flex: 1 100%;\\n}\\n\\n:local(.searchForm) .form-group:not(:first-child) {\\n margin-right: 5px;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"eventsSearchBar\": \"zcLZoqCM3gdYwBxCBfhI\",\n\t\"searchForm\": \"cZx0sEUi7VmYCScAlRqg\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n"],"names":["LOW","NORMAL","HIGH","properties","name","EventsActions","singletonActions","Reflux","search","asyncResult","EventsStore","singletonStore","listenables","sourceUrl","events","undefined","totalEvents","context","parameters","page","pageSize","query","filter","timerange","getInitialState","this","getState","propagateChanges","trigger","eventsUrl","segments","uri","URI","nextSegments","lodash","segment","segmentCoded","URLUtils","resource","refresh","alerts","promise","fetch","per_page","then","response","total_events","options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","TIME_UNITS","EventsSearchBar","props","nextValue","nextUnit","onTimeRangeChange","moment","asSeconds","setState","timeRangeDuration","timeRangeUnit","event","onPageSizeChange","FormsUtils","target","isReloadingResults","onSearchReload","resetLoadingState","timerangeDuration","extractDurationAndUnit","range","state","duration","unit","pageSizes","onQueryChange","onAlertFilterChange","filterAlerts","className","styles","onSearch","searchButtonLabel","loadingLabel","placeholder","queryWidth","topMargin","useLoadingState","onClick","handleSearchReload","disabled","spin","id","update","updateSearchTimeRange","units","value","clearable","pullRight","required","active","componentClass","bsSize","onChange","handlePageSizeChange","map","size","key","React","PropTypes","EventDetails","type","PluginStore","find","edt","eventFields","fieldNames","Object","keys","fieldName","eventDefinitionContext","currentUser","PermissionsMixin","permissions","to","Routes","title","event_definition_id","plugin","getConditionPlugin","event_definition_type","md","EventDefinitionPriorityEnum","priority","dateTime","timestamp","renderLinkToEventDefinition","displayName","timerange_start","timerange_end","fields","renderEventFields","group_by_fields","HEADERS","ExpandedTR","styled","theme","css","colors","gray","EventsTbody","expanded","variant","light","info","CollapsibleTr","EventsTable","Table","global","contentBackground","EventsIcon","Icon","fonts","large","Events","nextPageSize","onPageChange","eventId","nextExpanded","includes","concat","icon","style","priorityName","tooltip","placement","overlay","fixedWidth","isPermitted","event_definitions","expandRow","priorityFormatter","message","alert","bsStyle","colSpan","length","mdOffset","lg","lgOffset","totalEventDefinitions","eventList","e","renderEmptyContent","entity","activePage","showPageSizeSelect","totalItems","header","renderEvent","LOCAL_STORAGE_ITEM","EventsContainer","Store","EventDefinitionsActions","nextPage","fetchEvents","nextQuery","callback","nextAlertFilter","timeRangeType","streamId","lastSearch","params","isObject","fetchEventDefinitions","eventDefinitions","pagination","grandTotal","handleQueryChange","handlePageChange","handleAlertFilterChange","handleTimeRangeChange","text","connect","EventDefinitionsStore","CurrentUserStore","EventsPage","filteredSourceStream","location","stream_id","DocumentationLink","DocsHelper","propTypes","withLocation","___CSS_LOADER_EXPORT___","push","module","locals"],"sourceRoot":""}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy