Skip to content

How to format my data #138

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

Open
yongicobay opened this issue Jan 17, 2021 · 5 comments
Open

How to format my data #138

yongicobay opened this issue Jan 17, 2021 · 5 comments

Comments

@yongicobay
Copy link

yongicobay commented Jan 17, 2021

Hello,
despite a few tries, i haven't figured out how to format input data to be understood by this plugin.
I'm working with an elastic search datasource and thought i should basically produce at least 2 fields : timestamp (the moment the stage changes) and new state, but it doesn't work this way apparently.
since the best i can get is this
image

Any idea of what i'm doing wrong ?

Thank you for your help !

@yongicobay
Copy link
Author

Update : i changed my format to have a record (timestamp ,phase) for each phase beginning AND end, but it still doesn't work.
The input data is illustrated below (once used the filter data field to keep only the two relevant into my ES documents)

image

i still get the same problem as illustrated in my initial issue.

Any idea ?

Thanks for your help !

@wnasich
Copy link

wnasich commented Jan 19, 2021

Hi @yongicobay , If I am not wrong, consecutives rows with same status are ignored

@yongicobay
Copy link
Author

yongicobay commented Jan 19, 2021

Hi @wnasich , thank you for your answer. I switched back to a row per transition, as illustrated, but once again i get the same empty timeline with, on hover, always the same card, as if i had only one phase with no end. It's like the problem was due to the fact that the last state wasn't "closed" ?
This card doesn't disappear even when i change page, it only disappear when i refresh the whole page.
image

image

@yongicobay
Copy link
Author

Hello, any new idea ?

@aiscon-it
Copy link

I have a solution, maybe it can be helpful for someone.
Most plugins accept the time field in differnt format so they works even if you pass the data in db format es. yyyy-mm-dd hh:mm:ss
Discrete plugins works only with UNIX timestamp format!

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

No branches or pull requests

3 participants