<?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: Can someone help me parse this XML into Splunk on the backend? Also should I add this to the props.config in my Deployment Server or my Search Head Deployer? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361462#M65920</link>
    <description>&lt;P&gt;This will defiantly fix your issue. Make sure to restart splunkd after making changes to &lt;CODE&gt;props.conf&lt;/CODE&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Mar 2017 16:33:28 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2017-03-20T16:33:28Z</dc:date>
    <item>
      <title>Can someone help me parse this XML into Splunk on the backend? Also should I add this to the props.config in my Deployment Server or my Search Head Deployer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361459#M65917</link>
      <description>&lt;P&gt;Here is what I have tried and it is not working:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Edit the local/inputs.conf file and add this:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///directory/*.xml]
sourcetype = panorama:api:templates
index =  qt_palo
crcSalt = Belton Palo-Templates
alwaysOpenFile = 1
disabled = false

[monitor:///directory/*.xml]
sourcetype = panorama:api:templates
index =  qt_palo
crcSalt = Tulsa Palo-Templates
alwaysOpenFile = 1
disabled = false

[monitor:///directory/*.xml]
sourcetype = panorama:api:devicegroups
index =  qt_palo
crcSalt = Belton Palo-Templates
alwaysOpenFile = 1
disabled = false

[monitor:///directory/*.xml]
sourcetype = panorama:api:devicegroups
index =  qt_palo
crcSalt =  Belton Palo-Device Groups
alwaysOpenFile = 1
disabled = false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;Create a local/props.conf file and add this:&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[panorama:api:templates]
EXTRACT-Status = (?i)&amp;lt;response status&amp;gt;(?P&amp;lt;Status&amp;gt;[^&amp;lt;]+)
EXTRACT-Name = (?i)&amp;lt;entry name&amp;gt;(?P&amp;lt;Name&amp;gt;[^&amp;lt;]+)
EXTRACT-TemplateStack = (?i)&amp;lt;template-stack&amp;gt;(?P&amp;lt;TemplateStack&amp;gt;[^&amp;lt;]+)
EXTRACT-EntryName = (?i)&amp;lt;entry name&amp;gt;(?P&amp;lt;EntryName&amp;gt;[^&amp;lt;]+)
EXTRACT-Serial = (?i)&amp;lt;serial&amp;gt;(?P&amp;lt;Serial&amp;gt;[^&amp;lt;]+)
EXTRACT-Connected = (?i)&amp;lt;connected&amp;gt;(?P&amp;lt;Connected&amp;gt;[^&amp;lt;]+)
EXTRACT-UnsupportedVersion = (?i)&amp;lt;unsupported-version&amp;gt;(?P&amp;lt;UnsupportedVersion&amp;gt;[^&amp;lt;]+)
EXTRACT-LastCommitAllStateTPL = (?i)&amp;lt;last-commit-all-state-tpl&amp;gt;(?P&amp;lt;LastCommitAllStateTPL&amp;gt;[^&amp;lt;]+)
EXTRACT-LastValidateAllStateTPL= (?i)&amp;lt;last-validate-all-state-tpl&amp;gt;(?P&amp;lt;LastValidateAllStateTPL&amp;gt;[^&amp;lt;]+)


EXTRACT-Connected = (?i)&amp;lt;XMLtagInRawEvent1&amp;gt;(?P&amp;lt;YourXMLExtractionName1&amp;gt;[^&amp;lt;]+)
EXTRACT-Connected = (?i)&amp;lt;XMLtagInRawEvent1&amp;gt;(?P&amp;lt;YourXMLExtractionName1&amp;gt;[^&amp;lt;]+)
EXTRACT-Connected = (?i)&amp;lt;XMLtagInRawEvent1&amp;gt;(?P&amp;lt;YourXMLExtractionName1&amp;gt;[^&amp;lt;]+)
EXTRACT-Connected = (?i)&amp;lt;XMLtagInRawEvent1&amp;gt;(?P&amp;lt;YourXMLExtractionName1&amp;gt;[^&amp;lt;]+)
EXTRACT-Connected = (?i)&amp;lt;XMLtagInRawEvent1&amp;gt;(?P&amp;lt;YourXMLExtractionName1&amp;gt;[^&amp;lt;]+)
EXTRACT-Connected = (?i)&amp;lt;XMLtagInRawEvent1&amp;gt;(?P&amp;lt;YourXMLExtractionName1&amp;gt;[^&amp;lt;]+)
EXTRACT-Connected = (?i)&amp;lt;XMLtagInRawEvent1&amp;gt;(?P&amp;lt;YourXMLExtractionName1&amp;gt;[^&amp;lt;]+)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 Mar 2017 14:08:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361459#M65917</guid>
      <dc:creator>rshoun</dc:creator>
      <dc:date>2017-03-20T14:08:47Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me parse this XML into Splunk on the backend? Also should I add this to the props.config in my Deployment Server or my Search Head Deployer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361460#M65918</link>
      <description>&lt;P&gt;Are you having issues parsing the XML file? If so you need to include &lt;CODE&gt;KV_MODE =1&lt;/CODE&gt; in your &lt;CODE&gt;props.conf&lt;/CODE&gt; on the indexer(s)&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 16:12:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361460#M65918</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-03-20T16:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me parse this XML into Splunk on the backend? Also should I add this to the props.config in my Deployment Server or my Search Head Deployer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361461#M65919</link>
      <description>&lt;P&gt;I was wondering if that was the problem! Let me try the KV_MODE =1 and then I will see if that corrects the issue. Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 16:22:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361461#M65919</guid>
      <dc:creator>rshoun</dc:creator>
      <dc:date>2017-03-20T16:22:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me parse this XML into Splunk on the backend? Also should I add this to the props.config in my Deployment Server or my Search Head Deployer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361462#M65920</link>
      <description>&lt;P&gt;This will defiantly fix your issue. Make sure to restart splunkd after making changes to &lt;CODE&gt;props.conf&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 16:33:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361462#M65920</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-03-20T16:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me parse this XML into Splunk on the backend? Also should I add this to the props.config in my Deployment Server or my Search Head Deployer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361463#M65921</link>
      <description>&lt;P&gt;Dang it. I knew a restart was going to be necessary. Should I restart all places where my props.conf and inputs.config are located as well or just the place where the index KV_MODE =1 will be applied?&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 17:01:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361463#M65921</guid>
      <dc:creator>rshoun</dc:creator>
      <dc:date>2017-03-20T17:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me parse this XML into Splunk on the backend? Also should I add this to the props.config in my Deployment Server or my Search Head Deployer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361464#M65922</link>
      <description>&lt;P&gt;Yeah change management is tough to get around.. You should restart splunkd on every indexer you made changes to (You  shouldn't have to make changes to inputs.conf on the indexer) &lt;/P&gt;

&lt;P&gt;How many search peers are in your index cluster? I would strongly recommend testing this in a dev environment and verify it's working before making changes in production. You could download Splunk on your local machine, apply your props.conf changes and restart splunkd to verify the correct changes applied.  &lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 17:07:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361464#M65922</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-03-20T17:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me parse this XML into Splunk on the backend? Also should I add this to the props.config in my Deployment Server or my Search Head Deployer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361465#M65923</link>
      <description>&lt;P&gt;One thing to note here. Your deployment server will make changes to your forwarders while the deployer will make changes to your search head members in the cluster. Neither of these are responsible for parsing the data, you will need to make changes to your indexer(s) (aka search peers).. If your in an index cluster then you will make changes on the &lt;CODE&gt;Master Node&lt;/CODE&gt; (aka the cluster master). These changes then will take affect on each search peer&lt;/P&gt;

&lt;P&gt;To do this, you need to edit &lt;CODE&gt;props.conf&lt;/CODE&gt; in &lt;CODE&gt;$SPLUNK_HOME/etc/master-apps/_cluster/local/props.conf&lt;/CODE&gt; on master and push cluster-bundle with command 'splunk apply cluster-bundle'. Peers will restart and &lt;CODE&gt;props.conf&lt;/CODE&gt;, in &lt;CODE&gt;$SPLUNK_HOME/etc/slave-apps/_cluster/local/props.conf&lt;/CODE&gt;, will be layered when splunkd start.&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 17:27:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361465#M65923</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-03-20T17:27:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me parse this XML into Splunk on the backend? Also should I add this to the props.config in my Deployment Server or my Search Head Deployer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361466#M65924</link>
      <description>&lt;P&gt;We have 7 search peers in our index cluster, if you count the index cluster master. The dev environment idea is actually a really good idea. I will see if I can get my team on board with this. I absolutely agree with the dev environment idea but not everyone will always understand the logical need for this. In the meantime, your idea of doing of local Splunk download is actually a really good idea! Thank you for your help! &lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 18:37:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361466#M65924</guid>
      <dc:creator>rshoun</dc:creator>
      <dc:date>2017-03-20T18:37:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me parse this XML into Splunk on the backend? Also should I add this to the props.config in my Deployment Server or my Search Head Deployer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361467#M65925</link>
      <description>&lt;P&gt;Wow, you have been an outstanding resource! I will do this! Thank you sooo much for adding this extra content! &lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 18:39:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361467#M65925</guid>
      <dc:creator>rshoun</dc:creator>
      <dc:date>2017-03-20T18:39:11Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me parse this XML into Splunk on the backend? Also should I add this to the props.config in my Deployment Server or my Search Head Deployer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361468#M65926</link>
      <description>&lt;P&gt;I just thought of something, will I need to add all of my XML (all the code above: ie: "[monitor:", etc. - all my XML extracted fields) to the props.conf &lt;STRONG&gt;Master Node&lt;/STRONG&gt; Indexer as well? Or I just need to add the KV_MODE =1 to my Master indexer correct? I should not need to add everything else here or am I wrong? (Please let me know if my question does not make sense to you.)&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 19:33:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361468#M65926</guid>
      <dc:creator>rshoun</dc:creator>
      <dc:date>2017-03-20T19:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me parse this XML into Splunk on the backend? Also should I add this to the props.config in my Deployment Server or my Search Head Deployer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361469#M65927</link>
      <description>&lt;P&gt;It should auto-extract most of the fields without having to explicitly extract them, but yes you just need to apply &lt;CODE&gt;KV_MODE = 1&lt;/CODE&gt; to your master node and it will apply those config settings to all of your search peers. If the fields aren't auto-extracted then you can apply these extractions to &lt;CODE&gt;$SPLUNK_HOME/etc/master-apps/_cluster/local/props.conf&lt;/CODE&gt; and push it out to all your search peers. If you pushed this out to only 1 indexer then only 1 indexer will have these fields available which will give bad data output&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 19:39:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361469#M65927</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2017-03-20T19:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone help me parse this XML into Splunk on the backend? Also should I add this to the props.config in my Deployment Server or my Search Head Deployer?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361470#M65928</link>
      <description>&lt;P&gt;Oh okay! That makes more sense! Geeze, I am really glad you are here! Thank you so much!&lt;/P&gt;</description>
      <pubDate>Mon, 20 Mar 2017 19:41:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Can-someone-help-me-parse-this-XML-into-Splunk-on-the-backend/m-p/361470#M65928</guid>
      <dc:creator>rshoun</dc:creator>
      <dc:date>2017-03-20T19:41:33Z</dc:date>
    </item>
  </channel>
</rss>

