<?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 extract fields from multiple file source names? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265549#M79804</link>
    <description>&lt;P&gt;Have you tried this?&lt;BR /&gt;
[source::/path*/...]&lt;BR /&gt;
instead of this?&lt;BR /&gt;
[source::/path/*]&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 09:48:42 GMT</pubDate>
    <dc:creator>rdagan_splunk</dc:creator>
    <dc:date>2020-09-29T09:48:42Z</dc:date>
    <item>
      <title>How to extract fields from multiple file source names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265543#M79798</link>
      <description>&lt;P&gt;Hi everybody,&lt;/P&gt;

&lt;P&gt;I'm trying to extract fields from multiple source names.&lt;BR /&gt;
It worked for one filename, but I have a lot of files.&lt;/P&gt;

&lt;P&gt;It doesn't work with this example : &lt;BR /&gt;
source::/path/* &lt;/P&gt;

&lt;P&gt;if any body can help me thx&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 14:48:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265543#M79798</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2016-05-20T14:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from multiple file source names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265544#M79799</link>
      <description>&lt;P&gt;You would need to provide some values, expected result (field names and values that needs to be extracted), and your last attempted search.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 14:56:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265544#M79799</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-05-20T14:56:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from multiple file source names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265545#M79800</link>
      <description>&lt;P&gt;I will use regex To provide some values. &lt;BR /&gt;
But how can i do if i have multiple source like 100000 file logs.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 15:35:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265545#M79800</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2016-05-20T15:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from multiple file source names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265546#M79801</link>
      <description>&lt;P&gt;Still not clear to me what you're trying to do here. Do you want to setup a field extraction, in props.conf, for multiple sources? OR you're want to extract a field, from the portion of the source field value?&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 15:41:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265546#M79801</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-05-20T15:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from multiple file source names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265547#M79802</link>
      <description>&lt;P&gt;I want To setup a field extraction in props.conf for multiple sources.&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 16:02:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265547#M79802</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2016-05-20T16:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from multiple file source names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265548#M79803</link>
      <description>&lt;P&gt;Something like this should work&lt;/P&gt;

&lt;P&gt;props.conf on Search Head&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[source::/path/*]
EXTRACT-identifier=yourREGEXtoEXTRACTfield
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;It would be easier to set it up based on sourcetype as it's number should be low. Do these sources report on different sourcetypes?&lt;/P&gt;</description>
      <pubDate>Fri, 20 May 2016 17:52:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265548#M79803</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-05-20T17:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from multiple file source names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265549#M79804</link>
      <description>&lt;P&gt;Have you tried this?&lt;BR /&gt;
[source::/path*/...]&lt;BR /&gt;
instead of this?&lt;BR /&gt;
[source::/path/*]&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:48:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265549#M79804</guid>
      <dc:creator>rdagan_splunk</dc:creator>
      <dc:date>2020-09-29T09:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract fields from multiple file source names?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265550#M79805</link>
      <description>&lt;P&gt;i resolve it by using field transform thx&lt;/P&gt;

&lt;P&gt;for all reply ^^&lt;/P&gt;</description>
      <pubDate>Thu, 02 Jun 2016 08:52:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-extract-fields-from-multiple-file-source-names/m-p/265550#M79805</guid>
      <dc:creator>sfatnass</dc:creator>
      <dc:date>2016-06-02T08:52:22Z</dc:date>
    </item>
  </channel>
</rss>

