<?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 Configuring TA: Why is Tomato change index not working? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Configuring-TA-Why-is-Tomato-change-index-not-working/m-p/585332#M76106</link>
    <description>&lt;P&gt;Hello community,&lt;/P&gt;
&lt;P&gt;first I have to say that I'm very,very new to Splunk. Getting to Splunk is because of a solution I found in the streamboard community about analysis of OSCam logs.&lt;BR /&gt;So I've installed Splunk on ubuntu and the OSCam-App from 'jotne' - works nice.&lt;/P&gt;
&lt;P&gt;Now knowing what Splunk does I thought about to analyse my routers syslog as well and came up with the TA-Tomato app.&lt;BR /&gt;So I configured my router to send the syslog data to the UDP port like OSCam does. Data is stored in index = main; sourcetype = syslog - GREAT!&lt;/P&gt;
&lt;P&gt;Now I came to the very easy things mentioned in the README:&lt;BR /&gt;- Please onboard your data as sourcetype=tomato&lt;BR /&gt;- This app also assumes your data will exist in index=tomato&lt;/P&gt;
&lt;P&gt;This maybe is no issue for someone who is familiar with Splunk but for me it isn't.&lt;BR /&gt;After two days of reading, trying to understand and testing, I didn't get this to work.&lt;/P&gt;
&lt;P&gt;I played around with some configuration I found here: &lt;A href="https://community.splunk.com/t5/All-Apps-and-Add-ons/Unable-to-get-working-with-Tomato/m-p/223350" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/All-Apps-and-Add-ons/Unable-to-get-working-with-Tomato/m-p/223350&lt;/A&gt;&lt;BR /&gt;and ended with copy the files app.conf, props.conf, transforms.conf to the local directory. (is it right if a file exists in the local dir the one in default is ignored? - think so but dont know)&lt;/P&gt;
&lt;P&gt;I insert:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[host::192.168.0.1]
TRANSFORMS-tomato = set_index_tomato,set_subtype_tomato&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to the top of probs.conf&lt;/P&gt;
&lt;P&gt;and this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[set_index_tomato}
REGEX = .
DEST_KEY = _MetaData:Index
FORMAT = tomato

[set_subtype_tomato]
REGEX = 192.168.0.1
SOURCE_KEY = MetaData:Host
FORMAT = sourcetype::tomato
DEST_KEY = MetaData:Sourcetype&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to the top of transforms.conf&lt;/P&gt;
&lt;P&gt;Sourcetype will work but index is still 'main'.&lt;BR /&gt;So, what's wrong with my stupid idea.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Wed, 16 Feb 2022 19:06:05 GMT</pubDate>
    <dc:creator>WollyCGN</dc:creator>
    <dc:date>2022-02-16T19:06:05Z</dc:date>
    <item>
      <title>Configuring TA: Why is Tomato change index not working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Configuring-TA-Why-is-Tomato-change-index-not-working/m-p/585332#M76106</link>
      <description>&lt;P&gt;Hello community,&lt;/P&gt;
&lt;P&gt;first I have to say that I'm very,very new to Splunk. Getting to Splunk is because of a solution I found in the streamboard community about analysis of OSCam logs.&lt;BR /&gt;So I've installed Splunk on ubuntu and the OSCam-App from 'jotne' - works nice.&lt;/P&gt;
&lt;P&gt;Now knowing what Splunk does I thought about to analyse my routers syslog as well and came up with the TA-Tomato app.&lt;BR /&gt;So I configured my router to send the syslog data to the UDP port like OSCam does. Data is stored in index = main; sourcetype = syslog - GREAT!&lt;/P&gt;
&lt;P&gt;Now I came to the very easy things mentioned in the README:&lt;BR /&gt;- Please onboard your data as sourcetype=tomato&lt;BR /&gt;- This app also assumes your data will exist in index=tomato&lt;/P&gt;
&lt;P&gt;This maybe is no issue for someone who is familiar with Splunk but for me it isn't.&lt;BR /&gt;After two days of reading, trying to understand and testing, I didn't get this to work.&lt;/P&gt;
&lt;P&gt;I played around with some configuration I found here: &lt;A href="https://community.splunk.com/t5/All-Apps-and-Add-ons/Unable-to-get-working-with-Tomato/m-p/223350" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/All-Apps-and-Add-ons/Unable-to-get-working-with-Tomato/m-p/223350&lt;/A&gt;&lt;BR /&gt;and ended with copy the files app.conf, props.conf, transforms.conf to the local directory. (is it right if a file exists in the local dir the one in default is ignored? - think so but dont know)&lt;/P&gt;
&lt;P&gt;I insert:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[host::192.168.0.1]
TRANSFORMS-tomato = set_index_tomato,set_subtype_tomato&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to the top of probs.conf&lt;/P&gt;
&lt;P&gt;and this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;[set_index_tomato}
REGEX = .
DEST_KEY = _MetaData:Index
FORMAT = tomato

[set_subtype_tomato]
REGEX = 192.168.0.1
SOURCE_KEY = MetaData:Host
FORMAT = sourcetype::tomato
DEST_KEY = MetaData:Sourcetype&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;to the top of transforms.conf&lt;/P&gt;
&lt;P&gt;Sourcetype will work but index is still 'main'.&lt;BR /&gt;So, what's wrong with my stupid idea.&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 19:06:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Configuring-TA-Why-is-Tomato-change-index-not-working/m-p/585332#M76106</guid>
      <dc:creator>WollyCGN</dc:creator>
      <dc:date>2022-02-16T19:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Configuring TA: Why is Tomato change index not working?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Configuring-TA-Why-is-Tomato-change-index-not-working/m-p/585607#M76121</link>
      <description>&lt;P&gt;found a solution by myself&lt;/P&gt;&lt;P&gt;I've added this into the /system/local/inputs.conf&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[udp://192.168.0.1:514]
sourcetype = tomato
index = tomato&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 17 Feb 2022 16:38:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Configuring-TA-Why-is-Tomato-change-index-not-working/m-p/585607#M76121</guid>
      <dc:creator>WollyCGN</dc:creator>
      <dc:date>2022-02-17T16:38:59Z</dc:date>
    </item>
  </channel>
</rss>

