<?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 Re: Is there a better way to parse DTS Compliant IAS logs (xml format)? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/131460#M27024</link>
    <description>&lt;P&gt;Did you ever resolve this? I have the same issue, despite putting KV_MODE=xml on both UF and indexer, the events do not get parsed as XML, but if you do a search time parse it works perfectly...&lt;/P&gt;</description>
    <pubDate>Thu, 23 Jan 2020 10:25:44 GMT</pubDate>
    <dc:creator>microwavelunch1</dc:creator>
    <dc:date>2020-01-23T10:25:44Z</dc:date>
    <item>
      <title>Is there a better way to parse DTS Compliant IAS logs (xml format)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/131458#M27022</link>
      <description>&lt;P&gt;DTS Compliant IAS logs are IAS logs wrapped in XML. Additional info: &lt;A href="http://technet.microsoft.com/en-us/library/cc771748(v=ws.10).asp"&gt;http://technet.microsoft.com/en-us/library/cc771748(v=ws.10).asp&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I can extract field names at search time with &lt;CODE&gt;|xmlkv&lt;/CODE&gt; but I that's not permanent. I've tried putting &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;KV_MODE=xml
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;into props.conf a few different ways and confirmed with btool, but apparently this format isn't true xml so splunk is ignoring it. Any suggestions? Here's a sample event:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;Timestamp data_type="4"&amp;gt;12/22/2009 15:06:56.609&amp;lt;/Timestamp&amp;gt; 
                &amp;lt;Computer-Name data_type="1"&amp;gt;NAP-IAS2&amp;lt;/Computer-Name&amp;gt;
                &amp;lt;Event-Source data_type="1"&amp;gt;IAS&amp;lt;/Event-Source&amp;gt;
                &amp;lt;Acct-Session-Id data_type="2"&amp;gt;B3BA359F48CEDE4E9F78E5B3158F3B877E744D735B83CA01&amp;lt;/Acct-Session-Id&amp;gt;
                &amp;lt;Class data_type="1"&amp;gt;311 1 2001:4898:b0:3007:492e:957a:d44d:7093 12/16/2009 04:32:04 145361&amp;lt;/Class&amp;gt;
                &amp;lt;MS-Extended-Quarantine-State data_type="0"&amp;gt;0&amp;lt;/MS-Extended-Quarantine-State&amp;gt;
                &amp;lt;MS-Quarantine-State data_type="0"&amp;gt;0&amp;lt;/MS-Quarantine-State&amp;gt;
                &amp;lt;Client-IPv6-Address data_type="5"&amp;gt;2001:4898:b0:3007:6cc0:9514:d2ff:cdcf&amp;lt;/Client-IPv6-Address&amp;gt;
                &amp;lt;Client-Vendor data_type="0"&amp;gt;0&amp;lt;/Client-Vendor&amp;gt;
                &amp;lt;Client-Friendly-Name data_type="1"&amp;gt;NAP-HRA2&amp;lt;/Client-Friendly-Name&amp;gt;
                &amp;lt;Proxy-Policy-Name data_type="1"&amp;gt;HRA&amp;lt;/Proxy-Policy-Name&amp;gt;
                &amp;lt;Provider-Type data_type="0"&amp;gt;1&amp;lt;/Provider-Type&amp;gt;
                &amp;lt;Quarantine-Session-Id data_type="1"&amp;gt;{9F35BAB3-CE48-4EDE-9F78-E5B3158F3B87} - 2009-12-22 23:06:53.319Z&amp;lt;/Quarantine-Session-Id&amp;gt;
                &amp;lt;Machine-Inventory data_type="1"&amp;gt;6.1.7600 0.0 x86 Workstation&amp;lt;/Machine-Inventory&amp;gt;
                &amp;lt;Fully-Qualified-Machine-Name data_type="1"&amp;gt;CONTOSO\CLIENT1&amp;lt;/Fully-Qualified-Machine-Name&amp;gt;
                &amp;lt;Authentication-Type data_type="0"&amp;gt;7&amp;lt;/Authentication-Type&amp;gt;
                &amp;lt;System-Health-Result data_type="1"&amp;gt;Windows Security Health Validator:Compliant:No Data:None[]:(0x0 - ):(0x0 - ):(0x0 - ):(0x0 - ):(0x0 - ):(0x0 - ):(0x0 - ):(0x0 - )&amp;lt;/System-Health-Result&amp;gt;
                &amp;lt;System-Health-ResultEx data_type="1"&amp;gt;
                                &amp;lt;SHV-Name data_type="1"&amp;gt;Windows Security Health Validator&amp;lt;/SHV-Name&amp;gt;
                                &amp;lt;Config-ID data_type="0"&amp;gt;0&amp;lt;/Config-ID&amp;gt;
                                &amp;lt;Config-Friendly-Name data_type="1"&amp;gt;&amp;lt;/Config-Friendly-Name&amp;gt;
                                &amp;lt;Health-Result data_type="1"&amp;gt;Compliant&amp;lt;/Health-Result&amp;gt;
                                &amp;lt;Extended-Isolation-State data_type="1"&amp;gt;No Data&amp;lt;/Extended-Isolation-State&amp;gt;
                                &amp;lt;Failure-Category data_type="1"&amp;gt;None&amp;lt;/Failure-Category&amp;gt;
                                &amp;lt;Failure-Category-String data_type="1"&amp;gt;&amp;lt;/Failure-Category-String&amp;gt;
                                &amp;lt;Compliance-Results data_type="1"&amp;gt;&amp;lt;/Compliance-Results&amp;gt;
                &amp;lt;/System-Health-ResultEx&amp;gt;
                &amp;lt;NP-Policy-Name data_type="1"&amp;gt;ias2-HRA-NAPSTIR-Red-Compliant&amp;lt;/NP-Policy-Name&amp;gt;
                &amp;lt;Quarantine-Update-Non-Compliant data_type="0"&amp;gt;0&amp;lt;/Quarantine-Update-Non-Compliant&amp;gt;
                &amp;lt;Framed-Protocol data_type="0"&amp;gt;1&amp;lt;/Framed-Protocol&amp;gt;
                &amp;lt;Service-Type data_type="0"&amp;gt;2&amp;lt;/Service-Type&amp;gt;
                &amp;lt;Packet-Type data_type="0"&amp;gt;2&amp;lt;/Packet-Type&amp;gt;
                &amp;lt;Reason-Code data_type="0"&amp;gt;0&amp;lt;/Reason-Code&amp;gt;
&amp;lt;/Event&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 18 Sep 2014 21:05:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/131458#M27022</guid>
      <dc:creator>pjaguilarjr</dc:creator>
      <dc:date>2014-09-18T21:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a better way to parse DTS Compliant IAS logs (xml format)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/131459#M27023</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have checked this setting in props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[DTS_Compliant_IAS]
BREAK_ONLY_BEFORE = &amp;lt;Event&amp;gt;
NO_BINARY_CHECK = 1
TIME_FORMAT = %m/%d/%Y %H:%M:%S.%3N
TIME_PREFIX = &amp;lt;Timestamp data_type="4"&amp;gt;
pulldown_type = 1
KV_MODE=xml
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Additionally, your example is missing the opening  tag, so I have added this to the test log.&lt;/P&gt;

&lt;P&gt;Using this settings the search for &lt;CODE&gt;sourcetype=DTS_Compliant_IAS&lt;/CODE&gt; extracts all fields for me.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Nov 2014 05:34:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/131459#M27023</guid>
      <dc:creator>norbert_hamel</dc:creator>
      <dc:date>2014-11-05T05:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a better way to parse DTS Compliant IAS logs (xml format)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/131460#M27024</link>
      <description>&lt;P&gt;Did you ever resolve this? I have the same issue, despite putting KV_MODE=xml on both UF and indexer, the events do not get parsed as XML, but if you do a search time parse it works perfectly...&lt;/P&gt;</description>
      <pubDate>Thu, 23 Jan 2020 10:25:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/131460#M27024</guid>
      <dc:creator>microwavelunch1</dc:creator>
      <dc:date>2020-01-23T10:25:44Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a better way to parse DTS Compliant IAS logs (xml format)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/515610#M87304</link>
      <description>&lt;P&gt;I'm seeing the same thing.&amp;nbsp;&lt;/P&gt;&lt;P&gt;props.conf looks like.&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[DTS_Compliant_IAS]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;BREAK_ONLY_BEFORE&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&amp;lt;Event&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;NO_BINARY_CHECK&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TIME_FORMAT&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;%m/%d/%Y&amp;nbsp;%H:%M:%S.%3N&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;TIME_PREFIX&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;&amp;lt;Timestamp&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;data_type&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"4"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;pulldown_type&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;1&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;KV_MODE&lt;/SPAN&gt;&lt;SPAN&gt;=xml&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;inputs.conf looks like&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;[monitor://C:\Windows\System32\LogFiles\IN*.log]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;sourcetype&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;DTS_Compliant_IAS&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;index&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;radius&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;disabled&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;=&amp;nbsp;0&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;If I search with |xmlkv my field are extracted, same as original poster. Otherwise, it's just the full xml string.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 23 Aug 2020 04:34:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/515610#M87304</guid>
      <dc:creator>hburton</dc:creator>
      <dc:date>2020-08-23T04:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a better way to parse DTS Compliant IAS logs (xml format)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/515630#M87308</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;you should use KV_MODE on search time extractions and INDEXED_EXTRACTIONS on index time extractions.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.3/Admin/Propsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.3/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Sun, 23 Aug 2020 10:28:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/515630#M87308</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-08-23T10:28:41Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a better way to parse DTS Compliant IAS logs (xml format)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/515643#M87309</link>
      <description>&lt;P&gt;Thank you soutamo.&lt;/P&gt;&lt;P&gt;Edited Reply:&lt;/P&gt;&lt;P&gt;Now that I know the difference (thanks again. I'm brand new here) I see that it doesn't I considered writing a small python file monitor to convert the xml to json, and I may do that, but it looks like the Splunk proper way to do it is to use the KV_MODE=xml on a config file at the search head. We are using Cloud as our search head, so I don't know how to access my props.conf. Is there a way to do the same thing in settings somehow?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 23 Aug 2020 14:10:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/515643#M87309</guid>
      <dc:creator>hburton</dc:creator>
      <dc:date>2020-08-23T14:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a better way to parse DTS Compliant IAS logs (xml format)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/515648#M87310</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;especially in cloud environment you must have your own test environment for do data on boarding tests. Install free version and use trial license or request developer license from Splunk. After you have do your tests successfully you should create apps for those props.conf etc and do service request to Splunk to install that app to your Splunk cloud environment. There are instructions how you show create that app etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;But as I said, you must have your own test instance where you develop these before you could add those to cloud.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Sun, 23 Aug 2020 14:29:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/515648#M87310</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-08-23T14:29:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a better way to parse DTS Compliant IAS logs (xml format)?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/539304#M90350</link>
      <description>&lt;P&gt;You need to add&amp;nbsp;&lt;SPAN&gt;KV_MODE=xml&amp;nbsp; in props.conf on your search head. This is a search time field extraction configuration.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2021 14:06:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-better-way-to-parse-DTS-Compliant-IAS-logs-xml-format/m-p/539304#M90350</guid>
      <dc:creator>SplunkerPaul</dc:creator>
      <dc:date>2021-02-10T14:06:25Z</dc:date>
    </item>
  </channel>
</rss>

