# My data view in kibana has no fields

**URL:** <https://discuss.elastic.co/t/my-data-view-in-kibana-has-no-fields/349902>\
**Category:** Kibana\
**Created:** [December 24, 2023, 6:49pm UTC](https://discuss.elastic.co/t/my-data-view-in-kibana-has-no-fields/349902 "2023-12-24T18:49:24Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fatiha](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@Fatiha](https://discuss.elastic.co/u/Fatiha)\
**Post date:** [December 24, 2023, 6:49pm UTC](https://discuss.elastic.co/t/my-data-view-in-kibana-has-no-fields/349902/1 "2023-12-24T18:49:24Z")

</div>

HI I want to visualize my data from mysql to kibana  
I create my file logstash.conf

```auto
input {
  jdbc {
    jdbc_driver_library => "E:/ELK/mysql-connector-java-8.0.17.jar"
    jdbc_driver_class => "com.mysql.cj.jdbc.Driver"
    jdbc_connection_string => "jdbc:mysql://localhost:3306/mydata"
    jdbc_user => "root"
    jdbc_password => "admin"
    schedule => "* * * * *"
    statement => "SELECT * FROM analyse"
  }
   jdbc {
    jdbc_driver_library => "E:/ELK/mysql-connector-java-8.0.17.jar"
    jdbc_driver_class => "com.mysql.cj.jdbc.Driver"
    jdbc_connection_string => "jdbc:mysql://localhost:3306/mydata"
    jdbc_user => "root"
    jdbc_password => "admin"
    schedule => "* * * * *"
    statement => "SELECT * FROM analyse_elementanalyse"
  }
output {
  elasticsearch {
    hosts => ["localhost:9200"]
    index => "index_analyse"
    document_id => "%{id}" 
    user => "elastic"
    password => "qwVx8sqUc14XHG+HZF3I"
  }
   elasticsearch {
    hosts => ["localhost:9200"]
    index => "index_analyse_elementanalyse"
    document_id => "%{id}" 
    user => "elastic"
    password => "qwVx8sqUc14XHG+HZF3I"
  } 

```

I create the data view in kibana but when want to create my charts I look the index is empty no fields

```auto
**Available fields**

0

There are no available fields that contain data.

**Try:**

* Extending the time range 

```

what is the probleme ?  
i work in windows 10

---

<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:** [December 24, 2023, 6:53pm UTC](https://discuss.elastic.co/t/my-data-view-in-kibana-has-no-fields/349902/2 "2023-12-24T18:53:17Z")

</div>

Hi @Fatiha

Kibana - Dev Tools

run

`GET _cat/indices?v`

And share the results

---

<div class="post-metadata">

**Author:** ![Fatiha](https://avatars.discourse-cdn.com/v4/letter/f/bbe5ce/32.png) [@Fatiha](https://discuss.elastic.co/u/Fatiha)\
**Post date:** [December 24, 2023, 6:58pm UTC](https://discuss.elastic.co/t/my-data-view-in-kibana-has-no-fields/349902/3 "2023-12-24T18:58:14Z")

</div>

that what is i have :

```auto
yellow open index_analyse 38HisQH1RXawSMF-XI-rOw 1 1 168689 86 11.2mb 11.2mb
yellow open index_resultatanalyse I7Lj_FcTQDaGaVSjG5ijmg 1 1 168683 268 11.2mb 11.2mb

```

---

<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:** [December 24, 2023, 7:04pm UTC](https://discuss.elastic.co/t/my-data-view-in-kibana-has-no-fields/349902/4 "2023-12-24T19:04:51Z")

</div>

Ok good looks like you have data.

Most likely you are not looking in the correct time frame

If you go to Discover and set the Time Picker from 3 Months Ago to 3 Months from Now and take a look (or Years etc)...

 ![Screenshot 2023-12-24 at 11.02.37 AM](https://us1.discourse-cdn.com/elastic/original/3X/d/9/d961cee388ef67d1de0dbce72a4096b3bc73d47f.png)

Also simply do a Search and see what the @timestamps are?

`GET index_analyse/_search`

How did you set up the data view? Did you set a time field?

---

<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:** [January 21, 2024, 7:05pm UTC](https://discuss.elastic.co/t/my-data-view-in-kibana-has-no-fields/349902/5 "2024-01-21T19:05:23Z")

</div>

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