anchor.diff:      index => "%{[@metadata][index]}"
       document_type => "%{[@metadata][type]}"
     }
  -
  -  ...
   }
   ------------------------------------------------------------------------------
  +
  +Events indexed into elasticsearch with shown logstash configuration will be
  +similar to events directly indexed by beats into elasticsearch.
  +
   
   Example beat configuration:
   [source,yaml]
  
positive.code: Logstash elasticsearch output can be configured to use metadata and event type
  for indexing.
  
  Example Logstash 1.5 config:
  [source,logstash]
  ------------------------------------------------------------------------------
  ...
  
  output {
    elasticsearch {
  
negative.code:     index => "%{[@metadata][index]}"
      document_type => "%{[@metadata][type]}"
    }
  }
  ------------------------------------------------------------------------------
  
  See the same configuration for logstash 2 releases:
  [source,logstash]
  ------------------------------------------------------------------------------
  
  input {
    beats {
      port => 5044
    }
  }
  
  output {
    elasticsearch {
  