<?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 Field extraction is working for one server but not for other by defining stanzas in props.conf. in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-is-working-for-one-server-but-not-for-other-by/m-p/409205#M118052</link>
    <description>&lt;P&gt;I added the data into Splunk  after changing the configuration  in props.conf for breaking the event  as per the need and for extracting the fields from xml data.&lt;/P&gt;

&lt;P&gt;props.conf:-&lt;BR /&gt;
[VTLservice]&lt;BR /&gt;
DATETIME_CONFIG = CURRENT&lt;BR /&gt;
KV_MODE = xml&lt;BR /&gt;
LINE_BREAKER = ()&lt;BR /&gt;
MUST_BREAK_AFTER = \&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
category = Custom&lt;BR /&gt;
disabled = false&lt;BR /&gt;
pulldown_type = true&lt;/P&gt;

&lt;P&gt;inputs.conf:-&lt;BR /&gt;
[rest://https:///storeonceservices/cluster/servicesets/1/services/vtl/libraries/&lt;EM&gt;all&lt;/EM&gt;]&lt;BR /&gt;
activation_key = 3C3FA5F032624FA3CAD44F2D37F87A8B&lt;BR /&gt;
auth_password = password&lt;BR /&gt;
auth_type = basic&lt;BR /&gt;
auth_user = user&lt;BR /&gt;
endpoint = https:///storeonceservices/cluster/servicesets/1/services/vtl/libraries/&lt;EM&gt;all&lt;/EM&gt;&lt;BR /&gt;
host = &lt;BR /&gt;
http_method = GET&lt;BR /&gt;
index = storeoncedata&lt;BR /&gt;
index_error_response_codes = 0&lt;BR /&gt;
polling_interval = 3600&lt;BR /&gt;
response_type = xml&lt;BR /&gt;
sequential_mode = 0&lt;BR /&gt;
sourcetype = VTLservice&lt;BR /&gt;
streaming_request = 0&lt;BR /&gt;
url_args = media=xml&lt;/P&gt;

&lt;P&gt;There was no problem on that particular instance .&lt;/P&gt;

&lt;P&gt;But when i tried performing the same approach on another server,the events were breaking properly but fields were not  getting extracted as before. So what could be the reason and solution for this.&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 00:49:28 GMT</pubDate>
    <dc:creator>setiad</dc:creator>
    <dc:date>2020-09-30T00:49:28Z</dc:date>
    <item>
      <title>Field extraction is working for one server but not for other by defining stanzas in props.conf.</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Field-extraction-is-working-for-one-server-but-not-for-other-by/m-p/409205#M118052</link>
      <description>&lt;P&gt;I added the data into Splunk  after changing the configuration  in props.conf for breaking the event  as per the need and for extracting the fields from xml data.&lt;/P&gt;

&lt;P&gt;props.conf:-&lt;BR /&gt;
[VTLservice]&lt;BR /&gt;
DATETIME_CONFIG = CURRENT&lt;BR /&gt;
KV_MODE = xml&lt;BR /&gt;
LINE_BREAKER = ()&lt;BR /&gt;
MUST_BREAK_AFTER = \&lt;BR /&gt;
NO_BINARY_CHECK = true&lt;BR /&gt;
SHOULD_LINEMERGE = false&lt;BR /&gt;
TRUNCATE = 0&lt;BR /&gt;
category = Custom&lt;BR /&gt;
disabled = false&lt;BR /&gt;
pulldown_type = true&lt;/P&gt;

&lt;P&gt;inputs.conf:-&lt;BR /&gt;
[rest://https:///storeonceservices/cluster/servicesets/1/services/vtl/libraries/&lt;EM&gt;all&lt;/EM&gt;]&lt;BR /&gt;
activation_key = 3C3FA5F032624FA3CAD44F2D37F87A8B&lt;BR /&gt;
auth_password = password&lt;BR /&gt;
auth_type = basic&lt;BR /&gt;
auth_user = user&lt;BR /&gt;
endpoint = https:///storeonceservices/cluster/servicesets/1/services/vtl/libraries/&lt;EM&gt;all&lt;/EM&gt;&lt;BR /&gt;
host = &lt;BR /&gt;
http_method = GET&lt;BR /&gt;
index = storeoncedata&lt;BR /&gt;
index_error_response_codes = 0&lt;BR /&gt;
polling_interval = 3600&lt;BR /&gt;
response_type = xml&lt;BR /&gt;
sequential_mode = 0&lt;BR /&gt;
sourcetype = VTLservice&lt;BR /&gt;
streaming_request = 0&lt;BR /&gt;
url_args = media=xml&lt;/P&gt;

&lt;P&gt;There was no problem on that particular instance .&lt;/P&gt;

&lt;P&gt;But when i tried performing the same approach on another server,the events were breaking properly but fields were not  getting extracted as before. So what could be the reason and solution for this.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:49:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Field-extraction-is-working-for-one-server-but-not-for-other-by/m-p/409205#M118052</guid>
      <dc:creator>setiad</dc:creator>
      <dc:date>2020-09-30T00:49:28Z</dc:date>
    </item>
  </channel>
</rss>

