<?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: filter field that starts with certain alphabets in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/filter-field-that-starts-with-certain-alphabets/m-p/515309#M87276</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;how about shortening the search period? That is the most efficient way to speed up the queries.&amp;nbsp;&lt;BR /&gt;r. Ismo&lt;/P&gt;</description>
    <pubDate>Thu, 20 Aug 2020 20:34:48 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2020-08-20T20:34:48Z</dc:date>
    <item>
      <title>filter field that starts with certain alphabets</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filter-field-that-starts-with-certain-alphabets/m-p/515306#M87273</link>
      <description>&lt;P&gt;I have a large query that keeps failing/timing out because search head has no enough ram. I want to run the data in half instead (twice). running one query to filter only half the alphabets of values under FieldX, then run another one with rest of alphabets.&lt;/P&gt;&lt;P&gt;I can do something like FieldX=a* OR FieldX=b* ... but looking for something more practical to query&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 20:22:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filter-field-that-starts-with-certain-alphabets/m-p/515306#M87273</guid>
      <dc:creator>spark2310</dc:creator>
      <dc:date>2020-08-20T20:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: filter field that starts with certain alphabets</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filter-field-that-starts-with-certain-alphabets/m-p/515309#M87276</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;how about shortening the search period? That is the most efficient way to speed up the queries.&amp;nbsp;&lt;BR /&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Thu, 20 Aug 2020 20:34:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filter-field-that-starts-with-certain-alphabets/m-p/515309#M87276</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2020-08-20T20:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: filter field that starts with certain alphabets</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filter-field-that-starts-with-certain-alphabets/m-p/516863#M87481</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/75619"&gt;@spark2310&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;your problem isn't so clear for me: how do you can say that a search is slow for limited RAM available, have you any error message?&lt;/P&gt;&lt;P&gt;Are you respecting the minumum reference hardware for Search Head (16 CPUs and 12 GB RAM)? this would be the first question for you for the Splunk Support!&lt;/P&gt;&lt;P&gt;Usually the problem in searches is the availability of CPUs non RAM.&lt;/P&gt;&lt;P&gt;Aniway, coming back to your question: if you have many events, you have some methods to accelerate searches: Data Models, Summary Indexs, etc... that in few word seems to schedule a search that extracts the data for your searches and then you can run the search on the results, so you have a very quick search.&lt;/P&gt;&lt;P&gt;The best approach is to find a way to filter results in the main search, could you share you search that's give errors?&lt;/P&gt;&lt;P&gt;Anyway, you can filter your results using the "search" command with a free text (not so quick) or the "regex" command&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| regex field=FieldX "^a|b.*)"&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 29 Aug 2020 15:32:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filter-field-that-starts-with-certain-alphabets/m-p/516863#M87481</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-08-29T15:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: filter field that starts with certain alphabets</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filter-field-that-starts-with-certain-alphabets/m-p/516864#M87482</link>
      <description>&lt;P&gt;The reason for consuming more memory, your query is collecting all matching events to search head.&lt;/P&gt;&lt;P&gt;why don't you apply transforming commands after your base filters, this will reduce the number of results fetched from indexers to search head.&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Splexicon:Transformingcommand" target="_blank" rel="noopener"&gt;https://docs.splunk.com/Splexicon:Transformingcommand&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 29 Aug 2020 15:53:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filter-field-that-starts-with-certain-alphabets/m-p/516864#M87482</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-08-29T15:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: filter field that starts with certain alphabets</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/filter-field-that-starts-with-certain-alphabets/m-p/516865#M87483</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/75619"&gt;@spark2310&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;in addition, after the main search (in which you should try to reduce the number of results), you could also reduce the number of extracted fields, taking only the ones you need for you search with the fields command.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 29 Aug 2020 16:03:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/filter-field-that-starts-with-certain-alphabets/m-p/516865#M87483</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-08-29T16:03:05Z</dc:date>
    </item>
  </channel>
</rss>

