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

web-interface.assets.325e2d4b-2239.b8f7ac12d4e5de928e53.js Maven / Gradle / Ivy

There is a newer version: 6.0.1
Show newest version
"use strict";(self.webpackChunkgraylog_web_interface=self.webpackChunkgraylog_web_interface||[]).push([["325e2d4b-2239"],{"ZfRiC/i0":(e,t,a)=>{a.d(t,{Z:()=>s});var n=a("Z7aTuO5B"),i=a("3kMHuq+3");function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t{a.r(t),a.d(t,{default:()=>y});var n=a("Z7aTuO5B"),i=a("ii0bleBb"),r=a.n(i),s=a("9pdI12pI"),l=a.n(s),o=a("9oVghaOd"),u=a.n(o),c=a("F9olzlTR"),p=a("4Js8dUPg"),d=a("0zTRKSqx"),h=a("YEcz/C2r"),f=a("ZfRiC/i0"),g=a("MzdZOJ4L");function m(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}class b extends n.Component{constructor(e){var t;super(e),t=this,m(this,"loadData",(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:t.props.paginationQueryParameter.page,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:t.props.paginationQueryParameter.pageSize;g.X.list(a,(e-1)*a).then((e=>{t.setState({failures:e.failures})}))})),m(this,"_onChangePaginatedList",((e,t)=>{this.loadData(e,t)})),this.state={}}componentDidMount(){g.X.count(u()().subtract(10,"years")).then((e=>{this.setState({total:e.count})})),this.loadData()}render(){return void 0!==this.state.total&&this.state.failures?n.createElement(d.$4,{title:"Indexer failures"},n.createElement("span",null,n.createElement(d.mr,{title:"Indexer failures",documentationLink:{title:"Indexer failures documentation",path:p.Z.PAGES.INDEXER_FAILURES}},n.createElement("span",null,"This is a list of message index attempts that failed. A failure means that a message you sent to Graylog was"," ","properly processed but writing it to the Elasticsearch cluster failed. Note that the list is capped to a size"," ","of 50 MB so it will contain a lot of failure logs but not necessarily all that ever occurred.",n.createElement("br",null),"Collection containing a total of ",l()(this.state.total).format("0,0")," indexer failures.")),n.createElement(c.X2,{className:"content"},n.createElement(c.JX,{md:12},n.createElement(d.l9,{totalItems:this.state.total,onChange:this._onChangePaginatedList,pageSize:this.defaultPageSize},n.createElement(h.nV,{failures:this.state.failures})))))):n.createElement(d.$j,null)}}m(b,"propTypes",{paginationQueryParameter:r().object.isRequired});const y=(0,f.Z)(b)}}]);
//# sourceMappingURL=325e2d4b-2239.b8f7ac12d4e5de928e53.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy