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
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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