<?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: data ingestion for xml in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651954#M110710</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am having trouble with ingesting my data into Splunk consistently. I have an&amp;nbsp;&lt;SPAN&gt;XML log file that is constantly being written into (about 100 entry per minute) however,&amp;nbsp; when I search for the data in Splunk I am only seeing sporadic results of the data in Splunk where I see results for 10 minutes then nothing for the next 20 and so on and so forth .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have my inputs and props config below.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;inputs config:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[monitor:///var/log/sample_xml_file.xml]&lt;BR /&gt;disabled = false&lt;BR /&gt;index = sample_xml_index&lt;BR /&gt;sourcetype= sample_xml_st&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;props.conf:&lt;/P&gt;&lt;P&gt;---------------------&lt;/P&gt;&lt;P&gt;[ sample_xml_st ]&lt;BR /&gt;CHARSET=UTF-8&lt;BR /&gt;KV_MODE=xml&lt;BR /&gt;LINE_BREAKER=(&amp;lt;log_entry&amp;gt;)&lt;BR /&gt;NO_BINARY_CHECK=true&lt;BR /&gt;SHOULD_LINEMERGE=FALSE&lt;BR /&gt;TIME_FORMAT=%Y%m%d-%H:%M:%S&lt;BR /&gt;TIME_PREFIX=&amp;lt;log_time&amp;gt;&lt;BR /&gt;TRUNCATE=0&lt;BR /&gt;description=describing props config&lt;BR /&gt;disabled=false&lt;BR /&gt;pulldown_type=1&lt;BR /&gt;TZ=-05:00&lt;BR /&gt;&lt;BR /&gt;---------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sample xml log:&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;BR /&gt;&amp;lt;log&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;log_entry&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;log_time&amp;gt;20230724-05:42:00&amp;lt;/log_time&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;description&amp;gt;some random data 1&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/log_entry&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;log_entry&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;log_time&amp;gt;20230724-05:43:00&amp;lt;/log_time&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;description&amp;gt;some random data 2&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/log_entry&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;log_entry&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;log_time&amp;gt;20230724-05:43:20&amp;lt;/log_time&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;description&amp;gt;some random data 3&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/log_entry&amp;gt;&lt;BR /&gt;&amp;lt;/log&amp;gt;&lt;BR /&gt;&lt;BR /&gt;And this xml log file gets constantly written into with the a new log_entry&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 25 Jul 2023 17:12:30 GMT</pubDate>
    <dc:creator>Strangertinz</dc:creator>
    <dc:date>2023-07-25T17:12:30Z</dc:date>
    <item>
      <title>What is causing issue with data ingestion for xml?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651794#M110687</link>
      <description>&lt;P&gt;Hi community,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I have an issue where I am ingesting some xml data but the data coming in is very sporadic. Any idea what could be causing this issue?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 17:21:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651794#M110687</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-07-25T17:21:52Z</dc:date>
    </item>
    <item>
      <title>Re: data ingestion for xml</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651795#M110688</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256709"&gt;@Strangertinz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;your information are too poor to try to help you, could you share more datails about your issue?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 18:48:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651795#M110688</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-07-24T18:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: data ingestion for xml</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651797#M110689</link>
      <description>&lt;P&gt;How is the data getting from the source to Splunk?&lt;/P&gt;&lt;P&gt;Make sure your data is valid XML as Splunk will not parse invalid XML or events that partially XML.&lt;/P&gt;&lt;P&gt;Please share your inputs.conf and related props.conf setttings.&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 18:54:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651797#M110689</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-07-24T18:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: data ingestion for xml</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651798#M110690</link>
      <description>&lt;P&gt;So I have a XML log file that is constantly being written into (about 100 entry per minute) however,&amp;nbsp; when I search for the data in Splunk I am only seeing sporadic results of the data in Splunk where I see results for 10 minutes then nothing for the next 20 and so on and so forth&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 19:02:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651798#M110690</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-07-24T19:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: data ingestion for xml</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651799#M110691</link>
      <description>&lt;P&gt;The data is being parse correctly and the data is being ingested through a UF&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 19:03:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651799#M110691</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-07-24T19:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: data ingestion for xml</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651800#M110692</link>
      <description>&lt;P&gt;Please share the inputs.conf and related props.conf settings for the file.&lt;/P&gt;&lt;P&gt;When data is not received are the events lost or delayed?&lt;/P&gt;&lt;P&gt;What is the query you're using to find the events?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jul 2023 19:27:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651800#M110692</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-07-24T19:27:11Z</dc:date>
    </item>
    <item>
      <title>Re: data ingestion for xml</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651954#M110710</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I am having trouble with ingesting my data into Splunk consistently. I have an&amp;nbsp;&lt;SPAN&gt;XML log file that is constantly being written into (about 100 entry per minute) however,&amp;nbsp; when I search for the data in Splunk I am only seeing sporadic results of the data in Splunk where I see results for 10 minutes then nothing for the next 20 and so on and so forth .&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have my inputs and props config below.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;inputs config:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;[monitor:///var/log/sample_xml_file.xml]&lt;BR /&gt;disabled = false&lt;BR /&gt;index = sample_xml_index&lt;BR /&gt;sourcetype= sample_xml_st&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;props.conf:&lt;/P&gt;&lt;P&gt;---------------------&lt;/P&gt;&lt;P&gt;[ sample_xml_st ]&lt;BR /&gt;CHARSET=UTF-8&lt;BR /&gt;KV_MODE=xml&lt;BR /&gt;LINE_BREAKER=(&amp;lt;log_entry&amp;gt;)&lt;BR /&gt;NO_BINARY_CHECK=true&lt;BR /&gt;SHOULD_LINEMERGE=FALSE&lt;BR /&gt;TIME_FORMAT=%Y%m%d-%H:%M:%S&lt;BR /&gt;TIME_PREFIX=&amp;lt;log_time&amp;gt;&lt;BR /&gt;TRUNCATE=0&lt;BR /&gt;description=describing props config&lt;BR /&gt;disabled=false&lt;BR /&gt;pulldown_type=1&lt;BR /&gt;TZ=-05:00&lt;BR /&gt;&lt;BR /&gt;---------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sample xml log:&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8" ?&amp;gt;&lt;BR /&gt;&amp;lt;log&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;log_entry&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;log_time&amp;gt;20230724-05:42:00&amp;lt;/log_time&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;description&amp;gt;some random data 1&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/log_entry&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;log_entry&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;log_time&amp;gt;20230724-05:43:00&amp;lt;/log_time&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;description&amp;gt;some random data 2&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/log_entry&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;log_entry&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;log_time&amp;gt;20230724-05:43:20&amp;lt;/log_time&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;description&amp;gt;some random data 3&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;lt;/log_entry&amp;gt;&lt;BR /&gt;&amp;lt;/log&amp;gt;&lt;BR /&gt;&lt;BR /&gt;And this xml log file gets constantly written into with the a new log_entry&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 17:12:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651954#M110710</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-07-25T17:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: data ingestion for xml</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651962#M110711</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256709"&gt;@Strangertinz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;don't use KV-Mode = XML, but INDEXED_EXTRACTIONS=xml in props.conf:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[ sample_xml_st ]
CHARSET=UTF-8
KV_MODE=none
INDEXED_EXTRACTIONS = XML
LINE_BREAKER=(&amp;lt;log_entry&amp;gt;)
NO_BINARY_CHECK=true
SHOULD_LINEMERGE=true
TIME_FORMAT=%Y%m%d-%H:%M:%S
TIME_PREFIX=&amp;lt;log_time&amp;gt;
TRUNCATE=0
description=describing props config
disabled=false
pulldown_type=1
TZ=-05:00&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 18:07:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651962#M110711</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-07-25T18:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: data ingestion for xml</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651967#M110712</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you suggesting that the KV_MODE=XML setting is causing the data to come in sporadically?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 18:17:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651967#M110712</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-07-25T18:17:35Z</dc:date>
    </item>
    <item>
      <title>Re: data ingestion for xml</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651973#M110713</link>
      <description>&lt;P&gt;A still-unanswered question is how you determine the events arrive sporadically.&amp;nbsp; What SPL are you using to determine that?&amp;nbsp; Have you verified events are not concatenated (which would explain some of the apparently sporadic behavior)?&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 18:25:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651973#M110713</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2023-07-25T18:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: data ingestion for xml</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651979#M110714</link>
      <description>&lt;P&gt;I am searching the data with the right index and sourcetype in my SPL and comparing the results with the data that is being written to the log file on the host. I see data for last 15 minutes, and then I don't for another 10 or so minutes when I can still observe the log file being written into per minute..but not at the same rate in Splunk.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 25 Jul 2023 19:14:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/651979#M110714</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-07-25T19:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: data ingestion for xml</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/652092#M110736</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256709"&gt;@Strangertinz&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I usually use INDEXED_EXTRACTIONS and not KV-Mode.&lt;/P&gt;&lt;P&gt;then if you hav SHOULD_LINEMERGE=false you have an event for each row, maybe this is the issue.&lt;/P&gt;&lt;P&gt;Try my configuration.&lt;/P&gt;&lt;P&gt;Then, as&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;is asking: how did you find that events are sporadically?&lt;/P&gt;&lt;P&gt;then have y9u multiline events or single line events? they should be multiline but with&amp;nbsp;SHOULD_LINEMERGE=false you have single line events.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jul 2023 15:43:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-is-causing-issue-with-data-ingestion-for-xml/m-p/652092#M110736</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-07-26T15:43:48Z</dc:date>
    </item>
  </channel>
</rss>

