-
Notifications
You must be signed in to change notification settings - Fork 21
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
about automating with seqcli #355
Comments
Hi @bytejunkie You can supply the serverUrl and apiKey as options (
|
@bytejunkie you can also set the environment variables |
brilliant, ive managed to get the command you sent to create an API Key. I dont know why i didnt realise i can pass the server and key on the command, apologies I feel like I ought to have been able to find that. I'll test the env vars too. I saw an issue about them, but I dont think I saw them in the docco. Thanks. looking forward to automating this now. |
@bytejunkie that's great. The environment variables are new, and were missing the documentation. It is there now. https://docs.datalust.co/docs/command-line-client#environment-variable-overrides |
Sorry, looks like we have this out-of-sequence, environment variable overrides aren't in yet (see #295) |
We'll close this as a duplicate and track in #295 |
I'd like to automate the config of our new Seq instance and all further config items on it, but I think I'm missing the point with the dockerimage a little.
I was hoping to be able to run the cli image at the command line somthing like this
but of course, the commands work in the container, then exit.
I've tried daisy chaining them into a multiline command but this didn't work.
I'd like to use this in a pipeline to create users or apikeys automatically. I've worked out i can override the entrypoint and then run the commands manually, but i thought at this point with a few hours into it and not seeing an obvious route forwards it might be best to ask how others are using the tool in pipelines?
The text was updated successfully, but these errors were encountered: