org.elasticsearch.indices.InvalidIndexNameException: [logstash-syslog-%{+YYYY.MM.dd}] Invalid index name [logstash-syslog-%{+YYYY.MM.dd}], must be lowercase

JIRA | Paul Czarkowski | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    I've submitted a Pull request which fixes this. https://github.com/logstash/logstash/pull/302 ------- example of config and error. elasticsearch_river { es_host => "localhost" type => "syslog" index => "logstash-syslog-%{+YYYY.MM.dd}" amqp_host => "localhost" user=>"guest" persistent => false } } [2013-01-04 02:44:21,615][WARN ][river.rabbitmq ] [Sabra] [rabbitmq][logstash-auslogstash01_aus_biowareonline_int] failed to execute bulk for delivery tags [[1042848, 1042849, 1042850, 1042851, 1043167, 1043168, 1043169, 1043170, 1043171, 1043172, 1043173, 1043174, 1043175, 1043176, 1043177, 1043178, 1043179]], not ack'ing org.elasticsearch.indices.InvalidIndexNameException: [logstash-syslog-%{+YYYY.MM.dd}] Invalid index name [logstash-syslog-%{+YYYY.MM.dd}], must be lowercase at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validate(MetaDataCreateIndexService.java:494) at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$100(MetaDataCreateIndexService.java:79) at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:139) at org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:223) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636)

    JIRA | 4 years ago | Paul Czarkowski
    org.elasticsearch.indices.InvalidIndexNameException: [logstash-syslog-%{+YYYY.MM.dd}] Invalid index name [logstash-syslog-%{+YYYY.MM.dd}], must be lowercase
  2. 0

    I've submitted a Pull request which fixes this. https://github.com/logstash/logstash/pull/302 ------- example of config and error. elasticsearch_river { es_host => "localhost" type => "syslog" index => "logstash-syslog-%{+YYYY.MM.dd}" amqp_host => "localhost" user=>"guest" persistent => false } } [2013-01-04 02:44:21,615][WARN ][river.rabbitmq ] [Sabra] [rabbitmq][logstash-auslogstash01_aus_biowareonline_int] failed to execute bulk for delivery tags [[1042848, 1042849, 1042850, 1042851, 1043167, 1043168, 1043169, 1043170, 1043171, 1043172, 1043173, 1043174, 1043175, 1043176, 1043177, 1043178, 1043179]], not ack'ing org.elasticsearch.indices.InvalidIndexNameException: [logstash-syslog-%{+YYYY.MM.dd}] Invalid index name [logstash-syslog-%{+YYYY.MM.dd}], must be lowercase at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validate(MetaDataCreateIndexService.java:494) at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$100(MetaDataCreateIndexService.java:79) at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:139) at org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:223) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:636)

    JIRA | 4 years ago | Paul Czarkowski
    org.elasticsearch.indices.InvalidIndexNameException: [logstash-syslog-%{+YYYY.MM.dd}] Invalid index name [logstash-syslog-%{+YYYY.MM.dd}], must be lowercase

    Root Cause Analysis

    1. org.elasticsearch.indices.InvalidIndexNameException

      [logstash-syslog-%{+YYYY.MM.dd}] Invalid index name [logstash-syslog-%{+YYYY.MM.dd}], must be lowercase

      at org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validate()
    2. ElasticSearch
      InternalClusterService$2.run
      1. org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.validate(MetaDataCreateIndexService.java:494)
      2. org.elasticsearch.cluster.metadata.MetaDataCreateIndexService.access$100(MetaDataCreateIndexService.java:79)
      3. org.elasticsearch.cluster.metadata.MetaDataCreateIndexService$1.execute(MetaDataCreateIndexService.java:139)
      4. org.elasticsearch.cluster.service.InternalClusterService$2.run(InternalClusterService.java:223)
      4 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      3. java.lang.Thread.run(Thread.java:636)
      3 frames