Getting Data In

Splunk forwarder unable to fetch file starting with <?xml version='1.1' encoding='UTF-8'?>

sdebasi
Loves-to-Learn Lots

I have set my forwarder to fetch data from jenkins jobs folder, 

It fetches all the files excpt build.xml which has content as shown below:

<?xml version='1.1' encoding='UTF-8'?>
<build>
<actions>
<hudson.model.CauseAction>
<causeBag class="linked-hash-map">
<entry>
<hudson.model.Cause_-UserIdCause>
<userId>xxxx</userId>
</hudson.model.Cause_-UserIdCause>
<int>1</int>
</entry>
</causeBag>
</hudson.model.CauseAction>
</actions>
<queueId>103</queueId>
<timestamp>1609965592275</timestamp>
<startTime>1609965592280</startTime>
<result>SUCCESS</result>
<description>&lt;table cellpadding=&apos;4&apos; cellspacing=&apos;2&apos; bgcolor=&apos;#517cc1&apos;&gt;&lt;tr bgcolor=&apos;#FFFFFF&apos;&gt;&lt;td&gt;Build&lt;/td&gt;&lt;td&gt;6312&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor=&apos;#FFFFFF&apos;&gt;&lt;td&gt;Build status&lt;/td&gt;&lt;td&gt;&lt;font color=&apos;green&apos;&gt;PASSED&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor=&apos;#FFFFFF&apos;&gt;&lt;td&gt;Target Branch&lt;/td&gt;&lt;td&gt;c2c&lt;/td&gt;&lt;/tr&gt;&lt;tr bgcolor=&apos;#FFFFFF&apos;&gt;&lt;td&gt;Source Branch&lt;/td&gt;&lt;td&gt;hwwang_AOS-214546&lt;/td&gt;&lt;/tr&gt;&lt;tr bgc

......

How to get the build.xml file parsed

Labels (1)
0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!