<?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 I change the sourcetype on my Splunk forwarder from &amp;quot;syslog&amp;quot; to &amp;quot;json_no_timestamp&amp;quot;? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266861#M51126</link>
    <description>&lt;P&gt;I'm not too familiar with the _json* sourcetypes but worst case scenario, name it something random in your forwarder and then rename this sourcetype to json_no_timestamp before indexing at Indexer level and see if that works.&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 08:05:50 GMT</pubDate>
    <dc:creator>javiergn</dc:creator>
    <dc:date>2020-09-29T08:05:50Z</dc:date>
    <item>
      <title>How do I change the sourcetype on my Splunk forwarder from "syslog" to "json_no_timestamp"?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266858#M51123</link>
      <description>&lt;P&gt;I am using a Splunk forwarder with a main Splunk server. The forwarder is listening on udp port 1514. And is sending logs to my Splunk server on port 9997.&lt;/P&gt;

&lt;P&gt;Everything is working as far as I can tell. On the forwarder though, I want to change the &lt;CODE&gt;sourcetype&lt;/CODE&gt; from &lt;CODE&gt;syslog&lt;/CODE&gt; to &lt;CODE&gt;json_no_timestamp&lt;/CODE&gt;. When I do this though, logs do not get sent through anymore.&lt;/P&gt;

&lt;P&gt;In case it is relevant, I am running these all as docker containers. The syslogs that are coming in are being sent from docker containers, and the forwarder and main Splunk instance are separate containers.&lt;/P&gt;

&lt;P&gt;I am not sure where the problem could be, any input would be greatly appreciated! It's possible the issue is with the container configuration or with Splunk itself? But it does all work when set to &lt;CODE&gt;syslog&lt;/CODE&gt; so I am not sure.&lt;/P&gt;

&lt;P&gt;I posted a trimmed down docker-compose file and and the Splunk logs and results from &lt;CODE&gt;splunk cmd btool inputs list&lt;/CODE&gt;&lt;BR /&gt;
&lt;A href="https://gist.github.com/prees1/c26a305c4e012a395c78"&gt;https://gist.github.com/prees1/c26a305c4e012a395c78&lt;/A&gt;&lt;BR /&gt;
There doesn't appear to be anything out of place in those files, from what I can tell.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 15:55:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266858#M51123</guid>
      <dc:creator>prees</dc:creator>
      <dc:date>2015-12-08T15:55:37Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the sourcetype on my Splunk forwarder from "syslog" to "json_no_timestamp"?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266859#M51124</link>
      <description>&lt;P&gt;json_no_timestamp is a pre-trained sourcetype: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1511/Data/Listofpretrainedsourcetypes" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.1511/Data/Listofpretrainedsourcetypes&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I wonder if that's causing some unexpected side effects because I would expected a json sourcetype to be coming from a plain text file and not via UDP. Can you try to name it something else and see what happens?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:05:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266859#M51124</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2020-09-29T08:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the sourcetype on my Splunk forwarder from "syslog" to "json_no_timestamp"?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266860#M51125</link>
      <description>&lt;P&gt;I should have mentioned that I have tried setting it to &lt;CODE&gt;access_combined&lt;/CODE&gt; and &lt;CODE&gt;_json&lt;/CODE&gt;, both of which worked. However my logs are not in that format, so ultimately it doesn't work.&lt;/P&gt;

&lt;P&gt;Are certain sourcetypes only allowed for file vs network inputs?&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 16:48:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266860#M51125</guid>
      <dc:creator>prees</dc:creator>
      <dc:date>2015-12-08T16:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the sourcetype on my Splunk forwarder from "syslog" to "json_no_timestamp"?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266861#M51126</link>
      <description>&lt;P&gt;I'm not too familiar with the _json* sourcetypes but worst case scenario, name it something random in your forwarder and then rename this sourcetype to json_no_timestamp before indexing at Indexer level and see if that works.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:05:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266861#M51126</guid>
      <dc:creator>javiergn</dc:creator>
      <dc:date>2020-09-29T08:05:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the sourcetype on my Splunk forwarder from "syslog" to "json_no_timestamp"?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266862#M51127</link>
      <description>&lt;P&gt;alright I will give that a try, thanks! As I am new to splunk, when you say 'rename' the source type, which config file would that be a part of? Is it related to transform or props? I am still getting up to speed on configuring splunk. Thanks again!&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 18:21:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266862#M51127</guid>
      <dc:creator>prees</dc:creator>
      <dc:date>2015-12-08T18:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the sourcetype on my Splunk forwarder from "syslog" to "json_no_timestamp"?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266863#M51128</link>
      <description>&lt;P&gt;That seems to have worked. I roughly followed how to rename it from this post here: &lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/52198/change-sourcetype-index-after-data-is-indexed-from-forwarder.html"&gt;https://answers.splunk.com/answers/52198/change-sourcetype-index-after-data-is-indexed-from-forwarder.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;

&lt;P&gt;However it is not indexing or extracting my json properly but I think that is due to the prefix syslog being added to my logs now - unrelated separate issue.&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 18:44:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266863#M51128</guid>
      <dc:creator>prees</dc:creator>
      <dc:date>2015-12-08T18:44:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the sourcetype on my Splunk forwarder from "syslog" to "json_no_timestamp"?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266864#M51129</link>
      <description>&lt;P&gt;Hi @prees&lt;/P&gt;

&lt;P&gt;Don't forget to accept @javiergn's answer to show this post as resolved and upvote the answer/comment that helped you. &lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2015 21:11:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-change-the-sourcetype-on-my-Splunk-forwarder-from-quot/m-p/266864#M51129</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2015-12-08T21:11:59Z</dc:date>
    </item>
  </channel>
</rss>

