<?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 Python SDK [list of inputs in input.conf] in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Python-SDK-list-of-inputs-in-input-conf/m-p/480993#M82465</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;i have 40 inputs [type: monitor] configured in one inputs.conf. Let's call them 001, 002, 003, .... 040&lt;/P&gt;

&lt;P&gt;i'm using python sdk to  list all available inputs which are configured in inputs.conf file.&lt;/P&gt;

&lt;P&gt;As splunk documentation describes i'm using :&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;for item in inputs:&lt;BR /&gt;
    print ("%s (%s)" % (item.name, item.kind))&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Unfortunately splunk lists only the first 37 entries. It looks like:&lt;BR /&gt;
/path......../001 (monitor)&lt;BR /&gt;
/path......../002 (monitor)&lt;BR /&gt;
/path......../003 (monitor)&lt;BR /&gt;
....&lt;BR /&gt;
/path......../037 (monitor)&lt;/P&gt;

&lt;P&gt;If i use console &lt;CODE&gt;splunk list monitor&lt;/CODE&gt; i can see all inputs (001 ... 040). Also on web-ui all inputs are there.&lt;/P&gt;

&lt;P&gt;If i delete one input (e.g. 002) and list again using &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;for item in inputs:&lt;BR /&gt;
    print ("%s (%s)" % (item.name, item.kind))&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Splunk shows me:&lt;BR /&gt;
/path......../001 (monitor)&lt;BR /&gt;
/path......../003 (monitor)&lt;BR /&gt;
....&lt;BR /&gt;
/path......../&lt;STRONG&gt;038&lt;/STRONG&gt; (monitor)&lt;/P&gt;

&lt;P&gt;So it look's like, python sdk collects only the first 37 listings of inputs.&lt;/P&gt;

&lt;P&gt;Is this a known issue?  What am I doing wrong?&lt;/P&gt;

&lt;P&gt;Many thanks in advance&lt;/P&gt;</description>
    <pubDate>Sun, 15 Sep 2019 07:11:06 GMT</pubDate>
    <dc:creator>fklink</dc:creator>
    <dc:date>2019-09-15T07:11:06Z</dc:date>
    <item>
      <title>Python SDK [list of inputs in input.conf]</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Python-SDK-list-of-inputs-in-input-conf/m-p/480993#M82465</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;i have 40 inputs [type: monitor] configured in one inputs.conf. Let's call them 001, 002, 003, .... 040&lt;/P&gt;

&lt;P&gt;i'm using python sdk to  list all available inputs which are configured in inputs.conf file.&lt;/P&gt;

&lt;P&gt;As splunk documentation describes i'm using :&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;for item in inputs:&lt;BR /&gt;
    print ("%s (%s)" % (item.name, item.kind))&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Unfortunately splunk lists only the first 37 entries. It looks like:&lt;BR /&gt;
/path......../001 (monitor)&lt;BR /&gt;
/path......../002 (monitor)&lt;BR /&gt;
/path......../003 (monitor)&lt;BR /&gt;
....&lt;BR /&gt;
/path......../037 (monitor)&lt;/P&gt;

&lt;P&gt;If i use console &lt;CODE&gt;splunk list monitor&lt;/CODE&gt; i can see all inputs (001 ... 040). Also on web-ui all inputs are there.&lt;/P&gt;

&lt;P&gt;If i delete one input (e.g. 002) and list again using &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;for item in inputs:&lt;BR /&gt;
    print ("%s (%s)" % (item.name, item.kind))&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Splunk shows me:&lt;BR /&gt;
/path......../001 (monitor)&lt;BR /&gt;
/path......../003 (monitor)&lt;BR /&gt;
....&lt;BR /&gt;
/path......../&lt;STRONG&gt;038&lt;/STRONG&gt; (monitor)&lt;/P&gt;

&lt;P&gt;So it look's like, python sdk collects only the first 37 listings of inputs.&lt;/P&gt;

&lt;P&gt;Is this a known issue?  What am I doing wrong?&lt;/P&gt;

&lt;P&gt;Many thanks in advance&lt;/P&gt;</description>
      <pubDate>Sun, 15 Sep 2019 07:11:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Python-SDK-list-of-inputs-in-input-conf/m-p/480993#M82465</guid>
      <dc:creator>fklink</dc:creator>
      <dc:date>2019-09-15T07:11:06Z</dc:date>
    </item>
  </channel>
</rss>

