Hi,
I am a new comer to Beats and Im trying to learn it starting with Filebeats. I understood that filebeats.yml is the file where you define your input and output file. In my Linux system, I gave them as below.
- input_type: log
# Paths that should be crawled and fetched. Glob based paths.
paths:
- /var/log/*.log
- /home/cloudera/Desktop/inpB
#-------------------------- Elasticsearch output ------------------------------
output.elasticsearch:
# Array of hosts to connect to.
hosts: ["localhost:9200"]
paths:
- /home/cloudera/Desktop/outB
Im trying to run the filebeats using the command: ./filebeat -e -c packetbeat.yml
but it says: bash: ./packetbeat: No such file or directory
Is there anything else we need to add to the files.
Can some one tell me if Im giving the input and output files at the right places and using the right command to execute it ?