Comments (7)
Thank you for raising a issue to us so promptly. Please make sure you have given us as much context as possible.
We will try and get back to you as soon as possible.
from teler.
from teler.
It looks like you are using a log_format
that doesn't belong to Apache2. See Configuration, @Anggi17.
from teler.
well, just now I've changed the log format to apache but nothing changes, it still displays analyzing
from teler.
Show me your 1-line of your access.log
(with redacted sensitive infos, if any) & your current teler configuration here.
from teler.
access.log
::1 - - [02/Dec/2020:19:47:15 -0800] "GET / HTTP/1.1" 200 249 "http://localhost:80" "sqlmap/1.4.7#stable (http://sqlmap.org)') AND 3888=6037 AND ('cyCX' LIKE 'cyCX"
config teler.yaml
To write log format, see https://github.com/kitabisa/teler#configuration
log_format: |
$remote_addr - $remote_user [$time_local] "$request_method $request_uri $request_protocol" $status $body_bytes_sent
rules:
cache: true
threat:
excludes:
- "Common Web Attack"
- "CVE"
- "Bad IP Address"
- "Bad Referrer"
- "Bad Crawler"
- "Directory Bruteforce"
# It can be user-agent, request path, HTTP referrer, IP address and/or request query values parsed in regExp
whitelists:
# - "(curl|Go-http-client|okhttp)/*"
# - "^/wp-login\\.php"
# - "https://www\\.facebook\\.com"
# - "192\\.168\\.0\\.1"
prometheus:
active: false
host: "localhost"
port: 9099
endpoint: "/metrics"
alert:
active: false
provider: "slack"
notifications:
slack:
token: "vyk2uIi1Du419ac6ImwvnDNI"
color: "#ffd21a"
channel: "teler"
telegram:
token: "123456:ABC-DEF1234...-..."
chat_id: "-111000"
discord:
token: "NkWkawkawkawkawka.X0xo.n-kmZwA8aWAA"
color: "16312092"
channel: "700000000000000..."
from teler.
Example is just for example! If you still can't spot to match the log_format
variables, it's yours @Anggi17:
::1 - - [02/Dec/2020:19:47:15 -0800] "GET / HTTP/1.1" 200 249 "http://localhost:80" "sqlmap/1.4.7#stable (http://sqlmap.org)') AND 3888=6037 AND ('cyCX' LIKE 'cyCX"
equal to:
$remote_addr - $remote_user [$time_local] "$request_method $request_uri $request_protocol" $status $body_bytes_sent "$http_referer" "$http_user_agent"
from teler.
Related Issues (20)
- [FEATURE] metrics for custom threat rules HOT 1
- [FEATURE] Live dashboard
- [FEATURE] Deprecating non-webhook alert :(
- [FEATURE] Configurable message format alert
- I dont have -o --output in my teler
- [DOCS] Docker volume and port missing HOT 4
- [BUG] Unable to get teler to see log input HOT 4
- [FEATURE] Daemonize teler HOT 6
- [FEATURE] Follow/stream input logs HOT 1
- [BUG] Error! open internal/alert/template/telegram.tmpl: no such file or directory HOT 1
- [BUG] Not send any alerts to discord HOT 2
- [BUG] docker run --input /path/to/access.log doesn't analyze log, but buffer does
- [BUG]
- This is the situation with every OS I use HOT 1
- Seeking Guidance on Running Teler Application with Systemd HOT 1
- [BUG] cannot detect the attack HOT 1
- [DOCS] Protect Your Web App returns 404
- [BUG] log parser space issue
- [BUG] wrong classification
- [BUG] cannot disable dashboard HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from teler.