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

banana 1.5 - default Time Field setting? #106

Closed
dougmcclure opened this issue Jan 16, 2015 · 5 comments
Closed

banana 1.5 - default Time Field setting? #106

dougmcclure opened this issue Jan 16, 2015 · 5 comments
Labels

Comments

@dougmcclure
Copy link

Where can I set the default Time Field setting so each new dashboard has it properly set?

@aadel
Copy link
Contributor

aadel commented Jan 16, 2015

Doug,

You just need to update time field properties inside dashboard-nts.json and dashboard-ts.json files under src/app/dashboards directory.

@aadel aadel added the question label Jan 16, 2015
@dougmcclure
Copy link
Author

Yep, I've set that and still have to manually change it for a new
dashboard. It keeps showing event_timestamp.

boards]$ cat default-ts.json | grep time
"type": "time",
"type": "timepicker",
"time_options": [
"timespan": "15m",
"timefield": "timestamp",
"timeformat": "",
"time_field": "timestamp",
"timezone": "browser",

On Fri, Jan 16, 2015 at 4:31 PM, Ahmed Adel notifications@github.com
wrote:

Doug,

You just need to update time field properties inside dashboard-nts.json
and dashboard-ts.json files under src/app/dashboards directory.


Reply to this email directly or view it on GitHub
#106 (comment).

@aadel
Copy link
Contributor

aadel commented Jan 17, 2015

Doug,

Please check here 55f51dc. After applying this, timefield will be read from src/config.js along with other default dashboard settings.

@dougmcclure
Copy link
Author

I manually applied those changes, cleared caches and verified that the
timestamp field is properly set for a new dashboard page.

Thanks!

On Fri, Jan 16, 2015 at 7:00 PM, Ahmed Adel notifications@github.com
wrote:

Doug,

Please check here 55f51dc
55f51dc
.


Reply to this email directly or view it on GitHub
#106 (comment).

@aadel
Copy link
Contributor

aadel commented Jan 19, 2015

Thanks for the verification! Closed via #107

@aadel aadel closed this as completed Jan 19, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants