<?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 Why does my sourcetype works only on standalone  environment ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-sourcetype-works-only-on-standalone-environment/m-p/689992#M235058</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;I've recently tested a sourcetype for a new input via the props.conf file on my standalone dev environment, and it worked perfectly -datas were correctly parsed -. But when I put it in my prod environment, the data which where attributed the sourcetype weren't parsed at all.&lt;BR /&gt;&lt;BR /&gt;Now, my prod environment is distributed (HFs-&amp;gt;DS-&amp;gt;Indexers-&amp;gt;SH) but I've been careful to put the sourcetype both in the Heavy forwarder and in the searchhead as recommended, and i've restart both the HF and the SH but it still doesn't work.&lt;BR /&gt;&lt;BR /&gt;Does anyone have an idea of what I can do to fix it?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 07 Jun 2024 13:57:36 GMT</pubDate>
    <dc:creator>Théophane_GUE</dc:creator>
    <dc:date>2024-06-07T13:57:36Z</dc:date>
    <item>
      <title>Why does my sourcetype works only on standalone  environment ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-sourcetype-works-only-on-standalone-environment/m-p/689992#M235058</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I've recently tested a sourcetype for a new input via the props.conf file on my standalone dev environment, and it worked perfectly -datas were correctly parsed -. But when I put it in my prod environment, the data which where attributed the sourcetype weren't parsed at all.&lt;BR /&gt;&lt;BR /&gt;Now, my prod environment is distributed (HFs-&amp;gt;DS-&amp;gt;Indexers-&amp;gt;SH) but I've been careful to put the sourcetype both in the Heavy forwarder and in the searchhead as recommended, and i've restart both the HF and the SH but it still doesn't work.&lt;BR /&gt;&lt;BR /&gt;Does anyone have an idea of what I can do to fix it?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 13:57:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-sourcetype-works-only-on-standalone-environment/m-p/689992#M235058</guid>
      <dc:creator>Théophane_GUE</dc:creator>
      <dc:date>2024-06-07T13:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my sourcetype works only on standalone  environment ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-sourcetype-works-only-on-standalone-environment/m-p/690033#M235063</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/263034"&gt;@Théophane_GUE&lt;/a&gt;&amp;nbsp;.. pls update us what sourcetype name pls.&amp;nbsp;&lt;/P&gt;&lt;P&gt;from UF, how do you send the logs?.. thru any apps/addons? or just inputs.conf?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 16:57:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-sourcetype-works-only-on-standalone-environment/m-p/690033#M235063</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2024-06-07T16:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Why does my sourcetype works only on standalone  environment ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-does-my-sourcetype-works-only-on-standalone-environment/m-p/690051#M235067</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;The file was placed in a monitored folder from the HF (so through inputs.conf), but even when we tested uploading it via the GUI -like we tested in the dev environment- it still wasn't parsed&lt;/P&gt;&lt;P&gt;For the sourcetype, it was a custom one:&lt;/P&gt;&lt;P&gt;[Sourcetype_1]&lt;BR /&gt;BREAK_ONLY_BEFORE_DATE =&lt;BR /&gt;CHARSET = UTF-8&lt;BR /&gt;DATETIME_CONFIG =&lt;BR /&gt;EVAL-CREATION_DATE =&lt;BR /&gt;EVAL-DEPT =&lt;BR /&gt;EVAL-FIRST_NAME =&lt;BR /&gt;EVAL-FONCTION =&lt;BR /&gt;EVAL-FULL_NAME = if(match(Name, "(Disabled)"), substr(Name, 1, len(Name)-11), Name)&lt;BR /&gt;EVAL-LAST_LOGON = replace(Last_Seen, "(\d+)\.(\d+)\.(\d+)", "\3.\2.\1")&lt;BR /&gt;EVAL-LAST_NAME =&lt;BR /&gt;EVAL-LOCKED = if(match(Name, "(Disabled)"), "Yes", "No")&lt;BR /&gt;EVAL-LOCK_REASON =&lt;BR /&gt;EVAL-LOGIN = Name&lt;BR /&gt;EVAL-MAIL = Email&lt;BR /&gt;EVAL-METROID =&lt;BR /&gt;EVAL-PROFILE = Roles."|".Scope."|".Groups&lt;BR /&gt;EVAL-PWD_VALID_TO =&lt;BR /&gt;EVAL-STORE_CODE_5digits =&lt;BR /&gt;EVAL-USER_IDENTIFICATION = "1 Firstname 1 Name"&lt;BR /&gt;EVAL-VALID_FROM =&lt;BR /&gt;EVAL-VALID_TO =&lt;BR /&gt;EXTRACT-DATE_EXTRACTION = (?i)^.+_(?P&amp;lt;DATE_EXTRACTION&amp;gt;\d{8})\.csv in source&lt;BR /&gt;EXTRACT-Name,Email,Scope,Last_Seen =&lt;BR /&gt;EXTRACT-username,type,firstname,lastname,email =&lt;BR /&gt;LINE_BREAKER = ([\r\n]+)&lt;BR /&gt;NO_BINARY_CHECK = true&lt;BR /&gt;SHOULD_LINEMERGE = false&lt;BR /&gt;category = Custom&lt;BR /&gt;disabled = false&lt;BR /&gt;pulldown_type = 1&lt;BR /&gt;EXTRACT-Name,Roles,Email,Groups,Language,Agent_Type,Scope,Last_Seen = ^(?&amp;lt;Name&amp;gt;[^;]*);(?&amp;lt;Roles&amp;gt;[^;]*);(?&amp;lt;Email&amp;gt;[^;]*);(?&amp;lt;Groups&amp;gt;[^;]*);(?&amp;lt;Language&amp;gt;[^;]*);(?&amp;lt;Agent_Type&amp;gt;[^;]*);(?&amp;lt;Scope&amp;gt;[^;]*);(?&amp;lt;Last_Seen&amp;gt;[^;]*)&lt;BR /&gt;#MAX_TIMESTAMP_LOOKAHEAD = 1000&lt;BR /&gt;#HEADER_FIELD_LINE_NUMBER = 1&lt;BR /&gt;&lt;BR /&gt;I know the sourcetype isn't clean or anything but why would he work on standalone, and not in distributed environment ?&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2024 18:53:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-does-my-sourcetype-works-only-on-standalone-environment/m-p/690051#M235067</guid>
      <dc:creator>Théophane_GUE</dc:creator>
      <dc:date>2024-06-07T18:53:36Z</dc:date>
    </item>
  </channel>
</rss>

