# Getting issue to read the log generated by Service fabric

**URL:** <https://discuss.elastic.co/t/getting-issue-to-read-the-log-generated-by-service-fabric/167224>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 6, 2019, 5:44am UTC](https://discuss.elastic.co/t/getting-issue-to-read-the-log-generated-by-service-fabric/167224 "2019-02-06T05:44:54Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![apbute](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@apbute](https://discuss.elastic.co/u/apbute)\
**Post date:** [February 6, 2019, 5:44am UTC](https://discuss.elastic.co/t/getting-issue-to-read-the-log-generated-by-service-fabric/167224/1 "2019-02-06T05:44:55Z")

</div>

We have service fabric application with [asp.net](http://asp.net) core and trying to display the service fabric log and application log in Kibana using filebeat without logtash but we are facing issue with the same.  
Could you please assist me with this, find the below filebeat.yml

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/6/768098b55b5da9db6ade7f9749d65be4f2a4c44b.png)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 6, 2019, 5:59am UTC](https://discuss.elastic.co/t/getting-issue-to-read-the-log-generated-by-service-fabric/167224/2 "2019-02-06T05:59:18Z")

</div>

Please don't post pictures of text, they are difficult to read and some people may not be even able to see them 🙂

Try wrapping the path in single quotes.

---

<div class="post-metadata">

**Author:** ![apbute](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@apbute](https://discuss.elastic.co/u/apbute)\
**Post date:** [February 6, 2019, 6:11am UTC](https://discuss.elastic.co/t/getting-issue-to-read-the-log-generated-by-service-fabric/167224/3 "2019-02-06T06:11:42Z")

</div>

Find the below filebeat.yml path configuration

filebeat.inputs:

- type: log  
paths:
  - C:\SfDevCluster\Data\_App\_Node\_0\AngularWithCoreType\_App7\log\Code\_AspCore.AngularPkg\_M\_1.out

Is it require to set only \*.log file extension file path?

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 6, 2019, 6:21am UTC](https://discuss.elastic.co/t/getting-issue-to-read-the-log-generated-by-service-fabric/167224/4 "2019-02-06T06:21:48Z")

</div>

That depends on your log file name.

---

<div class="post-metadata">

**Author:** ![apbute](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@apbute](https://discuss.elastic.co/u/apbute)\
**Post date:** [February 6, 2019, 6:25am UTC](https://discuss.elastic.co/t/getting-issue-to-read-the-log-generated-by-service-fabric/167224/5 "2019-02-06T06:25:53Z")

</div>

Could you please help me to resolve the issue to read the log from my own application and display it on Kibana?

I followed the below steps to configure filebeat  
[https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-getting-started.html](https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-getting-started.html)

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [February 6, 2019, 7:17am UTC](https://discuss.elastic.co/t/getting-issue-to-read-the-log-generated-by-service-fabric/167224/6 "2019-02-06T07:17:17Z")

</div>

> [@warkolm](#):
>
> Try wrapping the path in single quotes.

Did you do that?

---

<div class="post-metadata">

**Author:** ![apbute](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@apbute](https://discuss.elastic.co/u/apbute)\
**Post date:** [February 6, 2019, 8:02am UTC](https://discuss.elastic.co/t/getting-issue-to-read-the-log-generated-by-service-fabric/167224/7 "2019-02-06T08:02:07Z")

</div>

yes I tried with single quotes and double quotes and double \ also.  
I am able to select filebeat-\* index in discover tab in kibana but it showing "No result match your search criteria".

Find the text from my log file  
Running at 30-01-2019 15:09:22  
Running at 30-01-2019 15:09:23  
Running at 30-01-2019 15:09:24

---

<div class="post-metadata">

**Author:** ![apbute](https://avatars.discourse-cdn.com/v4/letter/a/7ab992/32.png) [@apbute](https://discuss.elastic.co/u/apbute)\
**Post date:** [February 7, 2019, 8:34am UTC](https://discuss.elastic.co/t/getting-issue-to-read-the-log-generated-by-service-fabric/167224/8 "2019-02-07T08:34:12Z")

</div>

Any one have update on this?

---

<div class="post-metadata">

**Author:** ![pierhugues](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pierhugues/32/48383_2.png) [@pierhugues](https://discuss.elastic.co/u/pierhugues)\
**Post date:** [February 7, 2019, 1:12pm UTC](https://discuss.elastic.co/t/getting-issue-to-read-the-log-generated-by-service-fabric/167224/9 "2019-02-07T13:12:02Z")

</div>

You have to used forward slashes IIRC on windows to define path.

```auto
C:/ProgramData/filebeat/Logs

```

If you start filebeat with `./filebeat -v -e -d "harvester,input"` we should see which file it discover.

---

<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:** [March 7, 2019, 1:12pm UTC](https://discuss.elastic.co/t/getting-issue-to-read-the-log-generated-by-service-fabric/167224/10 "2019-03-07T13:12:09Z")

</div>

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