You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the bug?
AD command only takes in field name as timestamp for the timefield parameter. Any other name invalidates the date field in output.
How can one reproduce the bug?
Steps to reproduce the behavior:
NOTE: Data set used sample data logs from OpenSearch Dashboards: opensearch_dashboards_sample_data_logs
Timefield named ts doesn't work as expected:
source = opensearch_dashboards_sample_data_logs | where match(machine.os,'win') |stats avg(machine.ram) as avg_ram by span(timestamp,1d) as ts | fields ts, avg_ram | AD time_field='ts'
source = opensearch_dashboards_sample_data_logs | where match(machine.os,'win') |stats avg(machine.ram) as avg_ram by span(timestamp,1d) as timestamp | fields timestamp, avg_ram | AD time_field='timestamp'
What is the bug?
AD command only takes in field name as timestamp for the timefield parameter. Any other name invalidates the date field in output.
How can one reproduce the bug?
Steps to reproduce the behavior:
NOTE: Data set used sample data logs from OpenSearch Dashboards:
opensearch_dashboards_sample_data_logs
Timefield named
ts
doesn't work as expected:timestamp
works as expected:What is the expected behavior?
A clear and concise description of what you expected to happen.
What is your host/environment?
Do you have any screenshots?
Bug recreated with timefield named
ts
Works with timefield named
timestamp
Do you have any additional context?
The text was updated successfully, but these errors were encountered: