<?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: scripted input does not get executed in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-scripted-input-not-get-executed/m-p/609172#M77371</link>
    <description>&lt;P&gt;no. the only thing i see in the UF's log is, that the app is installed.&lt;BR /&gt;all files and folders are created. the monitor is created too:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk@srv141:~$ splunk list monitor
Monitored Directories:
        $SPLUNK_HOME/var/log/splunk
        some other directories
Monitored Files:
        $SPLUNK_HOME/etc/apps/PBNL_getTVlogs/logs/TVlogs.csv
        some other files&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 11 Aug 2022 13:01:04 GMT</pubDate>
    <dc:creator>pbnl</dc:creator>
    <dc:date>2022-08-11T13:01:04Z</dc:date>
    <item>
      <title>Why does scripted input not get executed?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-scripted-input-not-get-executed/m-p/609164#M77369</link>
      <description>&lt;P&gt;hello all,&lt;/P&gt;
&lt;P&gt;i have an app developed on my linux splunk sandbox and it is working fine.&lt;BR /&gt;after copying it to the deployment server and deploy it to a UF running on linux, it's not running at all.&lt;BR /&gt;the inputs.conf is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[script://$SPLUNK_HOME/etc/apps/PBNL_getTVlogs/bin/getTVlogs.sh]
disabled = false
interval = 0 14 * * *
index = tvlogs
sourcetype = TVlogs

[monitor://$SPLUNK_HOME/etc/apps/PBNL_getTVlogs/logs/TVlogs.csv]
disabled = false
index = tvlogs
sourcetype = TVlogs&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so what's wrong here?&lt;/P&gt;
&lt;P&gt;any help is welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 14:37:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-scripted-input-not-get-executed/m-p/609164#M77369</guid>
      <dc:creator>pbnl</dc:creator>
      <dc:date>2022-08-11T14:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: scripted input does not get executed</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-scripted-input-not-get-executed/m-p/609169#M77370</link>
      <description>&lt;P&gt;Any errors in the UF's logs?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 12:53:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-scripted-input-not-get-executed/m-p/609169#M77370</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-08-11T12:53:38Z</dc:date>
    </item>
    <item>
      <title>Re: scripted input does not get executed</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-scripted-input-not-get-executed/m-p/609172#M77371</link>
      <description>&lt;P&gt;no. the only thing i see in the UF's log is, that the app is installed.&lt;BR /&gt;all files and folders are created. the monitor is created too:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk@srv141:~$ splunk list monitor
Monitored Directories:
        $SPLUNK_HOME/var/log/splunk
        some other directories
Monitored Files:
        $SPLUNK_HOME/etc/apps/PBNL_getTVlogs/logs/TVlogs.csv
        some other files&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 11 Aug 2022 13:01:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-scripted-input-not-get-executed/m-p/609172#M77371</guid>
      <dc:creator>pbnl</dc:creator>
      <dc:date>2022-08-11T13:01:04Z</dc:date>
    </item>
    <item>
      <title>Re: Why does scripted input not get executed?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-scripted-input-not-get-executed/m-p/609284#M77382</link>
      <description>&lt;P&gt;so nobody else any idea why?&lt;/P&gt;&lt;P&gt;to bring in some more details:&lt;BR /&gt;the splunk landscape is build out of 4 servers.&lt;BR /&gt;1st is&amp;nbsp;&lt;SPAN&gt;Cluster Master,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;KV Store,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;License Master,&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;Search Head&lt;BR /&gt;2nd and 3rd are&amp;nbsp;&lt;SPAN&gt;Indexer&lt;BR /&gt;4th is&amp;nbsp;Deployment Server&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;the index tvlogs is defined on the cluster master with a whole bunch of other indexes&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;etc/master-apps/_cluster/local/indexes.conf
[tvlogs]
repFactor = auto
maxHotSpanSecs = 86400
homePath = $SPLUNK_DB/tvlogs/db
frozenTimePeriodInSecs = 15552000
thawedPath = $SPLUNK_DB/tvlogs/thaweddb
coldPath = $SPLUNK_DB/tvlogs/colddb&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;and it's deployed to the indexer cluster&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk@indexer1:[/opt/splunk]: ll var/lib/splunk/tvlogs/*
var/lib/splunk/tvlogs/colddb:
total 8
drwx------ 2 splunk splunk 4096 Jul 22 14:20 ./
drwx------ 6 splunk splunk 4096 Jul 22 14:20 ../

var/lib/splunk/tvlogs/datamodel_summary:
total 8
drwx------ 2 splunk splunk 4096 Jul 22 14:20 ./
drwx------ 6 splunk splunk 4096 Jul 22 14:20 ../

var/lib/splunk/tvlogs/db:
total 16
drwx------ 2 splunk splunk 4096 Aug 10 09:17 ./
drwx------ 6 splunk splunk 4096 Jul 22 14:20 ../
-rw------- 1 splunk splunk  169 Aug 10 09:17 .bucketManifest
-rw------- 1 splunk splunk   10 Jul 22 14:22 CreationTime&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;the other files are located on the UF where the script should run&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;splunk@srv141:~/etc/apps/PBNL_getTVlogs$ ll *
bin:
total 20
drwxr-xr-x 2 splunk splunk 4096 Aug 11 14:50 ./
drwxr-xr-x 7 splunk splunk 4096 Aug 11 13:34 ../
-rwxrw-r-- 1 splunk splunk  573 Aug 11 14:50 getTVlogs.sh*
-rwxrw-r-- 1 splunk splunk  687 Aug 11 13:34 json2csv*

default:
total 16
drwxr-xr-x 3 splunk splunk 4096 Aug 11 13:34 ./
drwxr-xr-x 7 splunk splunk 4096 Aug 11 13:34 ../
-rw-r--r-- 1 splunk splunk  181 Aug 11 13:34 app.conf
drwxr-xr-x 3 splunk splunk 4096 Aug 11 13:34 data/

local:
total 20
drwxr-xr-x 2 splunk splunk 4096 Aug 11 13:34 ./
drwxr-xr-x 7 splunk splunk 4096 Aug 11 13:34 ../
-rw-r--r-- 1 splunk splunk   55 Aug 11 13:34 app.conf
-rw-rw-r-- 1 splunk splunk  258 Aug 11 13:34 inputs.conf
-rw-rw-r-- 1 splunk splunk  388 Aug 11 13:34 props.conf

logs:
total 16
drwxr-xr-x 2 splunk splunk   4096 Aug 11 14:49 ./
drwxr-xr-x 7 splunk splunk   4096 Aug 11 13:34 ../

metadata:
total 16
drwxr-xr-x 2 splunk splunk 4096 Aug 11 13:34 ./
drwxr-xr-x 7 splunk splunk 4096 Aug 11 13:34 ../
-rw-r--r-- 1 splunk splunk  403 Aug 11 13:34 default.meta
-rw-r--r-- 1 splunk splunk  187 Aug 11 13:34 local.meta&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;do i need to change something here?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Aug 2022 08:57:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Why-does-scripted-input-not-get-executed/m-p/609284#M77382</guid>
      <dc:creator>pbnl</dc:creator>
      <dc:date>2022-08-12T08:57:39Z</dc:date>
    </item>
  </channel>
</rss>

