<?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: How to correctly setup scripted (bash script) on forwarded input (UF) in HF via CLI or configuration? in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376540#M9783</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
I am trying to massage raw log sourced at UF by running script at HF before handing off data to Indexer. I dont want to run script at UF end. This is to free up UF from additional processing requirement.&lt;/P&gt;</description>
    <pubDate>Tue, 08 May 2018 23:46:44 GMT</pubDate>
    <dc:creator>hamidseleman</dc:creator>
    <dc:date>2018-05-08T23:46:44Z</dc:date>
    <item>
      <title>How to correctly setup scripted (bash script) on forwarded input (UF) in HF via CLI or configuration?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376538#M9781</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I've been googling for weeks but to no avail on how to correctly setup scripted input on HF to massage input forwarded from UF.&lt;BR /&gt;
Following is simple setup for inputs:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;inputs.conf in UF&lt;/STRONG&gt;&lt;BR /&gt;
[monitor:///path-to-log/file.txt]&lt;BR /&gt;
sourcetype = mysourcetype&lt;BR /&gt;
index = myindex&lt;BR /&gt;
crcSalt = &amp;lt;SOURCE&amp;gt;&lt;BR /&gt;
disabled = false&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;inputs.conf in HF&lt;/STRONG&gt;&lt;BR /&gt;
[script://./bin/scripts/massager.sh]&lt;BR /&gt;
sourcetype = mysourcetype&lt;BR /&gt;
index = myindex&lt;BR /&gt;
interval = 60.0&lt;BR /&gt;
disabled = false&lt;/P&gt;

&lt;P&gt;Sample setup or link highly appreciated.&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 08:34:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376538#M9781</guid>
      <dc:creator>hamidseleman</dc:creator>
      <dc:date>2018-05-08T08:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to correctly setup scripted (bash script) on forwarded input (UF) in HF via CLI or configuration?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376539#M9782</link>
      <description>&lt;P&gt;hello there, &lt;/P&gt;

&lt;P&gt;can you please elaborate?&lt;BR /&gt;
 what is it that you are trying to achieve?&lt;BR /&gt;
you dont need any script on HF to send data that is coming from the UF, only configure inputs and outputs&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 15:00:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376539#M9782</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-05-08T15:00:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to correctly setup scripted (bash script) on forwarded input (UF) in HF via CLI or configuration?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376540#M9783</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I am trying to massage raw log sourced at UF by running script at HF before handing off data to Indexer. I dont want to run script at UF end. This is to free up UF from additional processing requirement.&lt;/P&gt;</description>
      <pubDate>Tue, 08 May 2018 23:46:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376540#M9783</guid>
      <dc:creator>hamidseleman</dc:creator>
      <dc:date>2018-05-08T23:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to correctly setup scripted (bash script) on forwarded input (UF) in HF via CLI or configuration?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376541#M9784</link>
      <description>&lt;P&gt;You’ll have to “massage” the data using props and transforms on the HF and possibly the UF.&lt;/P&gt;

&lt;P&gt;See this article: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 01:36:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376541#M9784</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2018-05-09T01:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to correctly setup scripted (bash script) on forwarded input (UF) in HF via CLI or configuration?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376542#M9785</link>
      <description>&lt;P&gt;Thanks but for some reason I need to work with scripts.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 09:01:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376542#M9785</guid>
      <dc:creator>hamidseleman</dc:creator>
      <dc:date>2018-05-09T09:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to correctly setup scripted (bash script) on forwarded input (UF) in HF via CLI or configuration?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376543#M9786</link>
      <description>&lt;P&gt;@hamidseleman&lt;BR /&gt;
i am not sure what exactly you are trying to achieve and why would you have to work with scripts.&lt;BR /&gt;
you can massage the raw data from the UF at the HF using props and transforms.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 14:09:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376543#M9786</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-05-09T14:09:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to correctly setup scripted (bash script) on forwarded input (UF) in HF via CLI or configuration?</title>
      <link>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376544#M9787</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
what i am trying to achieve mostly is already stated exactly in the question itself. Anyway, thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 09 May 2018 14:16:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/How-to-correctly-setup-scripted-bash-script-on-forwarded-input/m-p/376544#M9787</guid>
      <dc:creator>hamidseleman</dc:creator>
      <dc:date>2018-05-09T14:16:24Z</dc:date>
    </item>
  </channel>
</rss>

