<?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: Extracting sourcetype from source /tmp/csv/file1 in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Extracting-sourcetype-from-source-tmp-csv-file1/m-p/287698#M54968</link>
    <description>&lt;P&gt;We dont have this ability now in Splunk. However, you can further filter the sourcetype by source via transforms and searching a regex against the meta data. This article has a good example -&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/112471/changing-sourcetype-with-regex.html"&gt;https://answers.splunk.com/answers/112471/changing-sourcetype-with-regex.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 24 Oct 2015 15:48:32 GMT</pubDate>
    <dc:creator>esix_splunk</dc:creator>
    <dc:date>2015-10-24T15:48:32Z</dc:date>
    <item>
      <title>Extracting sourcetype from source /tmp/csv/file1</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extracting-sourcetype-from-source-tmp-csv-file1/m-p/287697#M54967</link>
      <description>&lt;P&gt;The sourcetype should be csv or tsv or psv, depending on the full path in the source field. For hosts we have host_regex and host_segment. Do we have sourcetype_regex or sourcetype_segment? Thx.&lt;/P&gt;

&lt;P&gt;/tmp/csv/file1&lt;BR /&gt;
/tmp/csv/file2&lt;BR /&gt;
/tmp/tsv/file3&lt;BR /&gt;
/tmp/tsv/file4&lt;BR /&gt;
/tmp/psv/file5&lt;BR /&gt;
/tmp/psv/file6&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:40:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extracting-sourcetype-from-source-tmp-csv-file1/m-p/287697#M54967</guid>
      <dc:creator>hylam</dc:creator>
      <dc:date>2020-09-29T07:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Extracting sourcetype from source /tmp/csv/file1</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Extracting-sourcetype-from-source-tmp-csv-file1/m-p/287698#M54968</link>
      <description>&lt;P&gt;We dont have this ability now in Splunk. However, you can further filter the sourcetype by source via transforms and searching a regex against the meta data. This article has a good example -&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/112471/changing-sourcetype-with-regex.html"&gt;https://answers.splunk.com/answers/112471/changing-sourcetype-with-regex.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 24 Oct 2015 15:48:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Extracting-sourcetype-from-source-tmp-csv-file1/m-p/287698#M54968</guid>
      <dc:creator>esix_splunk</dc:creator>
      <dc:date>2015-10-24T15:48:32Z</dc:date>
    </item>
  </channel>
</rss>

