Elastic query using CSV data as filtering on Grafana

Hi everyone,

I’m new to Elasticsearch (stack) and also using query on Grafana, I trying to track the logs coming in from Elasticsearch based on this set of CSV data.

For example, I want to capture is there a file named like “CustFile” within the time period of 11:00 to 11:15, and adding another row to indicate if the the come in time the flag as “Ok” else flag as “failed”

I not sure how to do it, should I use dashboard variable to keep the csv data and then use the variable in the query or use 2 queries method in a panel then use passing csv data into the Elastic filtering

Looking for some suggestion and guidance, much appreciated!