<?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: props.conf : regex in source stanza in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/props-conf-regex-in-source-stanza/m-p/580975#M202404</link>
    <description>&lt;P&gt;I found issue with the file name - it was "transform" instead of "transforms".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This option worked like a charm :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Option 3 : [source::...console]&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jan 2022 15:59:56 GMT</pubDate>
    <dc:creator>rashiagrawal</dc:creator>
    <dc:date>2022-01-13T15:59:56Z</dc:date>
    <item>
      <title>props.conf : regex in source stanza</title>
      <link>https://community.splunk.com/t5/Splunk-Search/props-conf-regex-in-source-stanza/m-p/580718#M202299</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to filter out events using props.conf and transforms.conf . I have requirement where there are multiple source log files are present and I need to pick few of them , like ( i can't use host or sourcetype as they are been shared with other indexes) -&lt;/P&gt;&lt;P&gt;source1: ABC/DEF/IJK-YTL/master/dev/jobid18/console&lt;/P&gt;&lt;P&gt;source2:&amp;nbsp;ABC/DEF/IJK-YTL/master/dev/jobid19/console&lt;/P&gt;&lt;P&gt;and so on .&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried following regex but they didnt work ( i still see logs been indexed and not dumped)&amp;nbsp;&lt;/P&gt;&lt;P&gt;props.conf&lt;/P&gt;&lt;P&gt;[source::ABC/DEF/IJK-YTL/master/dev/.*?/console]&lt;BR /&gt;TRANSFORMS-set = setnull&lt;/P&gt;&lt;P&gt;OR&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;option 2 : [source::\ABC\/DEF\/IJK-YTL\/master\/dev\/.*?\/console]&lt;BR /&gt;&lt;BR /&gt;Option&amp;nbsp;3&amp;nbsp;: [source::.../console]&lt;BR /&gt;Option 4 : [source::...[/\\]master[/\\]...[/\\]console]&lt;/PRE&gt;&lt;P&gt;Transforms.conf&amp;nbsp;&lt;/P&gt;&lt;P&gt;[setnull]&lt;BR /&gt;REGEX = .&lt;BR /&gt;DEST_KEY = queue&lt;BR /&gt;FORMAT = nullQueue&lt;/P&gt;&lt;P&gt;Can someone please help - SPlunk is on windows platform&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 05:16:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/props-conf-regex-in-source-stanza/m-p/580718#M202299</guid>
      <dc:creator>rashiagrawal</dc:creator>
      <dc:date>2022-01-12T05:16:10Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf : regex in source stanza</title>
      <link>https://community.splunk.com/t5/Splunk-Search/props-conf-regex-in-source-stanza/m-p/580759#M202316</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;here is told how that should work on props.conf&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/Admin/Propsconf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Have you already try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[source::...ABC/DEF/IJK-YTL/master/dev/jobid*/console]&lt;/LI-CODE&gt;&lt;P&gt;Basically this is same than your Option 3.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Remember to restart instance after change props.conf!&lt;/P&gt;&lt;P&gt;r. Ismo&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 10:25:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/props-conf-regex-in-source-stanza/m-p/580759#M202316</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-01-12T10:25:18Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf : regex in source stanza</title>
      <link>https://community.splunk.com/t5/Splunk-Search/props-conf-regex-in-source-stanza/m-p/580806#M202340</link>
      <description>&lt;P&gt;Yes, I am restarting Splunk service after making the change in config files.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still no luck !&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jan 2022 15:31:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/props-conf-regex-in-source-stanza/m-p/580806#M202340</guid>
      <dc:creator>rashiagrawal</dc:creator>
      <dc:date>2022-01-12T15:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf : regex in source stanza</title>
      <link>https://community.splunk.com/t5/Splunk-Search/props-conf-regex-in-source-stanza/m-p/580884#M202378</link>
      <description>&lt;P&gt;Your configurations are in indexer or if there is heavy forwarder between source system and indexer then on that HF?&lt;/P&gt;&lt;P&gt;Are both Indexer and UF windows nodes? If so then I think that your file url should use windows notations for path \ not /.&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 06:41:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/props-conf-regex-in-source-stanza/m-p/580884#M202378</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-01-13T06:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf : regex in source stanza</title>
      <link>https://community.splunk.com/t5/Splunk-Search/props-conf-regex-in-source-stanza/m-p/580975#M202404</link>
      <description>&lt;P&gt;I found issue with the file name - it was "transform" instead of "transforms".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This option worked like a charm :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Option 3 : [source::...console]&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 15:59:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/props-conf-regex-in-source-stanza/m-p/580975#M202404</guid>
      <dc:creator>rashiagrawal</dc:creator>
      <dc:date>2022-01-13T15:59:56Z</dc:date>
    </item>
    <item>
      <title>Re: props.conf : regex in source stanza</title>
      <link>https://community.splunk.com/t5/Splunk-Search/props-conf-regex-in-source-stanza/m-p/581024#M202424</link>
      <description>&lt;P&gt;Good to hear that this is solved. Be aware that using just …/console can match many different files later on and then it could be anew challenge to find the reason….&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jan 2022 21:06:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/props-conf-regex-in-source-stanza/m-p/581024#M202424</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-01-13T21:06:46Z</dc:date>
    </item>
  </channel>
</rss>

