# Custom indexname not triggered

**URL:** https://discuss.elastic.co/t/custom-indexname-not-triggered/184605
**Category:** Beats
**Tags:** filebeat
**Created:** [June 6, 2019, 2:25pm UTC](https://discuss.elastic.co/t/custom-indexname-not-triggered/184605 "2019-06-06T14:25:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Peter\_Steenbergen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_steenbergen/32/22888_2.png) [@Peter\_Steenbergen](https://discuss.elastic.co/u/Peter_Steenbergen)
#### Post date: [June 6, 2019, 2:25pm UTC](https://discuss.elastic.co/t/custom-indexname-not-triggered/184605/1 "2019-06-06T14:25:38Z")

</div>

Hi,

this is the config I am using:

```
filebeat.inputs:
- type: log
  paths:
    - /Users/peter/es-stack/datasets/nyc_collision_data.csv

output.elasticsearch:
  hosts: ["localhost:9200"]
  index: "nyc_visionzero"
  pipeline: "nyc_collision"

setup.template.enabled: false

```

I am trying to import the test data using this approach with example data:

> **[elastic/examples](https://github.com/elastic/examples/tree/master/Exploring%2520Public%2520Datasets/nyc_traffic_accidents)**
>
> Home for Elasticsearch examples available to everyone. It's a great way to get started. - elastic/examples

Unfortunately the index created and ingesting the data in elasticsearch 7.1 is still the default of "filebeat-7.1etc".

Can you help out?

Using Elasticsearch 7.1 and filebeat 7.1.

---

<div class="post-metadata">

### Author: ![Peter\_Steenbergen](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/peter_steenbergen/32/22888_2.png) [@Peter\_Steenbergen](https://discuss.elastic.co/u/Peter_Steenbergen)
#### Post date: [June 6, 2019, 2:58pm UTC](https://discuss.elastic.co/t/custom-indexname-not-triggered/184605/2 "2019-06-06T14:58:12Z")

</div>

I have found it!

When I was checking the logs I saw that the ILM is default enabled. after disabling that, the index was triggered correctly..

The ending configuration for people looking at this:

```
filebeat.inputs:
- type: log
  paths:
    - /Users/peter/es-stack/datasets/nyc_collision_data.csv

output.elasticsearch:
  hosts: ["localhost:9200"]
  index: nyc_visionzero
  pipeline: nyc_collision

setup.ilm.enabled: false
setup.template.enabled: false
```

---

<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 4, 2019, 2:58pm UTC](https://discuss.elastic.co/t/custom-indexname-not-triggered/184605/3 "2019-07-04T14:58:16Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
