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

web-interface.assets.b6fe2bb5-1138.ba476354698f001bb3db.js Maven / Gradle / Ivy

"use strict";(self.webpackChunkgraylog_web_interface=self.webpackChunkgraylog_web_interface||[]).push([["b6fe2bb5-1138"],{"1xjfhvUb":(e,t,n)=>{var r=n("AztyBNMT"),o=n("Z7aTuO5B"),i=n("VPaD/Np4"),a=n.n(i),c=n("ii0bleBb"),l=n.n(c),u=n("F95zaCK8"),s=n("AdUszsMQ"),f=n("EUJYvlA3"),p=n("6WrsI6bg"),y=n("b/6pmtOr"),d=n("nHcjWeCO"),m=n.n(d),b=n("Mr++nPjW"),h=n("YyiN4DLW"),g=n("ImMZ0iJQ");function v(e){return v="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},v(e)}function w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function E(e,t){for(var n=0;n\nEvent Definition\nTitle${event_definition_title}\nDescription${event_definition_description}\nType${event_definition_type}\n\n
\n\n\n\n\n\n\n\n\n\n\n\n\n
Event
Timestamp${event.timestamp}
Message${event.message}
Source${event.source}
Key${event.key}
Priority${event.priority}
Alert${event.alert}
Timestamp Processing${event.timestamp}
Timerange Start${event.timerange_start}
Timerange End${event.timerange_end}
Source Streams${event.source_streams}
Fields
    ${foreach event.fields field}
  • ${field.key}:${field.value}
  • ${end}
    \n${if backlog}\n
    \n\n${foreach backlog message}\n\n${end}\n
    Backlog (Last messages accounting for this alert)
    ${message}
    \n${end}\n',user_recipients:[],email_recipients:[],time_zone:"UTC"});const R=T;function A(e){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},A(e)}function N(){return N=Object.assign||function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=new Array(t);ne.length)&&(t=e.length);for(var n=0,r=new Array(t);n{n.d(t,{e:()=>y,O:()=>d});var r=n("JnTtTRmZ"),o=n.n(r),i=n("oCSEoDew"),a=n.n(i),c=n("nHcjWeCO"),l=n.n(c),u=n("0wQfx7YJ"),s=n("4af3+9mh"),f=n("OqsMdpSm"),p=n("xc00RsLr"),y=(0,p.ei)("core.EventNotifications",(function(){return o().createActions({listAll:{asyncResult:!0},listAllLegacyTypes:{asyncResult:!0},listPaginated:{asyncResult:!0},get:{asyncResult:!0},create:{asyncResult:!0},update:{asyncResult:!0},delete:{asyncResult:!0},test:{asyncResult:!0},testPersisted:{asyncResult:!0}})})),d=(0,p.dS)("core.EventNotifications",(function(){return o().createStore({listenables:[y],sourceUrl:"/events/notifications",all:void 0,allLegacyTypes:void 0,notifications:void 0,query:void 0,pagination:{count:void 0,page:void 0,pageSize:void 0,total:void 0,grandTotal:void 0},getInitialState:function(){return this.getState()},propagateChanges:function(){this.trigger(this.getState())},getState:function(){return{all:this.all,allLegacyTypes:this.allLegacyTypes,notifications:this.notifications,query:this.query,pagination:this.pagination}},eventNotificationsUrl:function(e){var t=e.segments,n=void 0===t?[]:t,r=e.query,o=void 0===r?{}:r,i=new(a())(this.sourceUrl),c=l().concat(i.segment(),n);return i.segmentCoded(c),i.query(o),u.DC(i.resource())},refresh:function(){this.all&&this.listAll(),this.pagination.page&&this.listPaginated({query:this.query,page:this.pagination.page,pageSize:this.pagination.pageSize})},listAll:function(){var e=this,t=(0,f.ZP)("GET",this.eventNotificationsUrl({query:{per_page:0}}));t.then((function(t){return e.all=t.notifications,e.propagateChanges(),t})),y.listAll.promise(t)},listPaginated:function(e){var t=this,n=e.query,r=void 0===n?"":n,o=e.page,i=void 0===o?1:o,a=e.pageSize,c=void 0===a?10:a,l=(0,f.ZP)("GET",this.eventNotificationsUrl({query:{query:r,page:i,per_page:c}}));l.then((function(e){return t.notifications=e.notifications,t.query=e.query,t.pagination={count:e.count,page:e.page,pageSize:e.per_page,total:e.total,grandTotal:e.grand_total},t.propagateChanges(),e})),y.listPaginated.promise(l)},get:function(e){var t=(0,f.ZP)("GET",this.eventNotificationsUrl({segments:[e]}));t.catch((function(t){404===t.status&&s.Z.error("Unable to find Event Notification with id <".concat(e,">, please ensure it wasn't deleted."),"Could not retrieve Event Notification")})),y.get.promise(t)},create:function(e){var t=this,n=(0,f.ZP)("POST",this.eventNotificationsUrl({}),e);n.then((function(n){return s.Z.success("Notification created successfully",'Notification "'.concat(e.title,'" was created successfully.')),t.refresh(),n}),(function(t){400===t.status&&t.additional.body&&t.additional.body.failed||s.Z.error('Creating Notification "'.concat(e.title,'" failed with status: ').concat(t),"Could not save Notification")})),y.create.promise(n)},update:function(e,t){var n=this,r=(0,f.ZP)("PUT",this.eventNotificationsUrl({segments:[e]}),t);r.then((function(e){return s.Z.success("Notification updated successfully",'Notification "'.concat(t.title,'" was updated successfully.')),n.refresh(),e}),(function(e){400===e.status&&e.additional.body&&e.additional.body.failed||s.Z.error('Updating Notification "'.concat(t.title,'" failed with status: ').concat(e),"Could not update Notification")})),y.update.promise(r)},delete:function(e){var t=this,n=(0,f.ZP)("DELETE",this.eventNotificationsUrl({segments:[e.id]}));n.then((function(){s.Z.success("Notification deleted successfully",'Notification "'.concat(e.title,'" was deleted successfully.')),t.refresh()}),(function(t){s.Z.error('Deleting Notification "'.concat(e.title,'" failed with status: ').concat(t),"Could not delete Notification")})),y.delete.promise(n)},test:function(e){var t=(0,f.ZP)("POST",this.eventNotificationsUrl({segments:["test"]}),e);y.test.promise(t)},testPersisted:function(e){var t=(0,f.ZP)("POST",this.eventNotificationsUrl({segments:[e.id,"test"]}));y.testPersisted.promise(t)},listAllLegacyTypes:function(){var e=this,t=(0,f.ZP)("GET",this.eventNotificationsUrl({segments:["legacy","types"]}));t.then((function(t){return e.allLegacyTypes=t.types,e.propagateChanges(),t})),y.listAllLegacyTypes.promise(t)}})}))},ZddqZk1Z:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n("pmX897Fv"),o=n.n(r),i=n("DjJvgDaP"),a=n.n(i)()(o());a.push([e.id,".QOxROnWrKzReuEpPEJMw {\n table-layout: fixed;\n overflow-wrap: break-word;\n}\n","",{version:3,sources:["webpack://./src/components/event-notifications/event-notification-types/CommonNotificationSummary.css"],names:[],mappings:"AAAA;IACI,mBAAmB;IACnB,yBAAyB;AAC7B",sourcesContent:[":local(.fixedTable) {\n table-layout: fixed;\n overflow-wrap: break-word;\n}\n"],sourceRoot:""}]),a.locals={fixedTable:"QOxROnWrKzReuEpPEJMw"};const c=a},eWgADhWh:(e,t,n)=>{n.d(t,{Z:()=>c});var r=n("pmX897Fv"),o=n.n(r),i=n("DjJvgDaP"),a=n.n(i)()(o());a.push([e.id,'.bN2Fa5FgSGHUh4zYUYzt {\n font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Courier New", monospace;\n font-size: 1rem; /* theme.fonts.size.body */\n overflow-wrap: break-word;\n white-space: pre-wrap;\n}\n',"",{version:3,sources:["webpack://./src/components/event-notifications/event-notification-types/EmailNotificationSummary.css"],names:[],mappings:"AAAA;IACI,6EAA6E;IAC7E,eAAe,EAAE,0BAA0B;IAC3C,yBAAyB;IACzB,qBAAqB;AACzB",sourcesContent:[':local(.bodyPreview) {\n font-family: "Roboto Mono", Menlo, Monaco, Consolas, "Courier New", monospace;\n font-size: 1rem; /* theme.fonts.size.body */\n overflow-wrap: break-word;\n white-space: pre-wrap;\n}\n'],sourceRoot:""}]),a.locals={bodyPreview:"bN2Fa5FgSGHUh4zYUYzt"};const c=a},"+u3mJE4Q":(e,t,n)=>{n.d(t,{Z:()=>c});var r=n("pmX897Fv"),o=n.n(r),i=n("DjJvgDaP"),a=n.n(i)()(o());a.push([e.id,".rKKIeiSYDcRNaNEaL85y {\n margin-bottom: 15px;\n overflow-wrap: break-word;\n}\n","",{version:3,sources:["webpack://./src/components/event-notifications/event-notification-types/LegacyNotificationCommonStyles.css"],names:[],mappings:"AAAA;IACI,mBAAmB;IACnB,yBAAyB;AAC7B",sourcesContent:[":local(.legacyNotificationAlert) {\n margin-bottom: 15px;\n overflow-wrap: break-word;\n}\n"],sourceRoot:""}]),a.locals={legacyNotificationAlert:"rKKIeiSYDcRNaNEaL85y"};const c=a}}]); //# sourceMappingURL=b6fe2bb5-1138.ba476354698f001bb3db.js.map




    © 2015 - 2024 Weber Informatics LLC | Privacy Policy