<?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: Querying for values without a specific character? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Querying-for-values-without-a-specific-character/m-p/414267#M171895</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Give a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval file="test.txt,test1,temp.csv,test3" 
| makemv delim="," file 
| mvexpand file 
| where isnull(mvindex(split(file,"."),1))
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;New:&lt;/STRONG&gt; Try this filters only file name&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval file="test.txt,test1,temp.csv,test3" 
| makemv delim="," file 
| mvexpand file 
| rex field=file "(?P&amp;lt;filename&amp;gt;[^.]+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 12 Apr 2019 13:13:05 GMT</pubDate>
    <dc:creator>vnravikumar</dc:creator>
    <dc:date>2019-04-12T13:13:05Z</dc:date>
    <item>
      <title>Querying for values without a specific character?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Querying-for-values-without-a-specific-character/m-p/414265#M171893</link>
      <description>&lt;P&gt;Attempting to create a query that will return all values that do not have a . (dot) in their file name, meaning no file extension. Does anyone know of a way of achieving this? Seems simple but I can't figure it out. The query is a combination of terms that do have file extensions so I can't use filename!="&lt;EM&gt;.&lt;/EM&gt;".&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 12:33:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Querying-for-values-without-a-specific-character/m-p/414265#M171893</guid>
      <dc:creator>yepyepyayyooo</dc:creator>
      <dc:date>2019-04-12T12:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Querying for values without a specific character?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Querying-for-values-without-a-specific-character/m-p/414266#M171894</link>
      <description>&lt;P&gt;can you please give example list of filenames and tell us what you want to filter out?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 12:46:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Querying-for-values-without-a-specific-character/m-p/414266#M171894</guid>
      <dc:creator>harshpatel</dc:creator>
      <dc:date>2019-04-12T12:46:42Z</dc:date>
    </item>
    <item>
      <title>Re: Querying for values without a specific character?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Querying-for-values-without-a-specific-character/m-p/414267#M171895</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Give a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval file="test.txt,test1,temp.csv,test3" 
| makemv delim="," file 
| mvexpand file 
| where isnull(mvindex(split(file,"."),1))
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;New:&lt;/STRONG&gt; Try this filters only file name&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| makeresults 
| eval file="test.txt,test1,temp.csv,test3" 
| makemv delim="," file 
| mvexpand file 
| rex field=file "(?P&amp;lt;filename&amp;gt;[^.]+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Apr 2019 13:13:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Querying-for-values-without-a-specific-character/m-p/414267#M171895</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-04-12T13:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Querying for values without a specific character?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Querying-for-values-without-a-specific-character/m-p/414268#M171896</link>
      <description>&lt;P&gt;They're unknown. Basically you have filename1.doc and filename1.txt. I'm looking to return all values that are filename1 (no file extension)&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 13:13:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Querying-for-values-without-a-specific-character/m-p/414268#M171896</guid>
      <dc:creator>yepyepyayyooo</dc:creator>
      <dc:date>2019-04-12T13:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Querying for values without a specific character?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Querying-for-values-without-a-specific-character/m-p/414269#M171897</link>
      <description>&lt;P&gt;so you want to remove file extensions and return only filenames?&lt;/P&gt;</description>
      <pubDate>Fri, 12 Apr 2019 13:18:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Querying-for-values-without-a-specific-character/m-p/414269#M171897</guid>
      <dc:creator>harshpatel</dc:creator>
      <dc:date>2019-04-12T13:18:54Z</dc:date>
    </item>
  </channel>
</rss>

