<?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: Splunk 6.2 universal forwarder on Mac OSX 10.10.2? no data in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-2-universal-forwarder-on-Mac-OSX-10-10-2-no-data/m-p/109257#M22977</link>
    <description>&lt;P&gt;Next Challenge is going to be finding out why I have 53 hosts all my laptop with different names or variations of names. &lt;/P&gt;

&lt;P&gt;I was going to try and show that but something do with Karma point's keeping me from making this useful. o well. &lt;/P&gt;</description>
    <pubDate>Thu, 26 Mar 2015 23:55:07 GMT</pubDate>
    <dc:creator>kcarroll</dc:creator>
    <dc:date>2015-03-26T23:55:07Z</dc:date>
    <item>
      <title>Splunk 6.2 universal forwarder on Mac OSX 10.10.2? no data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-2-universal-forwarder-on-Mac-OSX-10-10-2-no-data/m-p/109253#M22973</link>
      <description>&lt;P&gt;Hey All, I am new to Splunk and trying to gain some insight. I have an all mac home and I am trying to gain some insight to what's taking place in my network and whats leaving it. &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Mac Mini OS X 10.10.2 with Splunk 6.2.2 (indexer\search)&lt;/LI&gt;
&lt;LI&gt;MacBookPro with 10.10.2 OS X &lt;/LI&gt;
&lt;LI&gt;Universal Forwarder 6.2.2 on MacBookPro&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;I have installed the server successfully and have logged in and changed the password. &lt;/P&gt;

&lt;P&gt;I have DL'd the .DMG from splunk and ran the installer, I have launched the UF with the short cut on my desktop. (so far so good)&lt;/P&gt;

&lt;P&gt;This is what it all goes pair shaped so to say. I have drilled down via the terminal app to the Applications\SplunkForwarder\etc\apps\SplunkUniversalForwarder&lt;BR /&gt;
when I am in here I can only see &lt;STRONG&gt;default&lt;/STRONG&gt; and &lt;STRONG&gt;meta&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;I select default and see lots of files, like outputs.conf, limits.conf, inputs.conf and so on. I believe that I am in the right space based on what I have read. I see in some of the docs that this location over writes or over rules the other outputs.conf in other locations. So this is the one I need to setup the server to send the data to from what I can gather. &lt;/P&gt;

&lt;P&gt;I edit them and add the lines for the following:&lt;BR /&gt;
&lt;STRONG&gt;outputs.conf&lt;/STRONG&gt;&lt;/P&gt;

&lt;H1&gt;Version 6.2.2&lt;/H1&gt;

&lt;P&gt;[tcpout]&lt;BR /&gt;
forwardedindex.0.whitelist = .*&lt;BR /&gt;
forwardedindex.1.blacklist = _.*&lt;BR /&gt;
forwardedindex.2.whitelist = (_audit|_introspection)&lt;BR /&gt;
forwardedindex.filter.disable = false&lt;/P&gt;

&lt;P&gt;[tcpout:my_indexer]&lt;BR /&gt;
server=NN.NN.NN.NN:9997    &amp;lt;--- this is what I added&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;inputs.conf&lt;/STRONG&gt;&lt;BR /&gt;
[monitor:///var/log]&lt;BR /&gt;
 sourcetype=syslog&lt;BR /&gt;
 host=mymachinename&lt;/P&gt;

&lt;P&gt;I stop the Splunk service and start it again with the desktop icon.&lt;/P&gt;

&lt;P&gt;Now I go to the serverwebpage:8000 and I am all excited and yep, nothing at all. Back to reading more loads of doc's that don't seem to related really to MAC OS X (aka unix, i get it) . I am not a UNIX admin nor have I ever been. So its little clumsy to fumble around but i get there sooner or later. &lt;/P&gt;

&lt;P&gt;It dawns on me that maybe I need to make sure the server is actually listening on that port. I got to "settings/forwarding and receiving" and select add new under the "receiving data" header. I add the port 9997. I restart splunk on the laptop and I wait about 10 mins......still nothing.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Troubleshooting&lt;/STRONG&gt;&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;I can ping the server and vice versa&lt;/LI&gt;
&lt;LI&gt;I can ssh to the server&lt;/LI&gt;
&lt;LI&gt;firewall is off on the macbook\server&lt;/LI&gt;
&lt;LI&gt;I can telnet to port 9997 on the server from the laptop&lt;/LI&gt;
&lt;LI&gt;I can telnet to port 8089 on the laptop from server &lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Logic is I got good connectivity via ip or dns. So this has to be some config logic I am missing. &lt;/P&gt;

&lt;P&gt;Can anyone offer some direction on what load of doc's I must be not finding? Its can't be this freakin hard to make a client to talk to the indexer with a UF? Right? (stumped)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:17:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-2-universal-forwarder-on-Mac-OSX-10-10-2-no-data/m-p/109253#M22973</guid>
      <dc:creator>kcarroll</dc:creator>
      <dc:date>2020-09-28T19:17:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.2 universal forwarder on Mac OSX 10.10.2? no data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-2-universal-forwarder-on-Mac-OSX-10-10-2-no-data/m-p/109254#M22974</link>
      <description>&lt;P&gt;Best practice: Never edit files in &lt;STRONG&gt;default&lt;/STRONG&gt;. &lt;BR /&gt;
Create a folder called &lt;STRONG&gt;local&lt;/STRONG&gt; in the same directory that has default/meta and make all your configurations there.&lt;/P&gt;

&lt;P&gt;Your outputs.conf for a single indexer should look like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[tcpout-server://nn.nn.nn.nn:9997]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This is documented pretty well &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/Forwarding/Configureforwarderswithoutputs.confd#Single-server_stanza"&gt;here&lt;/A&gt; &lt;/P&gt;

&lt;P&gt;Then you do the same for your inputs.conf, i.e. create a new file in the local directory and add your settings.&lt;BR /&gt;
I'd recommend reading &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.2/Admin/Configurationfiledirectories"&gt;this&lt;/A&gt; until you understand how Splunk processes .conf files.&lt;/P&gt;

&lt;P&gt;You don't need to enable receiving on your forwarder system, but you do need to enable it on the indexer for the port you are using (Settings-&amp;gt;Forwarding And Receiving-&amp;gt;Receive Data). &lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2015 05:46:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-2-universal-forwarder-on-Mac-OSX-10-10-2-no-data/m-p/109254#M22974</guid>
      <dc:creator>s2_splunk</dc:creator>
      <dc:date>2015-03-26T05:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.2 universal forwarder on Mac OSX 10.10.2? no data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-2-universal-forwarder-on-Mac-OSX-10-10-2-no-data/m-p/109255#M22975</link>
      <description>&lt;P&gt;Hello and thanks for the answers. .&lt;/P&gt;

&lt;P&gt;I need to adjust the stanza on the client it would seem. The doc you linked is the one I was reading and I am using the first style in that doc as to where you're suggesting the third style. Which I will be giving a go tonight and see where it takes me. &lt;/P&gt;

&lt;P&gt;As far as editing the defaults, yes I know better, but i got lazy and frustrated. I should have just mkdir local and then vi inputs.conf and outputs.conf. Then I could have dealt with them, doh! something that is easy to fix tonight also. &lt;/P&gt;

&lt;P&gt;again thanks for the links and answers. let ya know how it works out tonight. &lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2015 13:34:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-2-universal-forwarder-on-Mac-OSX-10-10-2-no-data/m-p/109255#M22975</guid>
      <dc:creator>kcarroll</dc:creator>
      <dc:date>2015-03-26T13:34:03Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.2 universal forwarder on Mac OSX 10.10.2? no data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-2-universal-forwarder-on-Mac-OSX-10-10-2-no-data/m-p/109256#M22976</link>
      <description>&lt;P&gt;So freaking Awesome..... it's working, it's working (in my best Anikin Skywalker voice)&lt;/P&gt;

&lt;P&gt;Thanks much&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2015 23:25:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-2-universal-forwarder-on-Mac-OSX-10-10-2-no-data/m-p/109256#M22976</guid>
      <dc:creator>kcarroll</dc:creator>
      <dc:date>2015-03-26T23:25:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk 6.2 universal forwarder on Mac OSX 10.10.2? no data</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-2-universal-forwarder-on-Mac-OSX-10-10-2-no-data/m-p/109257#M22977</link>
      <description>&lt;P&gt;Next Challenge is going to be finding out why I have 53 hosts all my laptop with different names or variations of names. &lt;/P&gt;

&lt;P&gt;I was going to try and show that but something do with Karma point's keeping me from making this useful. o well. &lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2015 23:55:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Splunk-6-2-universal-forwarder-on-Mac-OSX-10-10-2-no-data/m-p/109257#M22977</guid>
      <dc:creator>kcarroll</dc:creator>
      <dc:date>2015-03-26T23:55:07Z</dc:date>
    </item>
  </channel>
</rss>

