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

accessing the config.js settings from a panel #1730

Closed
ehartford opened this issue Oct 21, 2014 · 1 comment
Closed

accessing the config.js settings from a panel #1730

ehartford opened this issue Oct 21, 2014 · 1 comment
Labels
notabug When the issue is closed this label Indicates that it wasn't a bug

Comments

@ehartford
Copy link

I'm sure this is a dumb question... but I'm having trouble figuring this out. How do I access the config.js settings from inside a panel? in particular I need the elasticsearch url. (I want to add a button that deletes all indexes)

 <i onclick="$.ajax({url: '???/_all',type: 'DELETE',success: function() { location.reload(); }});" ng-show="true" class='icon-trash pointer' bs-tooltip="'clear all log items'"></i>
@rashidkpc rashidkpc added the notabug When the issue is closed this label Indicates that it wasn't a bug label Oct 21, 2014
@rashidkpc
Copy link
Contributor

The config is stored on $scope as $scope.config, assuming you're talking about kibana 3. Please ask these sort of questions in #logstash or #elasticsearch on freenode. We use github issues for bugs, features and work to be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
notabug When the issue is closed this label Indicates that it wasn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants