# Hi All, I am facing the issue, Not eligible for data streams because config contains one or more settings that are not compatible with data streams: {"index"=\>"info\_apim\_event"}

**URL:** https://discuss.elastic.co/t/hi-all-i-am-facing-the-issue-not-eligible-for-data-streams-because-config-contains-one-or-more-settings-that-are-not-compatible-with-data-streams-index-info-apim-event/354424
**Category:** Logstash
**Tags:** docker
**Created:** [February 29, 2024, 9:44am UTC](https://discuss.elastic.co/t/hi-all-i-am-facing-the-issue-not-eligible-for-data-streams-because-config-contains-one-or-more-settings-that-are-not-compatible-with-data-streams-index-info-apim-event/354424 "2024-02-29T09:44:15Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Haribabu](https://avatars.discourse-cdn.com/v4/letter/h/9fc29f/32.png) [@Haribabu](https://discuss.elastic.co/u/Haribabu)
#### Post date: [February 29, 2024, 9:44am UTC](https://discuss.elastic.co/t/hi-all-i-am-facing-the-issue-not-eligible-for-data-streams-because-config-contains-one-or-more-settings-that-are-not-compatible-with-data-streams-index-info-apim-event/354424/1 "2024-02-29T09:44:15Z")

</div>

```auto
input {
    beats {
        port => 5044
    }
}

filter {
    grok {
        match => {
            "message" => "TID: \[%{DATA:thread}\] \[%{DATA:component}\] \[%{TIMESTAMP_ISO8601:timestamp}\] %{LOGLEVEL:logLevel} \{%{JAVACLASS:javaClass}\} - %{GREEDYDATA:message}"
        }
    }
}

output {
    elasticsearch {
        hosts => ["localhost:9200"]
        index => info_apim_event
        # user => "elastic"
        # password => ""
        ssl_certificate_verification => false
    }
}

```

This is my logstash file , Can someone please help me

---

<div class="post-metadata">

### Author: ![stephenb](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stephenb/32/40856_2.png) [@stephenb](https://discuss.elastic.co/u/stephenb)
#### Post date: [February 29, 2024, 1:30pm UTC](https://discuss.elastic.co/t/hi-all-i-am-facing-the-issue-not-eligible-for-data-streams-because-config-contains-one-or-more-settings-that-are-not-compatible-with-data-streams-index-info-apim-event/354424/2 "2024-02-29T13:30:18Z")

</div>

What version Logstash and Elastic search?

Try adding this to the output section

` action => "create"`

Please format your code going forward...

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [February 29, 2024, 2:18pm UTC](https://discuss.elastic.co/t/hi-all-i-am-facing-the-issue-not-eligible-for-data-streams-because-config-contains-one-or-more-settings-that-are-not-compatible-with-data-streams-index-info-apim-event/354424/3 "2024-02-29T14:18:58Z")

</div>

Can you share the entire log from Logstash?

This kind of log you shared normally appear as an INFO message.

---

<div class="post-metadata">

### Author: ![rtwolfe94022](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rtwolfe94022/32/132253_2.png) [@rtwolfe94022](https://discuss.elastic.co/u/rtwolfe94022)
#### Post date: [March 1, 2024, 9:50pm UTC](https://discuss.elastic.co/t/hi-all-i-am-facing-the-issue-not-eligible-for-data-streams-because-config-contains-one-or-more-settings-that-are-not-compatible-with-data-streams-index-info-apim-event/354424/4 "2024-03-01T21:50:49Z")

</div>

Interesting....

To resolve the issue, modify your Logstash output to use data streams by adding `data_stream => true` and specifying `data_stream_type` , `data_stream_dataset` , and `data_stream_namespace` . Ensure your Elasticsearch version supports data streams (7.9+).

---

<div class="post-metadata">

### Author: ![Haribabu](https://avatars.discourse-cdn.com/v4/letter/h/9fc29f/32.png) [@Haribabu](https://discuss.elastic.co/u/Haribabu)
#### Post date: [March 4, 2024, 11:11am UTC](https://discuss.elastic.co/t/hi-all-i-am-facing-the-issue-not-eligible-for-data-streams-because-config-contains-one-or-more-settings-that-are-not-compatible-with-data-streams-index-info-apim-event/354424/5 "2024-03-04T11:11:13Z")

</div>

![image](https://us1.discourse-cdn.com/elastic/original/3X/0/9/09a56e05392813ee29953b7abc444a1330173d07.png)  
Hi leandrojmp, Here I attached entire logs

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [March 4, 2024, 11:57am UTC](https://discuss.elastic.co/t/hi-all-i-am-facing-the-issue-not-eligible-for-data-streams-because-config-contains-one-or-more-settings-that-are-not-compatible-with-data-streams-index-info-apim-event/354424/6 "2024-03-04T11:57:44Z")

</div>

Hello, please do not share screenshots of logs, share your log as plain text.

It is pretty hard to read and impossible to search on a image.

Also, for what I was able to see, there is no log line with the message you shared in your first post.

But as mentioned this kind of message is not an error, it is just an informational message saying that your output settings are incompatible with the data streams, so your data will use normal indices.

---

<div class="post-metadata">

### Author: ![Haribabu](https://avatars.discourse-cdn.com/v4/letter/h/9fc29f/32.png) [@Haribabu](https://discuss.elastic.co/u/Haribabu)
#### Post date: [March 4, 2024, 12:37pm UTC](https://discuss.elastic.co/t/hi-all-i-am-facing-the-issue-not-eligible-for-data-streams-because-config-contains-one-or-more-settings-that-are-not-compatible-with-data-streams-index-info-apim-event/354424/7 "2024-03-04T12:37:09Z")

</div>

C:\devsoftwares\logstash-8.12.0\bin\>logstash -f .\config\logstash-sample.conf --config.reload.automatic  
"Using bundled JDK: C:\devsoftwares\logstash-8.12.0\jdk\bin\java.exe"  
C:/devsoftwares/logstash-8.12.0/vendor/bundle/jruby/3.1.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java\_thread\_pool\_executor.rb:13: warning: method redefined; discarding old to\_int  
C:/devsoftwares/logstash-8.12.0/vendor/bundle/jruby/3.1.0/gems/concurrent-ruby-1.1.9/lib/concurrent-ruby/concurrent/executor/java\_thread\_pool\_executor.rb:13: warning: method redefined; discarding old to\_f  
Sending Logstash logs to C:/devsoftwares/logstash-8.12.0/logs which is now configured via log4j2.properties  
[2024-03-04T18:04:34,406][INFO][logstash.runner] Log4j configuration path used is: C:\devsoftwares\logstash-8.12.0\config\log4j2.properties  
[2024-03-04T18:04:34,410][WARN][logstash.runner] The use of JAVA\_HOME has been deprecated. Logstash 8.0 and later ignores JAVA\_HOME and uses the bundled JDK. Running Logstash with the bundled JDK is recommended. The bundled JDK has been verified to work with each specific version of Logstash, and generally provides best performance and reliability. If you have compelling reasons for using your own JDK (organizational-specific compliance requirements, for example), you can configure LS\_JAVA\_HOME to use that version instead.  
[2024-03-04T18:04:34,411][INFO][logstash.runner] Starting Logstash {"logstash.version"=\>"8.12.0", "jruby.version"=\>"jruby 9.4.5.0 (3.1.4) 2023-11-02 1abae2700f OpenJDK 64-Bit Server VM 17.0.9+9 on 17.0.9+9 +indy +jit [x86\_64-mswin32]"}  
[2024-03-04T18:04:34,413][INFO][logstash.runner] JVM bootstrap flags: [-Xms1g, -Xmx1g, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djruby.compile.invokedynamic=true, -XX:+HeapDumpOnOutOfMemoryError, -Djava.security.egd=file:/dev/urandom, -Dlog4j2.isThreadContextMapInheritable=true, -Dlogstash.jackson.stream-read-constraints.max-string-length=200000000, -Dlogstash.jackson.stream-read-constraints.max-number-length=10000, -Djruby.regexp.interruptible=true, -Djdk.io.File.enableADS=true, --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED, --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED, --add-opens=java.base/java.security=ALL-UNNAMED, --add-opens=java.base/java.io=ALL-UNNAMED, --add-opens=java.base/java.nio.channels=ALL-UNNAMED, --add-opens=java.base/sun.nio.ch=ALL-UNNAMED, --add-opens=java.management/sun.management=ALL-UNNAMED]  
[2024-03-04T18:04:34,417][INFO][logstash.runner] Jackson default value override `logstash.jackson.stream-read-constraints.max-string-length` configured to `200000000`  
[2024-03-04T18:04:34,418][INFO][logstash.runner] Jackson default value override `logstash.jackson.stream-read-constraints.max-number-length` configured to `10000`  
[2024-03-04T18:04:34,467][WARN][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified  
[2024-03-04T18:04:35,936][INFO][logstash.agent] Successfully started Logstash API endpoint {:port=\>9600, :ssl\_enabled=\>false}  
[2024-03-04T18:04:36,282][INFO][org.reflections.Reflections] Reflections took 122 ms to scan 1 urls, producing 132 keys and 468 values  
[2024-03-04T18:04:36,954][WARN][logstash.outputs.elasticsearch] You are using a deprecated config setting "ssl\_certificate\_verification" set in elasticsearch. Deprecated settings will continue to work, but are scheduled for removal from logstash in the future. Set 'ssl\_verification\_mode' instead. If you have any questions about this, please visit the #logstash channel on freenode irc. {:name=\>"ssl\_certificate\_verification", :plugin=\>\<LogStash::Outputs::Elasticsearch ssl\_certificate\_verification=\>false, index=\>"info\_log", password=\>, id=\>"ec32f064b5c66637f4aa83c47b7c00186ba58a031ce2a474ed75181614a9630c", user=\>"elastic", hosts=\>[https://_**:9200], enable\_metric=\>true, codec=\>\<LogStash::Codecs::Plain id=\>"plain\_63b1362f-e61b-4c3b-b1e2-6ac3fa85c059", enable\_metric=\>true, charset=\>"UTF-8"\>, workers=\>1, ssl\_verification\_mode=\>"full", sniffing=\>false, sniffing\_delay=\>5, timeout=\>60, pool\_max=\>1000, pool\_max\_per\_route=\>100, resurrect\_delay=\>5, validate\_after\_inactivity=\>10000, http\_compression=\>true, compression\_level=\>1, retry\_initial\_interval=\>2, retry\_max\_interval=\>64, dlq\_on\_failed\_indexname\_interpolation=\>true, data\_stream\_type=\>"logs", data\_stream\_dataset=\>"generic", data\_stream\_namespace=\>"default", data\_stream\_sync\_fields=\>true, data\_stream\_auto\_routing=\>true, manage\_template=\>true, template\_overwrite=\>false, template\_api=\>"auto", doc\_as\_upsert=\>false, script\_type=\>"inline", script\_lang=\>"painless", script\_var\_name=\>"event", scripted\_upsert=\>false, retry\_on\_conflict=\>1, ilm\_enabled=\>"auto", ilm\_pattern=\>"{now/d}-000001", ilm\_policy=\>"logstash-policy"\>}  
[2024-03-04T18:04:36,992][INFO][logstash.javapipeline] Pipeline `main` is configured with `pipeline.ecs_compatibility: v8` setting. All plugins in this pipeline will default to `ecs_compatibility => v8` unless explicitly configured otherwise.  
[2024-03-04T18:04:37,016][INFO][logstash.outputs.elasticsearch][main] New Elasticsearch output {:class=\>"LogStash::Outputs::Elasticsearch", :hosts=\>["https://**_:9200"]}  
[2024-03-04T18:04:37,021][WARN][logstash.outputs.elasticsearch][main] You have enabled encryption but DISABLED certificate verification, to make sure your data is secure set `ssl_verification_mode => full`  
[2024-03-04T18:04:37,159][INFO][logstash.outputs.elasticsearch][main] Elasticsearch pool URLs updated {:changes=\>{:removed=\>, :added=\>[[https://elastic](https://elastic):xxxxxx@\***:9200/]}}  
[2024-03-04T18:04:38,548][WARN][logstash.outputs.elasticsearch][main] Restored connection to ES instance {:url=\>"[https://elastic](https://elastic):xxxxxx@**:9200/"}  
[2024-03-04T18:04:38,549][INFO][logstash.outputs.elasticsearch][main] Elasticsearch version determined (8.12.0) {:es\_version=\>8}  
[2024-03-04T18:04:38,551][WARN][logstash.outputs.elasticsearch][main] Detected a 6.x and above cluster: the `type` event field won't be used to determine the document \_type {:es\_version=\>8}  
[2024-03-04T18:04:38,841][INFO][logstash.outputs.elasticsearch][main] Not eligible for data streams because config contains one or more settings that are not compatible with data streams: {"index"=\>"info\_log"}  
[2024-03-04T18:04:38,842][INFO][logstash.outputs.elasticsearch][main] Data streams auto configuration (`data_stream => auto` or unset) resolved to `false`  
[2024-03-04T18:04:38,851][INFO][logstash.filters.json][main] ECS compatibility is enabled but `target` option was not specified. This may cause fields to be set at the top-level of the event where they are likely to clash with the Elastic Common Schema. It is recommended to set the `target` option to avoid potential schema conflicts (if your data is ECS compliant or non-conflicting, feel free to ignore this message)  
[2024-03-04T18:04:38,852][WARN][logstash.filters.grok][main] ECS v8 support is a preview of the unreleased ECS v8, and uses the v1 patterns. When Version 8 of the Elastic Common Schema becomes available, this plugin will need to be updated  
[2024-03-04T18:04:38,959][INFO][logstash.javapipeline][main] Starting pipeline {:pipeline\_id=\>"main", "pipeline.workers"=\>8, "pipeline.batch.size"=\>125, "pipeline.batch.delay"=\>50, "pipeline.max\_inflight"=\>1000, "pipeline.sources"=\>["C:/devsoftwares/logstash-8.12.0/config/logstash-sample.conf"], :thread=\>"#\<Thread:0x175a8ed8 C:/devsoftwares/logstash-8.12.0/logstash-core/lib/logstash/java\_pipeline.rb:134 run\>"}  
[2024-03-04T18:04:39,131][INFO][logstash.outputs.elasticsearch][main] Using a default mapping template {:es\_version=\>8, :ecs\_compatibility=\>:v8}  
[2024-03-04T18:04:39,854][INFO][logstash.javapipeline][main] Pipeline Java execution initialization time {"seconds"=\>0.89}  
[2024-03-04T18:04:39,878][INFO][logstash.inputs.file][main] No sincedb\_path set, generating one based on the "path" setting {:sincedb\_path=\>"C:/devsoftwares/logstash-8.12.0/data/plugins/inputs/file/.sincedb\_fd85d4ae41dc4a798a3e1a19dc33bdb7", :path=\>["D:/infologs/a\_apim\_metrics.log"]}  
[2024-03-04T18:04:39,880][INFO][logstash.javapipeline][main] Pipeline started {"pipeline.id"=\>"main"}  
[2024-03-04T18:04:39,886][INFO][filewatch.observingtail][main][fefa0a2d85c42002c3f7d065d181ea5d9cda24d2daa3c5522804d1f80a6ea537] START, creating Discoverer, Watch with file and sincedb collections  
[2024-03-04T18:04:39,903][INFO][logstash.agent] Pipelines running {:count=\>1, :running\_pipelines=\>[:main], :non\_running\_pipelines=\>}

---

<div class="post-metadata">

### Author: ![Haribabu](https://avatars.discourse-cdn.com/v4/letter/h/9fc29f/32.png) [@Haribabu](https://discuss.elastic.co/u/Haribabu)
#### Post date: [March 4, 2024, 12:39pm UTC](https://discuss.elastic.co/t/hi-all-i-am-facing-the-issue-not-eligible-for-data-streams-because-config-contains-one-or-more-settings-that-are-not-compatible-with-data-streams-index-info-apim-event/354424/8 "2024-03-04T12:39:29Z")

</div>

Hi @leandrojmp , Please help me on this issue, i am unable create see the index, in index management

---

<div class="post-metadata">

### Author: ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)
#### Post date: [March 4, 2024, 1:01pm UTC](https://discuss.elastic.co/t/hi-all-i-am-facing-the-issue-not-eligible-for-data-streams-because-config-contains-one-or-more-settings-that-are-not-compatible-with-data-streams-index-info-apim-event/354424/9 "2024-03-04T13:01:34Z")

</div>

> [@Haribabu](#):
>
> [2024-03-04T18:04:38,841][INFO][logstash.outputs.elasticsearch][main] Not eligible for data streams because config contains one or more settings that are not compatible with data streams: {"index"=\>"info\_log"}

This is a **INFO** log, this is not an issue, this only means that your index is not compatible with data streams, so it will work as a normal index.

This is not an error and there are no **ERROR** or **WARN** lines in the log you shared that would impact on logstash being able to write to an index.

So it is not clear what is your issue here.

Also, the configuration you shared has a `beats` input, but from your logstash logs there is no `beats` input running, just a `file` input.

The logstash configuration shared is not the configuration that logstash is running, you need to validate which is the configuration you are using.

---

<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: [April 1, 2024, 1:01pm UTC](https://discuss.elastic.co/t/hi-all-i-am-facing-the-issue-not-eligible-for-data-streams-because-config-contains-one-or-more-settings-that-are-not-compatible-with-data-streams-index-info-apim-event/354424/10 "2024-04-01T13:01:45Z")

</div>

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