anchor.diff:  [[filebeat-installation]]
   === Installing Filebeat
   
  -To download and install Filebeat, run the following commands. Use the commands that
  -work with your system (deb for Debian/Ubuntu, rpm for Redhat/Centos/Fedora, mac for OS X).
  -
  -deb:
  +To download and install Filebeat, use the commands that work with your system
  +(<<deb, deb>> for Debian/Ubuntu, <<rpm, rpm>> for Redhat/Centos/Fedora, <<mac,
  +mac>> for OS X, and <<win, win>> for Windows).
  +
  +NOTE: We also provide 32-bit images that you can get from our
  +https://www.elastic.co/downloads/beats/filebeat[download page].
  +
  +[[deb]]
  +==== deb:
   
   ["source","sh",subs="attributes,callouts"]
   ------------------------------------------------
  
positive.code: tar xzvf filebeat-{version}-darwin.tgz
  ------------------------------------------------
  
  NOTE: We also provide 32-bit images that you can get from our
  https://www.elastic.co/downloads/beats/filebeat[download page].
  
  Before starting filebeat, you should look at the configuration options in the configuration
  file, for example `/etc/filebeat/filebeat.yml`. For more information about these options,
  see <<filebeat-configuration-details>>.
  
  
negative.code: 
  === Running Filebeat
  
  Run Filebeat by issuing the appropriate command for your platform.
  
  ==== deb:
  
  [source,shell]
  ----------------------------------------------------------------------
  sudo /etc/init.d/filebeat start
  ----------------------------------------------------------------------
  
  ==== rpm:
  
  [source,shell]
  ----------------------------------------------------------------------
  sudo /etc/init.d/filebeat start
  ----------------------------------------------------------------------
  
  ==== mac:
  
  [source,shell]
  ----------------------------------------------------------------------
  sudo ./filebeat -e -c filebeat.yml -d "publish"
  ----------------------------------------------------------------------
  
  ==== win:
  
  [source,shell]
  ----------------------------------------------------------------------
  PS > Start-Service filebeat
  ----------------------------------------------------------------------
  
  By default, Windows log files are stored in `C:\ProgramData\filebeat\Logs`.
  
  NOTE: On Windows, the statistics about system load and swap usage are currently
  not captured.
  
  Filebeat is now ready to send log files to your defined output.
  
  Enjoy!
  