<?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: TA-WebTools in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489809#M60294</link>
    <description>&lt;P&gt;This member:&lt;BR /&gt;
                           backupRestoreStatus : Ready&lt;BR /&gt;
                                          date : Tue Jan 21 12:18:27 2020&lt;BR /&gt;
                                       dateSec : 1579630707.102&lt;BR /&gt;
                                      disabled : 0&lt;BR /&gt;
                                          guid : B58F8FD5-DBDB-4FB5-8469-E6F4B7B                                                                                                             D68CB&lt;BR /&gt;
                             oplogEndTimestamp : Tue Jan 21 12:18:22 2020&lt;BR /&gt;
                          oplogEndTimestampSec : 1579630702&lt;BR /&gt;
                           oplogStartTimestamp : Fri Oct  4 05:30:05 2019&lt;BR /&gt;
                        oplogStartTimestampSec : 1570185005&lt;BR /&gt;
                                          port : 8191&lt;BR /&gt;
                                    replicaSet : B58F8FD5-DBDB-4FB5-8469-E6F4B7B                                                                                                             D68CB&lt;BR /&gt;
                             replicationStatus : KV store captain&lt;BR /&gt;
                                    standalone : 1&lt;BR /&gt;
                                        status : ready&lt;/P&gt;

&lt;P&gt;KV store members:&lt;BR /&gt;
        127.0.0.1:8191&lt;BR /&gt;
                                 configVersion : 1&lt;BR /&gt;
                                  electionDate : Tue Jan 21 12:08:10 2020&lt;BR /&gt;
                               electionDateSec : 1579630090&lt;BR /&gt;
                                   hostAndPort : 127.0.0.1:8191&lt;BR /&gt;
                                    optimeDate : Tue Jan 21 12:18:22 2020&lt;BR /&gt;
                                 optimeDateSec : 1579630702&lt;BR /&gt;
                             replicationStatus : KV store captain&lt;BR /&gt;
                                        uptime : 617&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2020 18:19:32 GMT</pubDate>
    <dc:creator>Kendo213</dc:creator>
    <dc:date>2020-01-21T18:19:32Z</dc:date>
    <item>
      <title>TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489798#M60283</link>
      <description>&lt;P&gt;I've installed this on a Splunk box running 7.3.1.  Initially, the first scheduled CURL input worked, with a simple URI of the following:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://api.ssllabs.com/api/v3/analyze?host=mydomain.com" target="_blank"&gt;https://api.ssllabs.com/api/v3/analyze?host=mydomain.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I cloned this input, changing the domain in the URI, and the additional input didn't function.  I deleted all inputs, and tried again, and still wasn't successful.  I've also removed the Webtools app, and re-installed it, which didn't work.  I do see these errors in the internal logs, if they're helpful:&lt;/P&gt;

&lt;P&gt;2020-01-21 10:09:07,236 ERROR pid=115445 tid=MainThread file=base_modinput.py:log_error:307 | Get error when collecting events.&lt;BR /&gt;
Traceback (most recent call last):&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-webtools/bin/ta_webtools/modinput_wrapper/base_modinput.py", line 127, in stream_events&lt;BR /&gt;
    self.collect_events(ew)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-webtools/bin/curl_inputs.py", line 88, in collect_events&lt;BR /&gt;
    input_module.collect_events(self, ew)&lt;BR /&gt;
  File "/opt/splunk/etc/apps/TA-webtools/bin/input_module_curl_inputs.py", line 43, in collect_events&lt;BR /&gt;
    if len(payload)&amp;gt;0:&lt;BR /&gt;
TypeError: object of type 'NoneType' has no len()&lt;/P&gt;

&lt;P&gt;Running curl with SPL does work correctly, and one of the inputs did work at one point.  I'm not inserting any headers, or anything special.  &lt;/P&gt;

&lt;P&gt;Any ideas?&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:46:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489798#M60283</guid>
      <dc:creator>Kendo213</dc:creator>
      <dc:date>2020-09-30T03:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489799#M60284</link>
      <description>&lt;P&gt;Probably not your issue, but keep in mind that API has limits and conditions in the terms of service that come with it. If you hit it too much or violate the TOS, it'll block you.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 16:53:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489799#M60284</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2020-01-21T16:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489800#M60285</link>
      <description>&lt;P&gt;Yeah - that was my first check - but I can do the curl from the server, or with SPL via this add-on from the same device.  I'm assuming it isn't that based on testing.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 16:55:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489800#M60285</guid>
      <dc:creator>Kendo213</dc:creator>
      <dc:date>2020-01-21T16:55:25Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489801#M60286</link>
      <description>&lt;P&gt;The behavior makes me think you're having kvstore issues.  What does "index=_internal sourcetype=mongod" say?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 17:25:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489801#M60286</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-21T17:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489802#M60287</link>
      <description>&lt;P&gt;Nothing really stands out, but I'm not terribly familiar with this log.&lt;/P&gt;

&lt;P&gt;Some common messages from this log on the search head with webtools installed (1 input configured, and I rebooted it around 11:22):&lt;/P&gt;

&lt;P&gt;2020-01-21T17:22:55.740Z I ACCESS   [conn16] Successfully authenticated as principal __system on local&lt;/P&gt;

&lt;P&gt;2020-01-21T17:22:55.724Z I NETWORK  [conn16] received client metadata from 127.0.0.1:46302 conn16: { driver: { name: "mongoc", version: "1.13.0" }, os: { type: "Linux", name: "Red Hat Enterprise Linux Server", version: "7.7", architecture: "x86_64" }, platform: "cfg=0x001620c9 posix=200112 stdc=201112 CC=GCC 5.3.0 CFLAGS="-g -fstack-protector-strong -static-libgcc -L/opt/splunk-home/lib/static-libstdc -DPY_BIG..." }&lt;/P&gt;

&lt;P&gt;2020-01-21T17:22:55.722Z I NETWORK  [listener] connection accepted from 127.0.0.1:46306 #18 (12 connections now open)&lt;/P&gt;

&lt;P&gt;2020-01-21T17:22:50.150Z I REPL     [rsSync] transition to primary complete; database writes are now permitted&lt;/P&gt;

&lt;P&gt;2020-01-21T17:22:47.592Z I STORAGE  [initandlisten] ** WARNING: Readahead for /opt/splunk/var/lib/splunk/kvstore/mongo is set to 4096KB&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:46:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489802#M60287</guid>
      <dc:creator>Kendo213</dc:creator>
      <dc:date>2020-09-30T03:46:59Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489803#M60288</link>
      <description>&lt;P&gt;I would add, that I have an input scheduled for every 60 seconds, but in the last 15 minutes have seen no activity in that mongod log.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 17:52:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489803#M60288</guid>
      <dc:creator>Kendo213</dc:creator>
      <dc:date>2020-01-21T17:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489804#M60289</link>
      <description>&lt;P&gt;Yeah this log is fun...&lt;/P&gt;

&lt;P&gt;To find errors you append  this to the search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| regex "\sE\s"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To find warnings you append this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|regex "\sW\s"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Jan 2020 17:59:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489804#M60289</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-21T17:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489805#M60290</link>
      <description>&lt;P&gt;please restart splunk and then look in this log for error messages on startup.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 18:01:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489805#M60290</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-21T18:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489806#M60291</link>
      <description>&lt;P&gt;Assuming those regex are correct, I only see 2020-01-21T17:22:47.555Z W CONTROL  [main] net.ssl.sslCipherConfig is deprecated. It will be removed in a future release.&lt;/P&gt;

&lt;P&gt;I did find the other warning in my previous post by searching for "warning" OR "critical" OR "error"&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 18:04:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489806#M60291</guid>
      <dc:creator>Kendo213</dc:creator>
      <dc:date>2020-01-21T18:04:41Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489807#M60292</link>
      <description>&lt;P&gt;About 133 events generated during startup - your Error regex returns nothing, and the Warning regex only returns the cipher suite message.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 18:10:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489807#M60292</guid>
      <dc:creator>Kendo213</dc:creator>
      <dc:date>2020-01-21T18:10:04Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489808#M60293</link>
      <description>&lt;P&gt;Hmm what does the CLI command &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ./splunk show kvstore-status 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Say?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 18:13:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489808#M60293</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-21T18:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489809#M60294</link>
      <description>&lt;P&gt;This member:&lt;BR /&gt;
                           backupRestoreStatus : Ready&lt;BR /&gt;
                                          date : Tue Jan 21 12:18:27 2020&lt;BR /&gt;
                                       dateSec : 1579630707.102&lt;BR /&gt;
                                      disabled : 0&lt;BR /&gt;
                                          guid : B58F8FD5-DBDB-4FB5-8469-E6F4B7B                                                                                                             D68CB&lt;BR /&gt;
                             oplogEndTimestamp : Tue Jan 21 12:18:22 2020&lt;BR /&gt;
                          oplogEndTimestampSec : 1579630702&lt;BR /&gt;
                           oplogStartTimestamp : Fri Oct  4 05:30:05 2019&lt;BR /&gt;
                        oplogStartTimestampSec : 1570185005&lt;BR /&gt;
                                          port : 8191&lt;BR /&gt;
                                    replicaSet : B58F8FD5-DBDB-4FB5-8469-E6F4B7B                                                                                                             D68CB&lt;BR /&gt;
                             replicationStatus : KV store captain&lt;BR /&gt;
                                    standalone : 1&lt;BR /&gt;
                                        status : ready&lt;/P&gt;

&lt;P&gt;KV store members:&lt;BR /&gt;
        127.0.0.1:8191&lt;BR /&gt;
                                 configVersion : 1&lt;BR /&gt;
                                  electionDate : Tue Jan 21 12:08:10 2020&lt;BR /&gt;
                               electionDateSec : 1579630090&lt;BR /&gt;
                                   hostAndPort : 127.0.0.1:8191&lt;BR /&gt;
                                    optimeDate : Tue Jan 21 12:18:22 2020&lt;BR /&gt;
                                 optimeDateSec : 1579630702&lt;BR /&gt;
                             replicationStatus : KV store captain&lt;BR /&gt;
                                        uptime : 617&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 18:19:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489809#M60294</guid>
      <dc:creator>Kendo213</dc:creator>
      <dc:date>2020-01-21T18:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489810#M60295</link>
      <description>&lt;P&gt;One thing to mention, is that I had a working input, cloned it, and accidentally left the URI as the same value...but with a different input name.  I assume this wouldn't cause issues, just noting it.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 18:24:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489810#M60295</guid>
      <dc:creator>Kendo213</dc:creator>
      <dc:date>2020-01-21T18:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489811#M60296</link>
      <description>&lt;P&gt;If I recall correctly, it appends the NAME of the input to the kvstore collection name so that  you get a different kvstore collection for each input. &lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 18:52:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489811#M60296</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-21T18:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489812#M60297</link>
      <description>&lt;P&gt;Interesting.  Yeah, I'm at a loss.  It worked for that first input, and then never again.  I can't wrap my head around how that's possible.  And it's specific to the scheduled curl inputs, the command itself works fine.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 18:54:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489812#M60297</guid>
      <dc:creator>Kendo213</dc:creator>
      <dc:date>2020-01-21T18:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489813#M60298</link>
      <description>&lt;P&gt;Just seeing this error:&lt;/P&gt;

&lt;P&gt;if len(payload)&amp;gt;0:&lt;BR /&gt;
TypeError: object of type 'NoneType' has no len()&lt;/P&gt;

&lt;P&gt;This happens when the API returns 0 results.  Something is wrong with the query to the api.  It's probably the parameter you're passing that is causing issues with my code for the scripted inputs.  &lt;/P&gt;

&lt;P&gt;Can you use the | curl command and send it to. | collect index=indexName marker=curlInputName?&lt;/P&gt;

&lt;P&gt;Or send it to outputlookup, etc?&lt;/P&gt;

&lt;P&gt;Then schedule an alert/report that automates it?&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 18:57:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489813#M60298</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-01-21T18:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489814#M60299</link>
      <description>&lt;P&gt;It returns data every time - whether it's a valid domain status, or the fact that they're too busy (either limiting me, or everyone).  I can output it to a CSV successfully, and use inputlookup to view it.  I get a curl_response_url, curl_message, and curl_status.  &lt;/P&gt;

&lt;P&gt;The issue is that I need this ingested so I can leverage it in ITSI as an example.  I suppose I could do it this way, but that would require me to put the application on the ITSI box which I'm trying to avoid.&lt;/P&gt;

&lt;P&gt;The only parameter I'm passing is the URI, I'm not inserting headers/etc.  I'm confused on how it worked the first time with the same URI &lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt; &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:47:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489814#M60299</guid>
      <dc:creator>Kendo213</dc:creator>
      <dc:date>2020-09-30T03:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489815#M60300</link>
      <description>&lt;P&gt;I've also simply tried passing &lt;A href="https://api.ssllabs.com/api/v3/"&gt;https://api.ssllabs.com/api/v3/&lt;/A&gt; with no parameters.  I would expect a curl response 404, a message (html) and the response URL.  At least that's what I see if I |curl method=get uri=&lt;A href="https://api.ssllabs.com/api/v3/"&gt;https://api.ssllabs.com/api/v3/&lt;/A&gt;.  &lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 19:20:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489815#M60300</guid>
      <dc:creator>Kendo213</dc:creator>
      <dc:date>2020-01-21T19:20:49Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489816#M60301</link>
      <description>&lt;P&gt;And I did go back to the results that did come in, and enter the same URI that showed in the Splunk logs.  So I don't believe this can be the result of any parameters I'm passing - I'm taking parameters that are in the fields in the logs that did make it in.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 19:46:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489816#M60301</guid>
      <dc:creator>Kendo213</dc:creator>
      <dc:date>2020-01-21T19:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: TA-WebTools</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489817#M60302</link>
      <description>&lt;P&gt;I did try the |collect route, and that does work.  The only issue is that (of course) it isn't a JSON payload, so it's something I would have to rex out.  I think this can work as a workaround -- I do think it might be worth investigating why this stopped working despite no changes on my end other than deleting/cloning/adding inputs.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2020 20:02:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/TA-WebTools/m-p/489817#M60302</guid>
      <dc:creator>Kendo213</dc:creator>
      <dc:date>2020-01-21T20:02:33Z</dc:date>
    </item>
  </channel>
</rss>

