Getting issue to read the log generated by Service fabric

We have service fabric application with 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

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

Try wrapping the path in single quotes.

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?

That depends on your log file name.

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

Did you do that?

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

Any one have update on this?

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

C:/ProgramData/filebeat/Logs

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

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