https://github.com/falon/log-search
Utility to search in Splunk maillog email from Message-ID, from, to, date.
https://github.com/falon/log-search
email-notifications php php-7 postfix-logs splunk splunk-sdk
Last synced: 18 days ago
JSON representation
Utility to search in Splunk maillog email from Message-ID, from, to, date.
- Host: GitHub
- URL: https://github.com/falon/log-search
- Owner: falon
- License: apache-2.0
- Created: 2017-03-06T10:39:39.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-05T09:43:30.000Z (almost 9 years ago)
- Last Synced: 2025-01-19T18:43:58.668Z (over 1 year ago)
- Topics: email-notifications, php, php-7, postfix-logs, splunk, splunk-sdk
- Language: PHP
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Log-Search
Utility to search in Splunk maillog email from Message-ID, from, to, date.
## Require
Splunk for Postfix and Postfix 3.
Add this fields extraction:
```
postfix_syslog : EXTRACT-notification_type,notification_queue_id
^(?:[^ \n]* ){4}(?P[^:]+):\s+(?P.+)
```
## Install
- Clone from git.
- Move the include folder to your root web path (if you don't have already from my others projects).
- Take Splunk SDK from site http://dev.splunk.com/php, unzip it in include folder with original name.
Oh no, Splunk has just removed support from PHP SDK! Damn... I hate Splunk!