<?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: Getting Data into iseries app in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Getting-Data-into-iseries-app/m-p/77275#M15820</link>
    <description>&lt;P&gt;I can well believe that your inputs.conf did not work, as the syntax is not at all what Splunk expects.&lt;/P&gt;

&lt;P&gt;You will need to use the &lt;CODE&gt;props.conf&lt;/CODE&gt; and &lt;CODE&gt;transforms.conf&lt;/CODE&gt; files to override the sourcetype setting on events arriving from the network port. There is a good example in the documentation &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/overridedefaulthostassignments"&gt;on how to override default &lt;EM&gt;host&lt;/EM&gt; assignments&lt;/A&gt;. You can use this same idea to reset the sourcetype. Your &lt;CODE&gt;props.conf&lt;/CODE&gt; and &lt;CODE&gt;transforms.conf&lt;/CODE&gt; might look like this:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog]
TRANSFORMS-syslog1=reset-sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[reset-sourcetype]
SOURCE_KEY = MetaData:Host
DEST_KEY = MetaData:Sourcetype
REGEX = (?i)as400
FORMAT = sourcetype::as400
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This assumes that your host is being set properly. If it doesn't work, post back - there is another way to do this as well.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Jan 2013 20:28:33 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2013-01-03T20:28:33Z</dc:date>
    <item>
      <title>Getting Data into iseries app</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-Data-into-iseries-app/m-p/77274#M15819</link>
      <description>&lt;P&gt;I have multiple feeds coming into UDP:514, from this input I have ASA, ESA, and as400 data coming in.  I have recently installed the iseries app and am having trouble getting data into it.  The data coming from UDP:514 all goes to sourcetype= syslog using this stanza in the global settings&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ect\system\inputs.conf

[udp://514]
connection_host = ip
index = index_syslog
sourcetype = syslog
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;in the iseries apps local i want to split out the data that comes from the as400 by changing the sourcetype to [as400].  to do this I attempted to use the stanza in file&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;etc\apps\iseries\local\inputs.conf

[as400]
search = sourcetype= syslog
disabled = 0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but it did not work. So my question is how do I extract just the as400 data out of my UDP:514 input and change the sourcetype so that the data will flow into the iseries app properly.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2013 18:54:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-Data-into-iseries-app/m-p/77274#M15819</guid>
      <dc:creator>jarjoh42</dc:creator>
      <dc:date>2013-01-03T18:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Data into iseries app</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-Data-into-iseries-app/m-p/77275#M15820</link>
      <description>&lt;P&gt;I can well believe that your inputs.conf did not work, as the syntax is not at all what Splunk expects.&lt;/P&gt;

&lt;P&gt;You will need to use the &lt;CODE&gt;props.conf&lt;/CODE&gt; and &lt;CODE&gt;transforms.conf&lt;/CODE&gt; files to override the sourcetype setting on events arriving from the network port. There is a good example in the documentation &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Data/overridedefaulthostassignments"&gt;on how to override default &lt;EM&gt;host&lt;/EM&gt; assignments&lt;/A&gt;. You can use this same idea to reset the sourcetype. Your &lt;CODE&gt;props.conf&lt;/CODE&gt; and &lt;CODE&gt;transforms.conf&lt;/CODE&gt; might look like this:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;props.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[syslog]
TRANSFORMS-syslog1=reset-sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;transforms.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[reset-sourcetype]
SOURCE_KEY = MetaData:Host
DEST_KEY = MetaData:Sourcetype
REGEX = (?i)as400
FORMAT = sourcetype::as400
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This assumes that your host is being set properly. If it doesn't work, post back - there is another way to do this as well.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jan 2013 20:28:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-Data-into-iseries-app/m-p/77275#M15820</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-01-03T20:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Data into iseries app</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-Data-into-iseries-app/m-p/77276#M15821</link>
      <description>&lt;P&gt;I now have the data sorted by host and the as400 sourcetype is being assigned correctly at the ect system level.  My problem is now that the app is not seeing the as400 sourcetype and accepting the data.  within the app i have tried different configuration with non of them working.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2013 14:28:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-Data-into-iseries-app/m-p/77276#M15821</guid>
      <dc:creator>jarjoh42</dc:creator>
      <dc:date>2013-06-17T14:28:00Z</dc:date>
    </item>
    <item>
      <title>Re: Getting Data into iseries app</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Getting-Data-into-iseries-app/m-p/77277#M15822</link>
      <description>&lt;P&gt;I don't know what you mean by "source type being assigned correctly at etc/system level" - it would be helpful if you could show the relevant config file snippets..&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2013 16:36:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Getting-Data-into-iseries-app/m-p/77277#M15822</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-06-17T16:36:10Z</dc:date>
    </item>
  </channel>
</rss>

