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

web-interface.assets.0c1a66a2-87.1ec71fc30880f2142b45.js Maven / Gradle / Ivy

There is a newer version: 6.0.5
Show newest version
(window.webpackJsonp=window.webpackJsonp||[]).push([["0c1a66a2-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"),c=n.n(s),l=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"),I=n("21p8kIWv"),f=I.a.get("IndexSets"),E=f.IndexSetsStore,h=f.IndexSetsActions,y=I.a.get("IndicesConfiguration"),C=y.IndicesConfigurationStore,w=y.IndicesConfigurationActions,v=o()({displayName:"IndexSetCreationPage",mixins:[c.a.connect(E),c.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(l.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=0c1a66a2-87.1ec71fc30880f2142b45.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy