# Action index. Failed to execute

**URL:** <https://discuss.elastic.co/t/action-index-failed-to-execute/46203>\
**Category:** Elasticsearch\
**Created:** [April 4, 2016, 6:51am UTC](https://discuss.elastic.co/t/action-index-failed-to-execute/46203 "2016-04-04T06:51:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![fadi](https://avatars.discourse-cdn.com/v4/letter/f/ecae2f/32.png) [@fadi](https://discuss.elastic.co/u/fadi)\
**Post date:** [April 4, 2016, 6:51am UTC](https://discuss.elastic.co/t/action-index-failed-to-execute/46203/1 "2016-04-04T06:51:53Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![JoarSvensson](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/joarsvensson/32/8740_2.png) [@JoarSvensson](https://discuss.elastic.co/u/JoarSvensson)\
**Post date:** [April 4, 2016, 11:01am UTC](https://discuss.elastic.co/t/action-index-failed-to-execute/46203/2 "2016-04-04T11:01:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![fadi](https://avatars.discourse-cdn.com/v4/letter/f/ecae2f/32.png) [@fadi](https://discuss.elastic.co/u/fadi)\
**Post date:** [April 4, 2016, 12:17pm UTC](https://discuss.elastic.co/t/action-index-failed-to-execute/46203/3 "2016-04-04T12:17:15Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![fadi](https://avatars.discourse-cdn.com/v4/letter/f/ecae2f/32.png) [@fadi](https://discuss.elastic.co/u/fadi)\
**Post date:** [April 4, 2016, 12:34pm UTC](https://discuss.elastic.co/t/action-index-failed-to-execute/46203/4 "2016-04-04T12:34:42Z")

</div>

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"
          }
        }
      }
    }
  }
}
```

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 5, 2017, 11:02pm UTC](https://discuss.elastic.co/t/action-index-failed-to-execute/46203/5 "2017-07-05T23:02:36Z")

</div>


