# Ingest Laravel Log lines in ElasticSearch/Filebeat ## Set up the pipeline Run `Create_Laravel_Pipeline.txt` in Kibana or manually through the command line. Run `Simulate_Pipeline.txt` to check if it works and parses the document properly. ## Configure Filebeat Configure Filebeat to add a new prospector log and ship it to straight to the pipeline we created: ``` - type: log enabled: true # Paths that should be crawled and fetched. Glob based paths. paths: - /path/to/laravel/root/storage/logs/*.log exclude_files: ['laravel-worker'] ### Multiline options multiline.pattern: '^\[[0-9]{4}-[0-9]{2}-[0-9]{2} [0-9]{2}:[0-9]{2}:[0-9]{2}\]' multiline.negate: true multiline.match: after output.elasticsearch: hosts: ["localhost:9200"] pipeline: laravel ```