I have installed Elastic Search, FileBeat and Kibana on my Windows 7 machine.
As of now my log path is C:\LogFiles\ and it contains 5 files(Log File 1.txt...2.txt....). I created it new and have some contents in it.
I edited the yaml file to pick the logs from "- C:\LogFiles*" and have set "input_type: file". No more changes.
I started all the 3(ES, Kibana and FB) from Windows Services. When tried searching for a text in Kibana, no results where found.
Also, I edited the yaml file to pick the logs from "- C:\LogFiles*" and have set "input_type: log". Again no results.
What am I missing here ? Also, do I need to restart FB, ES or KB services if I have any changes to my log files?
I have my logs saved in TXT format. Hence, I tried using input_type: file. I read an article on that.
But now I have used input_type: log and corrected my log paths to -
paths:
- C:\LogFiles*
- C:\Log Files 1*
- C:\Log Files 2*
This works fine. But it doesnt works when I add a shared server path
Can you link to the article where it was stated that input_type: file exist? It would be good to notifiy the author that this is incorrect. Otherwise other people will follow the same example.
What do you mean by a Shared server path? Shared drive? Is ServiceLogs the prefix of your files or a directory?
Sorry, I don't have that link now. I found that during my initial analysis. Will try to search for it.
By shared path I meant, the path where logs on my servers are stored. I have shared the logs folder on all my servers with a group of people.
Sorry for the typo above
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.