<p>I need to have multiple values passed in search box in grafana application logs dashboard. currently i am using below query to search for a keyword in logs panel.</p>
<p><code>kubernetes.namespace:$namespace AND kubernetes.pod.name:$pod AND stream:$log_stream AND message:/.*$search.*/</code></p>
<p>Datasource: <code>Elasticsearch 7.6.1</code><a href="https://i.stack.imgur.com/C9rNs.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/C9rNs.png" alt="attaching image of k8s logs dashboard" /></a></p>
<p>This will take only single string and does not accept multiple strings. I need regex to search for anything (includes special character, alphanumeric etc) in the logs.</p>

<p>Use advance variable format in the query, which is suitable for Lucene - Elasticsearch. E.g.:</p>
<pre><code>${variable:lucene}
</code></pre>
<p>Doc: <a href="https://grafana.com/docs/grafana/latest/variables/advanced-variable-format-options/#lucene---elasticsearch" rel="nofollow noreferrer">https://grafana.com/docs/grafana/latest/variables/advanced-variable-format-options/#lucene---elasticsearch</a></p>
