<?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 do you search for a specific word when you don't know what the field is? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-for-a-specific-word-when-you-don-t-know-what/m-p/415215#M119536</link>
    <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;just simple search for the word&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="gcp_logs" error
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;BUT keep in mind there will be an AND between a error and another word you want to search.&lt;/P&gt;

&lt;P&gt;So if you search for error fail, add a OR if you want events with both. so error OR fail&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jan 2019 10:38:09 GMT</pubDate>
    <dc:creator>dkeck</dc:creator>
    <dc:date>2019-01-21T10:38:09Z</dc:date>
    <item>
      <title>How do you search for a specific word when you don't know what the field is?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-for-a-specific-word-when-you-don-t-know-what/m-p/415213#M119534</link>
      <description>&lt;P&gt;Heya Guys,&lt;/P&gt;

&lt;P&gt;I'm very new to Splunk and this is likely an obvious answer or I have skimmed across documentation and missed it. &lt;/P&gt;

&lt;P&gt;So at the moment, we are ingesting logs from Google cloud, and I am interested in finding specific words such as 'error', 'fail', etc. However, I do not know the specific field name where this might appear. &lt;/P&gt;

&lt;P&gt;Is there a search I could run as a sort of catch all that could pick up on this within our environment? &lt;/P&gt;

&lt;P&gt;Something like the below? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="gcp_logs" (message contains 'error' OR 'fail*') 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any help would be appreciated.&lt;/P&gt;

&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 09:09:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-for-a-specific-word-when-you-don-t-know-what/m-p/415213#M119534</guid>
      <dc:creator>brewster88</dc:creator>
      <dc:date>2019-01-21T09:09:42Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search for a specific word when you don't know what the field is?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-for-a-specific-word-when-you-don-t-know-what/m-p/415214#M119535</link>
      <description>&lt;P&gt;Assuming those words occur in the raw event, just enter those words as search terms: &lt;CODE&gt;index="gcp_logs" ("error" OR "fail*")&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Have you gone through the Fundamentals 1 training course yet? If not: I can really recommend it. It's a great introduction into the concepts of Splunk and the basic workings of the search language &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 10:37:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-for-a-specific-word-when-you-don-t-know-what/m-p/415214#M119535</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2019-01-21T10:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search for a specific word when you don't know what the field is?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-for-a-specific-word-when-you-don-t-know-what/m-p/415215#M119536</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;just simple search for the word&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="gcp_logs" error
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;BUT keep in mind there will be an AND between a error and another word you want to search.&lt;/P&gt;

&lt;P&gt;So if you search for error fail, add a OR if you want events with both. so error OR fail&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 10:38:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-for-a-specific-word-when-you-don-t-know-what/m-p/415215#M119536</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2019-01-21T10:38:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do you search for a specific word when you don't know what the field is?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-for-a-specific-word-when-you-don-t-know-what/m-p/415216#M119537</link>
      <description>&lt;P&gt;Really useful guys, this was exactly what I was after! &lt;/P&gt;

&lt;P&gt;Will be starting the Splunk Fundamentals shortly as well &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Kind Regards,&lt;/P&gt;

&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 12:07:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-you-search-for-a-specific-word-when-you-don-t-know-what/m-p/415216#M119537</guid>
      <dc:creator>brewster88</dc:creator>
      <dc:date>2019-01-21T12:07:45Z</dc:date>
    </item>
  </channel>
</rss>

