akpaevj / OneSTools.EventLog

Библиотеки и готовые инструменты для чтения и экспорта журнала регистрации 1С в ClickHouse и ElasticSearch
MIT License
129 stars 46 forks source link

Не создается шаблон индекса в ES #36

Open nagdevops2 opened 2 years ago

nagdevops2 commented 2 years ago

Здравствуйте.

При первом запуске получаю ошибку:

crit: OneSTools.EventLog.Exporter.EventLogExporterService[0] Failed to execute EventLogExporter Elasticsearch.Net.ElasticsearchClientException: Request failed to execute. Call: Status code 400 from: PUT /_index_template/oneslogs. ServerError: Type: illegal_argument_exception Reason: "index template [oneslogs] has index patterns [-el-] matching patterns from existing templates [.kibana-event-log-7.16.2-template,journal_reg,onectj_top20,onectjbpnew,onectjsapp2,v8hasp] with patterns (.kibana-event-log-7.16.2-template => [.kibana-event-log-7.16.2-],journal_reg => [journal_reg-],onectj_top20 => [onectj_top20-],onectjbpnew => [onectjbpnew-],onectjsapp2 => [onectjsapp2-],v8hasp => [v8hasp-]) that have the same priority [0], multiple index templates may not match during index creation, please use a different priority" at OneSTools.EventLog.Exporter.Core.ElasticSearch.ElasticSearchStorage.CreateIndexTemplateAsync(CancellationToken cancellationToken) at OneSTools.EventLog.Exporter.Core.ElasticSearch.ElasticSearchStorage.ConnectAsync(CancellationToken cancellationToken) at OneSTools.EventLog.Exporter.Core.ElasticSearch.ElasticSearchStorage.ReadEventLogPositionAsync(CancellationToken cancellationToken) at OneSTools.EventLog.Exporter.Core.EventLogExporter.GetReaderSettingsAsync(CancellationToken cancellationToken) at OneSTools.EventLog.Exporter.Core.EventLogExporter.StartAsync(CancellationToken cancellationToken) at OneSTools.EventLog.Exporter.EventLogExporterService.ExecuteAsync(CancellationToken stoppingToken) info: Microsoft.Hosting.Lifetime[0] Application is shutting down...

Не нравится index patterns [-el-] , как то можно обойти эту ошибку?