<?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: Issue with Searching  by Sourcetypes in Splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-Searching-by-Sourcetypes-in-Splunk/m-p/749787#M119116</link>
    <description>Is there any possibility that there are field named sourcetype in your event?</description>
    <pubDate>Mon, 14 Jul 2025 21:38:32 GMT</pubDate>
    <dc:creator>isoutamo</dc:creator>
    <dc:date>2025-07-14T21:38:32Z</dc:date>
    <item>
      <title>Issue with Searching  by Sourcetypes in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-Searching-by-Sourcetypes-in-Splunk/m-p/749440#M119065</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;I'm collecting iLO logs in Splunk and have set up configurations on a Heavy Forwarder (HF). Logs are correctly indexed in the ilo index with sourcetypes ilo_log and ilo_error, but I'm facing an issue with search results.&lt;/P&gt;&lt;P&gt;When I run index=ilo | stats count by sourcetype, it correctly shows the count for ilo_log and ilo_error. Also, index=ilo | spath | table _raw sourcetype confirms logs are indexed with the correct sourcetype.&lt;/P&gt;&lt;P&gt;However, when I search directly with index=ilo sourcetype=ilo_log, index=ilo sourcetype=ilo_error, or even index=ilo ilo_log, I get zero results. Strangely, sourcetype!=ilo_error returns all ilo_log events and the same for ilo_error.&lt;/P&gt;&lt;P&gt;props.conf:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;[source::udp:5000] &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;TRANSFORMS-set_sourcetype = set_ilo_error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SHOULD_LINEMERGE = false &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LINE_BREAKER = ([\r\n]+)&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;transforms.conf:&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;[set_ilo_error] &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;REGEX=(failure|failed) &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DEST_KEY=MetaData:Sourcetype &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FORMAT=sourcetype::ilo_error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;WRITE_META = true&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 08 Jul 2025 21:35:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-Searching-by-Sourcetypes-in-Splunk/m-p/749440#M119065</guid>
      <dc:creator>sigma</dc:creator>
      <dc:date>2025-07-08T21:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Searching  by Sourcetypes in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-Searching-by-Sourcetypes-in-Splunk/m-p/749444#M119066</link>
      <description>&lt;P&gt;Is sourcetype ending up a multivalue field or does it contain odd characters?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=ilo
| head 1
| eval st_count=mvcount(sourcetype), st_len=len(sourcetype)
| eval tmp_sourcetype=":".sourcetype.":"
| table sourcetype tmp_sourcetype st_count st_len&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jul 2025 23:31:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-Searching-by-Sourcetypes-in-Splunk/m-p/749444#M119066</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2025-07-08T23:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Searching  by Sourcetypes in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-Searching-by-Sourcetypes-in-Splunk/m-p/749473#M119072</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp; I don't think so:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sigma_0-1752050784915.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39610i492EE784DC12D14D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sigma_0-1752050784915.png" alt="sigma_0-1752050784915.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2025 08:47:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-Searching-by-Sourcetypes-in-Splunk/m-p/749473#M119072</guid>
      <dc:creator>sigma</dc:creator>
      <dc:date>2025-07-09T08:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Searching  by Sourcetypes in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-Searching-by-Sourcetypes-in-Splunk/m-p/749787#M119116</link>
      <description>Is there any possibility that there are field named sourcetype in your event?</description>
      <pubDate>Mon, 14 Jul 2025 21:38:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-Searching-by-Sourcetypes-in-Splunk/m-p/749787#M119116</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2025-07-14T21:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Searching  by Sourcetypes in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-Searching-by-Sourcetypes-in-Splunk/m-p/750547#M119247</link>
      <description>&lt;P&gt;Unfortunately No!&lt;BR /&gt;And after weeks yet I don't know what the problem is!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2025 09:06:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-Searching-by-Sourcetypes-in-Splunk/m-p/750547#M119247</guid>
      <dc:creator>sigma</dc:creator>
      <dc:date>2025-07-28T09:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with Searching  by Sourcetypes in Splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Issue-with-Searching-by-Sourcetypes-in-Splunk/m-p/750553#M119250</link>
      <description>&lt;P&gt;Don't you have some search-time field defined overriding the original one?&lt;/P&gt;&lt;P&gt;What does the search log say (especially the LISPY part) when you search for a specific sourcetype?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Jul 2025 11:30:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Issue-with-Searching-by-Sourcetypes-in-Splunk/m-p/750553#M119250</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-07-28T11:30:29Z</dc:date>
    </item>
  </channel>
</rss>

