This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The # character at the beginning of a line indicates a comment. Use | |
# comments to describe your configuration. | |
input { | |
file { | |
path => "/Users/colin/Documents/Boulot/gds/logstash/nginx_access.log" | |
start_position => "beginning" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Install globally using https://coderwall.com/p/jp7d5q/create-a-global-git-commit-hook | |
# The checks are simple and can give false positives. Amend the hook in the specific repository. | |
if git rev-parse --verify HEAD >/dev/null 2>&1 | |
then | |
against=HEAD | |
else | |
# Initial commit: diff against an empty tree object |
OlderNewer