<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How can I resolved this scheduled search XML parse error? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-resolved-this-scheduled-search-XML-parse-error/m-p/344509#M22419</link>
    <description>&lt;P&gt;I am running splunk query which is scheduled to run in every minute to pull the events of last minute. Randomly i getting this xml parse error.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Splunk query :-&lt;/STRONG&gt;  search index=os sourcetype=cpu all earliest=-2m@m latest=-1m@m |dedup host| eval fields=split(_raw,\" \") | eval num=mvindex(fields,-1)| eval cpuUtilization = 100-num |eval human_readable_time=strftime(_time, \"%Y-%m-%d %H:%M:%S\") |table human_readable_time host cpuUtilization&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Error :-&lt;/STRONG&gt; &lt;BR /&gt;
java.lang.RuntimeException: java.lang.RuntimeException: ParseError at [row,col]:[363,318]&lt;BR /&gt;
Message: The character sequence "]]&amp;gt;" must not appear in content unless used to mark the end of a CDATA section.&lt;BR /&gt;
    at com.splunk.Job.refresh(Job.java:900)&lt;BR /&gt;
    at com.splunk.Job.isReady(Job.java:823)&lt;BR /&gt;
    at com.splunk.Job.isDone(Job.java:770)&lt;BR /&gt;
    at MAPDashboardMain$1.run(MAPDashboardMain.java:175)&lt;BR /&gt;
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)&lt;BR /&gt;
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)&lt;BR /&gt;
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)&lt;BR /&gt;
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)&lt;BR /&gt;
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)&lt;BR /&gt;
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)&lt;BR /&gt;
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)&lt;BR /&gt;
    at java.lang.Thread.run(Thread.java:729)&lt;BR /&gt;
Caused by: java.lang.RuntimeException: ParseError at [row,col]:[363,318]&lt;BR /&gt;
Message: The character sequence "]]&amp;gt;" must not appear in content unless used to mark the end of a CDATA section.&lt;BR /&gt;
    at com.splunk.AtomObject.scan(AtomObject.java:198)&lt;BR /&gt;
    at com.splunk.AtomEntry.parseValue(AtomEntry.java:220)&lt;BR /&gt;
    at com.splunk.AtomEntry.parseDict(AtomEntry.java:143)&lt;BR /&gt;
    at com.splunk.AtomEntry.parseStructure(AtomEntry.java:189)&lt;BR /&gt;
    at com.splunk.AtomEntry.parseValue(AtomEntry.java:230)&lt;BR /&gt;
    at com.splunk.AtomEntry.parseDict(AtomEntry.java:143)&lt;BR /&gt;
    at com.splunk.AtomEntry.parseContent(AtomEntry.java:118)&lt;BR /&gt;
    at com.splunk.AtomEntry.init(AtomEntry.java:95)&lt;BR /&gt;
    at com.splunk.AtomObject.load(AtomObject.java:121)&lt;BR /&gt;
    at com.splunk.AtomEntry.parse(AtomEntry.java:77)&lt;BR /&gt;
    at com.splunk.AtomEntry.parseStream(AtomEntry.java:57)&lt;BR /&gt;
    at com.splunk.Job.refresh(Job.java:898)&lt;BR /&gt;
    ... 11 more&lt;BR /&gt;
Caused by: com.sun.xml.stream.XMLStreamException2: ParseError at [row,col]:[363,318]&lt;BR /&gt;
Message: The character sequence "]]&amp;gt;" must not appear in content unless used to mark the end of a CDATA section.&lt;BR /&gt;
    at com.sun.xml.stream.XMLReaderImpl.next(XMLReaderImpl.java:604)&lt;BR /&gt;
    at com.splunk.AtomObject.scan(AtomObject.java:193)&lt;BR /&gt;
    ... 22 more&lt;/P&gt;

&lt;P&gt;Can someone please explain why this occuring ? &lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 15:49:57 GMT</pubDate>
    <dc:creator>KrisAbhishek</dc:creator>
    <dc:date>2020-09-29T15:49:57Z</dc:date>
    <item>
      <title>How can I resolved this scheduled search XML parse error?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-resolved-this-scheduled-search-XML-parse-error/m-p/344509#M22419</link>
      <description>&lt;P&gt;I am running splunk query which is scheduled to run in every minute to pull the events of last minute. Randomly i getting this xml parse error.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Splunk query :-&lt;/STRONG&gt;  search index=os sourcetype=cpu all earliest=-2m@m latest=-1m@m |dedup host| eval fields=split(_raw,\" \") | eval num=mvindex(fields,-1)| eval cpuUtilization = 100-num |eval human_readable_time=strftime(_time, \"%Y-%m-%d %H:%M:%S\") |table human_readable_time host cpuUtilization&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Error :-&lt;/STRONG&gt; &lt;BR /&gt;
java.lang.RuntimeException: java.lang.RuntimeException: ParseError at [row,col]:[363,318]&lt;BR /&gt;
Message: The character sequence "]]&amp;gt;" must not appear in content unless used to mark the end of a CDATA section.&lt;BR /&gt;
    at com.splunk.Job.refresh(Job.java:900)&lt;BR /&gt;
    at com.splunk.Job.isReady(Job.java:823)&lt;BR /&gt;
    at com.splunk.Job.isDone(Job.java:770)&lt;BR /&gt;
    at MAPDashboardMain$1.run(MAPDashboardMain.java:175)&lt;BR /&gt;
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)&lt;BR /&gt;
    at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)&lt;BR /&gt;
    at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)&lt;BR /&gt;
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)&lt;BR /&gt;
    at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)&lt;BR /&gt;
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)&lt;BR /&gt;
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)&lt;BR /&gt;
    at java.lang.Thread.run(Thread.java:729)&lt;BR /&gt;
Caused by: java.lang.RuntimeException: ParseError at [row,col]:[363,318]&lt;BR /&gt;
Message: The character sequence "]]&amp;gt;" must not appear in content unless used to mark the end of a CDATA section.&lt;BR /&gt;
    at com.splunk.AtomObject.scan(AtomObject.java:198)&lt;BR /&gt;
    at com.splunk.AtomEntry.parseValue(AtomEntry.java:220)&lt;BR /&gt;
    at com.splunk.AtomEntry.parseDict(AtomEntry.java:143)&lt;BR /&gt;
    at com.splunk.AtomEntry.parseStructure(AtomEntry.java:189)&lt;BR /&gt;
    at com.splunk.AtomEntry.parseValue(AtomEntry.java:230)&lt;BR /&gt;
    at com.splunk.AtomEntry.parseDict(AtomEntry.java:143)&lt;BR /&gt;
    at com.splunk.AtomEntry.parseContent(AtomEntry.java:118)&lt;BR /&gt;
    at com.splunk.AtomEntry.init(AtomEntry.java:95)&lt;BR /&gt;
    at com.splunk.AtomObject.load(AtomObject.java:121)&lt;BR /&gt;
    at com.splunk.AtomEntry.parse(AtomEntry.java:77)&lt;BR /&gt;
    at com.splunk.AtomEntry.parseStream(AtomEntry.java:57)&lt;BR /&gt;
    at com.splunk.Job.refresh(Job.java:898)&lt;BR /&gt;
    ... 11 more&lt;BR /&gt;
Caused by: com.sun.xml.stream.XMLStreamException2: ParseError at [row,col]:[363,318]&lt;BR /&gt;
Message: The character sequence "]]&amp;gt;" must not appear in content unless used to mark the end of a CDATA section.&lt;BR /&gt;
    at com.sun.xml.stream.XMLReaderImpl.next(XMLReaderImpl.java:604)&lt;BR /&gt;
    at com.splunk.AtomObject.scan(AtomObject.java:193)&lt;BR /&gt;
    ... 22 more&lt;/P&gt;

&lt;P&gt;Can someone please explain why this occuring ? &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:49:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-resolved-this-scheduled-search-XML-parse-error/m-p/344509#M22419</guid>
      <dc:creator>KrisAbhishek</dc:creator>
      <dc:date>2020-09-29T15:49:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I resolved this scheduled search XML parse error?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-resolved-this-scheduled-search-XML-parse-error/m-p/344510#M22420</link>
      <description>&lt;P&gt;When you go back and run the extract across that same time frame, do you get the same error message?  If so, then the problem is a malformed JSON/XML construct.  Run the following across one of the failing time periods to find the culprit.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=os sourcetype=cpu "*]]&amp;gt;*" |head 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 21 Sep 2017 15:51:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-resolved-this-scheduled-search-XML-parse-error/m-p/344510#M22420</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-09-21T15:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I resolved this scheduled search XML parse error?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-resolved-this-scheduled-search-XML-parse-error/m-p/344511#M22421</link>
      <description>&lt;P&gt;Thanks DalJeanis. I do see result via Splunk Ui for same timeframe.&lt;/P&gt;</description>
      <pubDate>Thu, 21 Sep 2017 18:06:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-resolved-this-scheduled-search-XML-parse-error/m-p/344511#M22421</guid>
      <dc:creator>KrisAbhishek</dc:creator>
      <dc:date>2017-09-21T18:06:42Z</dc:date>
    </item>
  </channel>
</rss>

