October 15, 2021

"Unexpected close tag" Exception in Splunk Dashboard

This error is due to usage of < or > symbols. Do not use < or > symbols. Use &lt; and &gt; instead.

Example:
rex field=_raw "errorCode: (?<error_code>\d+)"

The above usage in the query will throw an error due to usage of < and > symbols. See the following resolution to resolve this issue.
rex field=_raw "errorCode: (?&lt;error_code&gt;\d+)"

No comments:

Post a Comment