Send FileBeat Logs to Specific Type and Index in Elastic Search

If i am not mistaken, and by fast reading the docs, this should override elastics _type field(defaults to doc).
And yeah where your set your paths/fields/tags etc.
Something like:

- type: log
  paths:
    - /my/path/
  fields:
    document_type: myType