# Filebeat only reporting on last prospector

**URL:** <https://discuss.elastic.co/t/filebeat-only-reporting-on-last-prospector/41237>\
**Category:** Beats\
**Created:** [February 9, 2016, 3:52am UTC](https://discuss.elastic.co/t/filebeat-only-reporting-on-last-prospector/41237 "2016-02-09T03:52:33Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [February 9, 2016, 4:15am UTC](https://discuss.elastic.co/t/filebeat-only-reporting-on-last-prospector/41237/2 "2016-02-09T04:15:30Z")

</div>

In YAML terms the `prospectors` is a list of dictionaries. You only have one element in your prospectors list (the single `-` directly under `prospectors`). So add some dashes to create separate dictionaries for each prospector you want to define.

```auto
filebeat:
  prospectors:
    -
      paths:
        - /var/log/httpd/jf_ref.example.com_access_log
      document_type: apache
      input_type: log
      fields:
         service: apache
         type: apache_ref_access
    -
      paths:
        - /var/log/httpd/jf_ref.example.com_error_log
      document_type: apache
      input_type: log
      fields:
         service: apache
         type: apache_ref_error
    # You should also be able to put the dash on the same line as paths. 
    - paths:
        - /var/log/httpd/jf_beta.example.com_access_log
      document_type: apache
    ...

```

---

_[View the full topic](https://discuss.elastic.co/t/filebeat-only-reporting-on-last-prospector/41237)._
