# How to check that my log file data is transfered to elasticsearch 5.5.0

**URL:** <https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799>\
**Category:** Elasticsearch\
**Created:** [July 27, 2017, 1:08pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799 "2017-07-27T13:08:13Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![vivekpandey564](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vivekpandey564](https://discuss.elastic.co/u/vivekpandey564)\
**Post date:** [July 27, 2017, 1:08pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799/1 "2017-07-27T13:08:13Z")

</div>

```auto
input {
    file {
        add_field => ["host", "my-dev-host"]
        path => "D:\JHipster_Demo\logFile.2017-07-27.log"
        codec => "plain"
    }
}

filter {
  date {
    match => ["timestamp" , "YYYY/MM/DD:HH:mm:ss Z"]
  }
}

output {
    elasticsearch {
        index => "global2-%{+YYYY.MM.dd}"
        hosts => ["localhost:9200"]
    }
    stdout { codec => rubydebug }
}

```

---

<div class="post-metadata">

**Author:** ![josephjohney](https://avatars.discourse-cdn.com/v4/letter/j/eada6e/32.png) [@josephjohney](https://discuss.elastic.co/u/josephjohney)\
**Post date:** [July 27, 2017, 1:09pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799/2 "2017-07-27T13:09:00Z")

</div>

What is the issue you are facing ?/

---

<div class="post-metadata">

**Author:** ![vivekpandey564](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vivekpandey564](https://discuss.elastic.co/u/vivekpandey564)\
**Post date:** [July 27, 2017, 1:12pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799/3 "2017-07-27T13:12:32Z")

</div>

Thanks For Reply am just curious to know how i should check that my log data is coming towards elasticsearch.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 27, 2017, 1:21pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799/4 "2017-07-27T13:21:42Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```

````

I edited your post.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 27, 2017, 1:23pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799/5 "2017-07-27T13:23:55Z")

</div>

Run something like:

```auto
GET global2-*/_search

```

---

<div class="post-metadata">

**Author:** ![vivekpandey564](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vivekpandey564](https://discuss.elastic.co/u/vivekpandey564)\
**Post date:** [July 27, 2017, 1:24pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799/6 "2017-07-27T13:24:44Z")

</div>

Thanks for replying.  
where should i run this

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 27, 2017, 1:25pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799/7 "2017-07-27T13:25:44Z")

</div>

In Kibana dev console. Or run as CURL like

```auto
curl localhost:9200/global2-*/_search?pretty

```

---

<div class="post-metadata">

**Author:** ![vivekpandey564](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vivekpandey564](https://discuss.elastic.co/u/vivekpandey564)\
**Post date:** [July 27, 2017, 1:28pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799/8 "2017-07-27T13:28:00Z")

</div>

Thanks !! At least i can see something like:  
{  
"took" : 346,  
"timed\_out" : false,  
"\_shards" : {  
"total" : 5,  
"successful" : 5,  
"failed" : 0  
},  
"hits" : {  
"total" : 10238,  
"max\_score" : 1.0,  
"hits" : [  
{  
"\_index" : "global2-2017.07.27",  
"\_type" : "logs",  
"\_id" : "AV2EEITcJkknhZQBM5yK",  
"\_score" : 1.0,  
"\_source" : {  
"path" : "D:\JHipster\_Demo\logFile.2017-07-27.log",  
"@timestamp" : "2017-07-27T12:41:01.326Z",  
"@version" : "1",  
"host" : [  
"FS-WS195-D45",  
"my-dev-host"  
],  
"message" : " 2017-07-27 18:11:01,061 INFO [metrics-logger-reporter-1-thread-1] metrics: type=GAUGE, name=HikariPool-1.pool.IdleConnections, value=10\r"  
}  
},  
{  
"\_index" : "global2-2017.07.27",  
"\_type" : "logs",  
"\_id" : "AV2EEITcJkknhZQBM5yO",  
"\_score" : 1.0,  
"\_source" : {  
"path" : "D:\JHipster\_Demo\logFile.2017-07-27.log",  
"@timestamp" : "2017-07-27T12:41:01.326Z",  
"@version" : "1",  
"host" : [  
"FS-WS195-D45",  
"my-dev-host"  
],  
"message" : " 2017-07-27 18:11:01,061 INFO [metrics-logger-reporter-1-thread-1] metrics: type=GAUGE, name=jcache.statistics.com.hexaware.rad.domain.Address.average-put-time, value=0.0\r"  
}  
},  
{  
"\_index" : "global2-2017.07.27",  
"\_type" : "logs",  
"\_id" : "AV2EEITcJkknhZQBM5yQ",  
"\_score" : 1.0,  
"\_source" : {  
"path" : "D:\JHipster\_Demo\logFile.2017-07-27.log",  
"@timestamp" : "2017-07-27T12:41:01.326Z",  
"@version" : "1",  
"host" : [  
"FS-WS195-D45",  
"my-dev-host"  
],  
"message" : " 2017-07-27 18:11:01,061 INFO [metrics-logger-reporter-1-thread-1] metrics: type=GAUGE, name=jcache.statistics.com.hexaware.rad.domain.Address.cache-evictions, value=0\r"  
}  
},  
{  
"\_index" : "global2-2017.07.27",  
"\_type" : "logs",  
"\_id" : "AV2EEITcJkknhZQBM5yT",  
"\_score" : 1.0,  
"\_source" : {  
"path" : "D:\JHipster\_Demo\logFile.2017-07-27.log",  
"@timestamp" : "2017-07-27T12:41:01.326Z",  
"@version" : "1",  
"host" : [  
"FS-WS195-D45",  
"my-dev-host"  
],  
"message" : " 2017-07-27 18:11:01,061 INFO [metrics-logger-reporter-1-thread-1] metrics: type=GAUGE, name=jcache.statistics.com.hexaware.rad.domain.Address.cache-hits, value=0\r"  
}  
},  
{  
"\_index" : "global2-2017.07.27",  
"\_type" : "logs",  
"\_id" : "AV2EEITcJkknhZQBM5yc",  
"\_score" : 1.0,  
"\_source" : {  
"path" : "D:\JHipster\_Demo\logFile.2017-07-27.log",  
"@timestamp" : "2017-07-27T12:41:01.326Z",  
"@version" : "1",  
"host" : [  
"FS-WS195-D45",  
"my-dev-host"  
],  
"message" : " 2017-07-27 18:11:01,061 INFO [metrics-logger-reporter-1-thread-1] metrics: type=GAUGE, name=jcache.statistics.com.hexaware.rad.domain.Authority.cache-gets, value=0\r"  
}  
},  
{  
"\_index" : "global2-2017.07.27",  
"\_type" : "logs",  
"\_id" : "AV2EEITcJkknhZQBM5yi",  
"\_score" : 1.0,  
"\_source" : {  
"path" : "D:\JHipster\_Demo\logFile.2017-07-27.log",  
"@timestamp" : "2017-07-27T12:41:01.326Z",  
"@version" : "1",  
"host" : [  
"FS-WS195-D45",  
"my-dev-host"  
],  
"message" : " 2017-07-27 18:11:01,061 INFO [metrics-logger-reporter-1-thread-1] metrics: type=GAUGE, name=jcache.statistics.com.hexaware.rad.domain.Authority.cache-removals, value=0\r"  
}  
},  
{  
"\_index" : "global2-2017.07.27",  
"\_type" : "logs",  
"\_id" : "AV2EEITcJkknhZQBM5yj",  
"\_score" : 1.0,  
"\_source" : {  
"path" : "D:\JHipster\_Demo\logFile.2017-07-27.log",  
"@timestamp" : "2017-07-27T12:41:01.326Z",  
"@version" : "1",  
"host" : [  
"FS-WS195-D45",  
"my-dev-host"  
],  
"message" : " 2017-07-27 18:11:01,061 INFO [metrics-logger-reporter-1-thread-1] metrics: type=GAUGE, name=jcache.statistics.com.hexaware.rad.domain.Borrower.addresses.average-get-time, value=0.0\r"  
}  
},  
{  
"\_index" : "global2-2017.07.27",  
"\_type" : "logs",  
"\_id" : "AV2EEITcJkknhZQBM5yk",  
"\_score" : 1.0,  
"\_source" : {  
"path" : "D:\JHipster\_Demo\logFile.2017-07-27.log",  
"@timestamp" : "2017-07-27T12:41:01.326Z",  
"@version" : "1",  
"host" : [  
"FS-WS195-D45",  
"my-dev-host"  
],  
"message" : " 2017-07-27 18:11:01,061 INFO [metrics-logger-reporter-1-thread-1] metrics: type=GAUGE, name=jcache.statistics.com.hexaware.rad.domain.Borrower.addresses.average-put-time, value=0.0\r"  
}  
},  
{  
"\_index" : "global2-2017.07.27",  
"\_type" : "logs",  
"\_id" : "AV2EEITcJkknhZQBM5yv",  
"\_score" : 1.0,  
"\_source" : {  
"path" : "D:\JHipster\_Demo\logFile.2017-07-27.log",  
"@timestamp" : "2017-07-27T12:41:01.326Z",  
"@version" : "1",  
"host" : [  
"FS-WS195-D45",  
"my-dev-host"  
],  
"message" : " 2017-07-27 18:11:01,061 INFO [metrics-logger-reporter-1-thread-1] metrics: type=GAUGE, name=jcache.statistics.com.hexaware.rad.domain.Borrower.average-put-time, value=0.0\r"  
}  
},  
{  
"\_index" : "global2-2017.07.27",  
"\_type" : "logs",  
"\_id" : "AV2EEITcJkknhZQBM5yy",  
"\_score" : 1.0,  
"\_source" : {  
"path" : "D:\JHipster\_Demo\logFile.2017-07-27.log",  
"@timestamp" : "2017-07-27T12:41:01.341Z",  
"@version" : "1",  
"host" : [  
"FS-WS195-D45",  
"my-dev-host"  
],  
"message" : " 2017-07-27 18:11:01,061 INFO [metrics-logger-reporter-1-thread-1] metrics: type=GAUGE, name=jcache.statistics.com.hexaware.rad.domain.Borrower.cache-gets, value=0\r"  
}  
}  
]  
}  
}

---

<div class="post-metadata">

**Author:** ![vivekpandey564](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vivekpandey564](https://discuss.elastic.co/u/vivekpandey564)\
**Post date:** [July 27, 2017, 1:29pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799/9 "2017-07-27T13:29:36Z")

</div>

Do i need to do any setting to see the log in kibana?  
I have installed cersion of 5.5.0 on my windows machine.  
Home page is getting loaded but how can isee this in kibana.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 27, 2017, 1:45pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799/10 "2017-07-27T13:45:19Z")

</div>

Please format your code using `</>` icon as explained in [this guide](https://discuss.elastic.co/t/about-the-elasticsearch-category/21). It will make your post more readable.

Or use markdown style like:

````
```
CODE
```
````

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [July 27, 2017, 1:46pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799/11 "2017-07-27T13:46:55Z")

</div>

It's a question for #kibana group now.  
Anyway, you basically need to configure an index pattern first then you should see that in discover panel.

If you are just starting with Kibana, you might want to read: [https://www.elastic.co/guide/en/kibana/current/index.html](https://www.elastic.co/guide/en/kibana/current/index.html)

---

<div class="post-metadata">

**Author:** ![vivekpandey564](https://avatars.discourse-cdn.com/v4/letter/v/858c86/32.png) [@vivekpandey564](https://discuss.elastic.co/u/vivekpandey564)\
**Post date:** [July 27, 2017, 3:23pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799/12 "2017-07-27T15:23:51Z")

</div>

Thanks you so much!!

---

<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:** [August 24, 2017, 3:24pm UTC](https://discuss.elastic.co/t/how-to-check-that-my-log-file-data-is-transfered-to-elasticsearch-5-5-0/94799/13 "2017-08-24T15:24:02Z")

</div>

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