Splunk Cloud Platform

Search Reference

Acrobat logo Download manual as PDF

Acrobat logo Download topic as PDF



Un-escapes xml characters, including entity references such as &, <, and >, so that they return to their corresponding characters. For example, &amp; becomes &.


xmlunescape maxinputs=<int>

Optional arguments

Syntax: maxinputs=<int>
Description: The maximum number of inputs per invocation of the command. The xmlunescape command is invoked repeatedly in increments according to the maxinputs argument until the search is complete and all of the results have been displayed. Do not change the value of maxinputs unless you know what you are doing.
Default: 50000


Example 1: Un-escape all XML characters.

... | xmlunescape

Last modified on 19 October, 2021

This documentation applies to the following versions of Splunk Cloud Platform: 8.1.2103, 8.2.2105, 8.2.2106, 8.2.2107, 8.2.2109, 8.2.2111, 8.2.2112, 8.2.2201, 8.2.2202, 8.2.2203, 9.0.2205, 9.0.2208, 9.0.2209 (latest FedRAMP release)

Was this documentation topic helpful?

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters