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

Edit config info about dashboard loading #4016

Merged
merged 1 commit into from
Apr 20, 2017

Conversation

dedemorton
Copy link
Contributor

Resolves some of the edits from my backlog (tracked in #3539).

@dedemorton dedemorton added docs needs_backport PR is waiting to be backported to other branches. review labels Apr 14, 2017
website.

===== directory

The directory from where to read the dashboards. It is used instead of the URL
when it has a value.
The directory that contains the dashboards to load. If this option is set,
Copy link
Contributor Author

@dedemorton dedemorton Apr 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewers: It's not clear to me if directory and file settings are mutually exclusive. My assumption is that if the user specifies a directory, then the Beat looks in the specified directory for dashboards and loads whatever it finds. It's not clear to me whether the directory has to contain an archive, or can just contain saved dashboards (I think the latter, but not sure).

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, directory, file, and url are mutually exclusive, we expect people to specify only one of these. Also yes, directory expects the unarchived dashboards. file is the equivalent that expects an archive.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I added a sentence to indicate that these options are 3 different ways to specify the location of dashboards.


===== file

The file archive (zip file) from where to read the dashboards. It is used
instead of the URL when it has a value.
The file archive (zip file) that contains the dashboards to load. If this option
Copy link
Contributor Author

@dedemorton dedemorton Apr 14, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

REVIEWERS: Is this simply the filename or a path? (My apologies for not testing, but I thought it would be faster just to ask.)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a path.

@dedemorton dedemorton force-pushed the edit_dashboard_config branch from f7021df to d9705d0 Compare April 14, 2017 23:54
@dedemorton
Copy link
Contributor Author

This PR is ready for a final review now.

@monicasarbu monicasarbu merged commit 53b5f0f into elastic:master Apr 20, 2017
@monicasarbu monicasarbu deleted the edit_dashboard_config branch April 20, 2017 09:27
@dedemorton dedemorton removed the needs_backport PR is waiting to be backported to other branches. label Apr 21, 2017
dedemorton added a commit that referenced this pull request Apr 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants