Using JSON input of Kibana Visualizations as filters

@Shan_Chathusanda I'm not sure if I understood the question correctly, but sounds to me that what you want is to split series with a filters aggregation where you can select the correct KQL filter to apply. Have you tried that?