Comments (7)
This issue won't be fixed & marked as invalid. Closed!
from teler.
I do think this is a valid feature request. Currently it does not run in production because of firewall restrictions. If there is no reason for downloading resources to analyze logfiles it should be optional I guess. Or is there a reason why this would not be possible @dwisiswant0 ?
from teler.
I am also facing this issue (Without Internet, I Can't run teler) not being able to run it in the prod environment. After configuring the whole setup, I now come to know :(. That it requires an internet connection. A lot of resources and time were wasted. :(
from teler.
I am also facing this issue (Without Internet, I Can't run teler) not being able to run it in the prod environment. After configuring the whole setup, I now come to know :(. That it requires an internet connection. A lot of resources and time were wasted. :(
Hi @nse-bse, regarding the issue you are experiencing. Dataset resources are only taken once, when you are in a fresh install; it is required, and make sure the cache
value is set to true - then you are free to run teler commands offline.
from teler.
Hi, @dwisiswant0, Yes. I tried with the cache
value set to true. But it still asks for an internet connection. I've noticed it is trying to download these files. https://github.com/kitabisa/teler-resources
I confirm all the files are in the $HOME/.cache/teler-resources
folder. Could you please help resolve this?
from teler.
@nse-bse - You are right, teler only downloads once to run. After that, if the dataset is already in the user-level cache directory, teler will not download it again - if you set the cache value
to true. It is mandatory for the teler engine for dataset update purposes.
If you think it's not as expected. Please open a new issue for better tracking.
from teler.
@dwisiswant0 Well, it is still trying to download the files even though the file exists in the cache directory.
I observed that there is one file in $HOME/.cache/teler-resources .cached.json
. The timestamp is stored in this JSON file.
So I am sure that every 12 hours or so, the teler again tries to check for the update. In my prod server, it just worked for one day. Later, when I saw my SIEM no logs were present.
eg: {"updated_at":"2023-01-09T10:14:03Z"}
Later today, I found the quick fix for this.
I just updated the .cached.json
with the current timestamp, and it worked without the internet.
Not sure how the teler handles this; it should just skip updating files when the files are already in the cache directory.
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.