Action index. Failed to execute

Hello,
Am trying to index from Drupal and its not working (Drupal says indexed successfully but nothing indexed really to logstash).

I have found this in elasticsearch.log. Any one knows what is this ?

Am using Elasticsearch 1.7 and my index name is defaiya_articles, in the log below i noticed defaiya_articles_alias knowing that i have never created an alias for my index!!

Any thoughts ?

[2016-04-04 09:32:14,724][DEBUG][action.index             ] [Isaac Christians] [defaiya_articles_alias][4], node[gA6M2-faRIKVlyJFn5iRFQ], [P], s[STARTED]: Failed to execute [index {[defaiya_articles_alias][defaiya_articles][AVPf-MCD0tFnmjruSqMK], source[_na_]}]
org.elasticsearch.index.mapper.MapperParsingException: failed to parse, document is empty
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:562)
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:493)
at org.elasticsearch.index.shard.IndexShard.prepareCreate(IndexShard.java:465)
at org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:201)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$PrimaryPhase.performOnPrimary(TransportShardReplicationOperationAction.java:574)
at org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$PrimaryPhase$1.doRun(TransportShardReplicationOperationAction.java:440)
at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:36)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Any help would be greatly appreciated..:!!!

Thanks in advance.

What does your setup look like? Using a Drupal plugin? Are you indexing Drupal logs via Logstash?

Am using Drupal 7 with following modules:

  • Elasticsearch Connector
  • Elasticsearch Connector Search API

Trying to index articles into logstash using following ELK setup:

  • elasticsearch-1.7
  • kibana-4.1
  • logstash-1.5
  • logstash-forwarder

Mapping:

{
  "defaiya_articles" : {
    "mappings" : {
      "defaiya_articles" : {
        "properties" : {
          "articledate" : {
            "type" : "date",
            "format" : "yyyy-MM-dd HH:mm:ss"
          },
          "body:value" : {
            "type" : "string"
          },
          "id" : {
            "type" : "integer",
            "include_in_all" : false
          },
          "search_api_language" : {
            "type" : "string",
            "index" : "not_analyzed"
          },
          "title" : {
            "type" : "string"
          }
        }
      }
    }
  }
}