Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heroku "Missing Logsene Token" error even when using custom LOG_RECEIVER_URL #293

Open
jylin opened this issue Nov 28, 2021 · 0 comments
Open

Comments

@jylin
Copy link

jylin commented Nov 28, 2021

When pointing to own Elasticsearch server using "LOG_RECEIVER_URL" (or command-line flag), you should be able to specify your own index, but the Heroku listener seems to try to enforce that the index matches a regex here:
https://github.com/sematext/logagent-js/blob/master/lib/plugins/input/heroku.js#L81

It prints the error:
Error: Missing Logsene Token /asdf. Please use /LOGSENE_TOKEN.

I would like "https://myserver.herokuapp.com/asdf" to work without it having to be in the UUID format like a Sematext/Logscene token.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant