All Projects → buonzz → logstash-laravel-logs

buonzz / logstash-laravel-logs

Licence: MIT license
Process Laravel Log files on Logstash and forward to ElasticSearch

Projects that are alternatives of or similar to logstash-laravel-logs

pf-azure-sentinel
Parse pfSense/OPNSense logs using Logstash, GeoIP tag entities, add additional context to logs, then send to Azure Sentinel for analysis.
Stars: ✭ 24 (-31.43%)
Mutual labels:  logstash, parse
dissect-tester
Simple API/UI for testing filebeat dissect patterns against a collection of sample log lines.
Stars: ✭ 58 (+65.71%)
Mutual labels:  logstash
ELK-Hunting
Threat Hunting with ELK Workshop (InfoSecWorld 2017)
Stars: ✭ 58 (+65.71%)
Mutual labels:  logstash
python-fastimport
Git Fastimport parser and generator in Python
Stars: ✭ 19 (-45.71%)
Mutual labels:  parse
elastic-data-lake
Elastic Data Lake
Stars: ✭ 14 (-60%)
Mutual labels:  logstash
twkb
A small GO parser for the TWKB format
Stars: ✭ 17 (-51.43%)
Mutual labels:  parse
awesome-elastic-stack
Awesome Elastic Stack
Stars: ✭ 29 (-17.14%)
Mutual labels:  logstash
rpgdice
A generic RPG dice roller syntax and library.
Stars: ✭ 24 (-31.43%)
Mutual labels:  parse
elk-tls-docker
This repository contains code to create a ELK stack with certificates & security enabled using docker-compose
Stars: ✭ 152 (+334.29%)
Mutual labels:  logstash
logstash-config
logstash-config provides a parser and abstract syntax tree (AST) for the Logstash config format, written in Go
Stars: ✭ 26 (-25.71%)
Mutual labels:  logstash
eslump
Fuzz testing JavaScript parsers and suchlike programs.
Stars: ✭ 56 (+60%)
Mutual labels:  parse
S1EM
This project is a SIEM with SIRP and Threat Intel, all in one.
Stars: ✭ 270 (+671.43%)
Mutual labels:  logstash
golgi
A composable routing library for Haxe.
Stars: ✭ 37 (+5.71%)
Mutual labels:  parse
logstash filter f5
A Logstash filter for F5 apd, dcc, sshd and tmm syslog.
Stars: ✭ 19 (-45.71%)
Mutual labels:  logstash
MarknoteParser
A high performance markdown parser in Swift.
Stars: ✭ 29 (-17.14%)
Mutual labels:  parse
es6-template-regex
Regular expression for matching es6 template delimiters in a string.
Stars: ✭ 15 (-57.14%)
Mutual labels:  parse
tparse
time parsing library for Go; supports more time units than standard library
Stars: ✭ 42 (+20%)
Mutual labels:  parse
elastic-stack
A complete documentation on how to install Elastic Stack on Ubuntu 16.04 Server ASAP 😎
Stars: ✭ 12 (-65.71%)
Mutual labels:  logstash
BaaSDelphiSamples
💾 Code samples for BaaS and PaaS using Delphi
Stars: ✭ 30 (-14.29%)
Mutual labels:  parse
MeetU
Application that build on Elasticsearch and Spring Boot Microservices (Synchronous Service)
Stars: ✭ 22 (-37.14%)
Mutual labels:  logstash

Logstash Laravel Logs

Process Laravel Log files on Logstash and forward to ElasticSearch

Installation

You will need to have of course an ELK stack running. The easiest way is to use Vagrant ELK Box

git clone https://github.com/comperiosearch/vagrant-elk-box.git
cd vagrant-elk-box
vagrant up

once you are done setting it up, clone this repo in the root folder of that vm and login to its ssh

git clone https://github.com/buonzz/logstash-laravel-logs.git

login to ssh of ELK box

vagrant ssh

run the sample log file

cd /vagrant/logstash-laravel-logs
/opt/logstash/bin/logstash agent -f logstash.conf  < logs/laravel.log

This will parse the contents of laravel.log sample file. Of course you can replace that file with your actual access log, or specify a different filename.

Once parsed, it will be indexed to ElasticSearch running in the localhost. The default index name is laravel_logs To view the indexed data in your browser, just visit this URL:

http://localhost:9200/laravel_logs/_search?pretty

this will show a result from ElasticSearch, with the tokens of log file broken down to each key.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].