<?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: Renaming sourcetype and source with props and transforms in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Renaming-sourcetype-and-source-with-props-and-transforms/m-p/57260#M11186</link>
    <description>&lt;P&gt;Ouch.  That's painfully obvious and I missed it.&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jun 2013 11:02:52 GMT</pubDate>
    <dc:creator>barak_l_griffis</dc:creator>
    <dc:date>2013-06-07T11:02:52Z</dc:date>
    <item>
      <title>Renaming sourcetype and source with props and transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Renaming-sourcetype-and-source-with-props-and-transforms/m-p/57258#M11184</link>
      <description>&lt;P&gt;We have some VIOS servers that are special-purpose machines that aren't allowed to have a UF installed.  I want to hotwire the Splunk_TA_nix scripts to drop their output on an NFS share for Splunk to pick up.  Each VIOS server will drop in a different directory under /exports/ and each script will write to a file with it's name (df.sh &amp;gt; df.log)&lt;BR /&gt;
I want df.log to go to index=os, sourcetype=df, source=df&lt;BR /&gt;
ps, iostat, vmstat, etc...&lt;BR /&gt;
This isn't working:&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///exports/vio*/*.log]
disabled = 0
followTail = 0
host =
host_segment = 2
index = os
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;props.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source:.../df.log]
sourcetype = df
TRANSFORMS-viosdf = viosdf

[source:.../psdf.log]
sourcetype = ps
TRANSFORMS-viosps = viosps
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;transforms.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[viosdf]
DEST_KEY = MetaData:Source
FORMAT = source::df

[viosps]
DEST_KEY = MetaData:Source
FORMAT = source::ps
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:03:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Renaming-sourcetype-and-source-with-props-and-transforms/m-p/57258#M11184</guid>
      <dc:creator>barak_l_griffis</dc:creator>
      <dc:date>2020-09-28T14:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming sourcetype and source with props and transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Renaming-sourcetype-and-source-with-props-and-transforms/m-p/57259#M11185</link>
      <description>&lt;P&gt;Why not do it all in inputs.conf?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[monitor:///exports/vio*/df.log]
disabled = 0
followTail = 0
host =
host_segment = 2
index = os
sourcetype = df
source = df

[monitor:///exports/vio*/ps.log]
disabled = 0
followTail = 0
host =
host_segment = 2
index = os
sourcetype = ps
source = ps
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;/Kristian&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2013 06:28:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Renaming-sourcetype-and-source-with-props-and-transforms/m-p/57259#M11185</guid>
      <dc:creator>kristian_kolb</dc:creator>
      <dc:date>2013-06-07T06:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming sourcetype and source with props and transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Renaming-sourcetype-and-source-with-props-and-transforms/m-p/57260#M11186</link>
      <description>&lt;P&gt;Ouch.  That's painfully obvious and I missed it.&lt;BR /&gt;
Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2013 11:02:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Renaming-sourcetype-and-source-with-props-and-transforms/m-p/57260#M11186</guid>
      <dc:creator>barak_l_griffis</dc:creator>
      <dc:date>2013-06-07T11:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Renaming sourcetype and source with props and transforms</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Renaming-sourcetype-and-source-with-props-and-transforms/m-p/553053#M91714</link>
      <description>&lt;P&gt;I don't think it works for defining "source" in inputs.conf&lt;/P&gt;&lt;P&gt;If I define host/host_segment then "source" always go to default to show as filename(which is what I don't want).&lt;/P&gt;&lt;P&gt;I am modifying on Universal Forwarder.&lt;/P&gt;&lt;P&gt;If I don't define host/host_segment then "source" name is OK but host goes to default server name...&lt;/P&gt;</description>
      <pubDate>Wed, 26 May 2021 05:36:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Renaming-sourcetype-and-source-with-props-and-transforms/m-p/553053#M91714</guid>
      <dc:creator>ff9231</dc:creator>
      <dc:date>2021-05-26T05:36:58Z</dc:date>
    </item>
  </channel>
</rss>

