sivasamyk / logtrail

Kibana plugin to view, search & live tail log events
MIT License
1.4k stars 186 forks source link

Is it possible to run the application in a standalone mode? #411

Open bigman3 opened 3 years ago

bigman3 commented 3 years ago

Was wondering if it's possible running the server+angular application in a standalone mode, (with all the changes required and also) by pointing ES endpoint to something external ?

(express-server or something like that)

what sort of changes would I need to do in order to get it working, in high level?

thanks in advanced

sivasamyk commented 3 years ago

It would require some effort to run logtrail in standalone mode since it has dependencies on Kibana API. Is the external endpoint an ES compatible endpoint to something different?

bigman3 commented 3 years ago

@sivasamyk Thanks you for the response.

The external endpoint is to Elasticsearch cluster, aws managed (currently no support for plugins).

I'll gladly make a pull request (we can work the details out) if such approach is possible...

basically I've tried to modify node dependencies to be pulled independently from npm (and not just to rely on existence), but had some bootstrap failures , as there are explicit invocation to run kibana application.

At that point I stopped to consult here first.

so wdyt?

sivasamyk commented 3 years ago

At a high level, we need to make the following changes:

PR is welcome. I would say we can maintain the PR in a separate branch rather than merging to master since it will obviously contain breaking changes.