anchor.diff:  [[logstash-input-update]]
   ==== Updating the Logstash Input Beats Plugin
   
  -The latest version of Logstash might not come with the latest version of the
  -https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html[Logstash Input Beats Plugin].
  -You can easily update to the latest version of the input plugin from your logstash installation:
  +If you are running Logstash 2.0 or earlier, you might not have the latest version of the https://www.elastic.co/guide/en/logstash/current/plugins-inputs-beats.html[Logstash Input Beats plugin].
  +You can easily update to the latest version of the input plugin from your Logstash installation:
   
   ["source","sh",subs="attributes,callouts"]
   ----------------------------------------------------------------------
  
positive.code: curl http://127.0.0.1:9200
  ----------------------------------------------------------------------
  
  You should see this response:
  
  [source,shell]
  ----------------------------------------------------------------------
  {
    "status" : 200,
    "name" : "Unicorn",
    "cluster_name" : "elasticsearch",
    "version" : {
      "number" : "1.4.3",
      "build_hash" : "36a29a7144cfde87a960ba039091d40856fcb9af",
      "build_timestamp" : "2015-02-11T14:23:15Z",
      "build_snapshot" : false,
      "lucene_version" : "4.10.3"
    },
    "tagline" : "You Know, for Search"
  }
  ----------------------------------------------------------------------
  
  [[logstash-installation]]
  
negative.code: ./bin/plugin install logstash-input-beats
  ----------------------------------------------------------------------
  
  To use this setup, edit the Beats configuration file (for example, `packetbeat.yml`) to disable the Elasticsearch
  output and use the <<logstash-output,Logstash output>> instead:
  
  [source,yaml]
  