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

Manage LogDNA instance configuration via CLI #41

Open
Nashluffy opened this issue Feb 24, 2020 · 3 comments
Open

Manage LogDNA instance configuration via CLI #41

Nashluffy opened this issue Feb 24, 2020 · 3 comments
Assignees

Comments

@Nashluffy
Copy link

Really should have a way to manage LogDNA instance (views, alerts, dashboards, etc...) from the CLI or Python. I want to configure alerts from a Python script, back up alerts, dashboards, restore from these JSON backups.

Even if you could just provide an endpoint for me to do this.

@andkon andkon transferred this issue from logdna/python Feb 24, 2020
@andkon
Copy link

andkon commented Feb 24, 2020

Hi @Nashluffy – I transferred the issue to our CLI repo. You can check out the docs for it here:
https://docs.logdna.com/docs/logdna-cli

The configuration features you describe currently aren't available via the CLI, however, they are features we've built into the webapp itself: https://docs.logdna.com/docs/how-to-replicate-logdna-configurations

I'll create a feature request in our internal board to track this as a feature on the CLI, but I don't foresee it being a priority this year.

@andkon andkon changed the title Manage logdna instance Manage LogDNA instance configuration via CLI Feb 24, 2020
@Nashluffy
Copy link
Author

Hey thanks for getting back so quick. I'll go into more detail, wasn't sure that anyone would see my issue initially.

CLI Added Behavior:

  • GET current views
  • GET current dashboards
  • GET current alerts
  • POST create views
  • POST create dashboards
  • POST create alert
  • POST update views
  • POST update dashboards
  • POST update alert
  • POST detach alert

My selfish wish for the aforementioned behaviors mainly revolve around updates to our hosts.

  • Whenever we bring a node down, we have to go into the UI and manually detach the alerts.
  • Whenever we want to add a new view across all LogDNA instances, we have to go into each UI

Hope this helps. Thanks!

@Nashluffy
Copy link
Author

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

No branches or pull requests

3 participants