Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
(window.webpackJsonp=window.webpackJsonp||[]).push([["0fe74163-87"],{"9p7/VvWt":function(e,t,n){"use strict";n.r(t);var a=n("ivGQtwpr"),i=n.n(a),r=n("PcYM+wZ7"),o=n.n(r),s=n("4KF7VOU5"),l=n.n(s),c=n("wkvtUUMm"),g=n("qoq4u5Uq"),d=n("oBIKikY9"),S=n("NR2F5O1/"),m=n("2wyBGuX7"),u=n("QDVhqBhn"),p=n("+CppQpVm"),_=n("mc0qlNhN"),x=n("W+sNG9T1"),f=n("21p8kIWv"),I=f.a.get("IndexSets"),E=I.IndexSetsStore,h=I.IndexSetsActions,y=f.a.get("IndicesConfiguration"),C=y.IndicesConfigurationStore,w=y.IndicesConfigurationActions,v=o()({displayName:"IndexSetCreationPage",mixins:[l.a.connect(E),l.a.connect(C)],getInitialState:function(){return{indexSet:{title:"",description:"",index_prefix:"",writable:!0,shards:4,replicas:0,retention_strategy_class:"org.graylog2.indexer.retention.strategies.DeletionRetentionStrategy",retention_strategy:{max_number_of_indices:20,type:"org.graylog2.indexer.retention.strategies.DeletionRetentionStrategyConfig"},rotation_strategy_class:"org.graylog2.indexer.rotation.strategies.MessageCountRotationStrategy",rotation_strategy:{max_docs_per_index:2e7,type:"org.graylog2.indexer.rotation.strategies.MessageCountRotationStrategyConfig"},index_analyzer:"standard",index_optimization_max_num_segments:1,index_optimization_disabled:!1,field_type_refresh_interval:5e3}}},componentDidMount:function(){w.loadRotationStrategies(),w.loadRetentionStrategies()},_saveConfiguration:function(e){var t=e;t.creation_date=u.a.now().toISOString(),h.create(t).then((function(){p.a.push(x.a.SYSTEM.INDICES.LIST)}))},_isLoading:function(){return!this.state.rotationStrategies||!this.state.retentionStrategies},render:function(){if(this._isLoading())return i.a.createElement(d.L,null);var e=this.state.indexSet;return i.a.createElement(d.i,{title:"Create Index Set"},i.a.createElement("div",null,i.a.createElement(d.A,{title:"Create Index Set"},i.a.createElement("span",null,"Create a new index set that will let you configure the retention, sharding, and replication of messages coming from one or more streams."),i.a.createElement("span",null,"You can learn more about the index model in the"," ",i.a.createElement(m.a,{page:_.a.PAGES.INDEX_MODEL,text:"documentation"})),i.a.createElement("span",null,i.a.createElement(c.LinkContainer,{to:x.a.SYSTEM.INDICES.LIST},i.a.createElement(g.c,{bsStyle:"info"},"Index sets overview")))),i.a.createElement(g.I,{className:"content"},i.a.createElement(g.h,{md:12},i.a.createElement(S.d,{indexSet:e,rotationStrategies:this.state.rotationStrategies,retentionStrategies:this.state.retentionStrategies,create:!0,cancelLink:x.a.SYSTEM.INDICES.LIST,onUpdate:this._saveConfiguration})))))}});t.default=v}}]);
//# sourceMappingURL=0fe74163-87.8772c3b88e590016e5d1.js.map