Git Product home page Git Product logo

Comments (7)

github-actions avatar github-actions commented on July 29, 2024

This issue won't be fixed & marked as invalid. Closed!

from teler.

jtorvald avatar jtorvald commented on July 29, 2024

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.

nse-bse avatar nse-bse commented on July 29, 2024

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.

dwisiswant0 avatar dwisiswant0 commented on July 29, 2024

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.

nse-bse avatar nse-bse commented on July 29, 2024

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.

dwisiswant0 avatar dwisiswant0 commented on July 29, 2024

@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.

nse-bse avatar nse-bse commented on July 29, 2024

@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"}

image

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.