Hi,
I have a dashboard where the requirement is to have multiple input fields (a drop down and two input search fields fow now). Initially, we introduced only the dropdown, and as the requirement had changed to have two input text fields to search on results, I have added new input fields to the dashboard. The dropdown is for selecting the environment and the input text fields for searching Request ID's of two different types from the results.
Ideally, we want to display all the results according to the selection on dropdown (dev, test, prod), and after displaying results, if I take a field value of SR number from one of column in the results and search it, I want to display on the records associated with the searched Request ID. If I don't have anything on the input text field, I want to display all the results based on dropdown selection.
Right now, I am not able to display any results based on dropdown as I have to enter an input to all the filters. Can someone help how to resolve the issue? Please, refer to the below search.
index=Pid sourcetype=poclog AND (Stripe=$StripeName$ OR DocumentID= $SRLineNumber$ OR TrackingID1= $SRNumber$) | rename _time as Time, DocumentID AS SRLineNumber, TrackingID1 AS SRNumber, TrackingID2 AS Depot, TrackingID3 AS HoldID| convert ctime(Time) | table Time Stripe FromSystem ToSystem TransactionNumber SRNumber SRLineNumber Transactiontype Depot HoldID InstanceID Status ErrorMessage Payload | sort -Time
Stripe is dropdown, DocumentID and TrackingID1 are the input fields
... View more