<?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: Following the dev page &amp;quot;Create a Lambda function in Java&amp;quot; for HEC, why am I unable to locate the logs in Splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251034#M48342</link>
    <description>&lt;P&gt;I created the original Eclipse example, so I know it &lt;EM&gt;can&lt;/EM&gt; work as I had  a working version which I passed off to our docs team. This is against a managed Splunk cloud instance yes?&lt;/P&gt;</description>
    <pubDate>Sat, 10 Sep 2016 05:53:05 GMT</pubDate>
    <dc:creator>gblock_splunk</dc:creator>
    <dc:date>2016-09-10T05:53:05Z</dc:date>
    <item>
      <title>Following the dev page "Create a Lambda function in Java" for HEC, why am I unable to locate the logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251026#M48334</link>
      <description>&lt;P&gt;I followed &lt;A href="http://dev.splunk.com/view/event-collector/SP-CAAAE62"&gt;http://dev.splunk.com/view/event-collector/SP-CAAAE62&lt;/A&gt; for HTTP Event Collector and am able to run successfully through Eclipse which I can see the input what I passed and it got resulted in the console, but I was not able to see the same input in Splunk. I used same log4j2 as mentioned and gave the Splunk host and token. &lt;/P&gt;

&lt;P&gt;My log4j looks like,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;Http name="http" 
        url="https://http-inputs-******-ma.splunkcloud.com/services/collector/event"
        token="*******-***-****-****-**********"
        disableCertificateValidation="true" batch_size_count="1"&amp;gt;
        &amp;lt;PatternLayout pattern="%m" /&amp;gt;
    &amp;lt;/Http&amp;gt;
&amp;lt;/Appenders&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note : I did test the same with curl. It works and I can see the message.&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2016 21:41:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251026#M48334</guid>
      <dc:creator>San55240</dc:creator>
      <dc:date>2016-08-25T21:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Following the dev page "Create a Lambda function in Java" for HEC, why am I unable to locate the logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251027#M48335</link>
      <description>&lt;P&gt;So you are testing from Eclipse and you're not seeing anything getting posted?  Can you verify that your code tried to connect to your event collector endpoint?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 00:04:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251027#M48335</guid>
      <dc:creator>Jeremiah</dc:creator>
      <dc:date>2016-08-26T00:04:02Z</dc:date>
    </item>
    <item>
      <title>Re: Following the dev page "Create a Lambda function in Java" for HEC, why am I unable to locate the logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251028#M48336</link>
      <description>&lt;P&gt;@Jeremiah I can able to see the output in my Eclipse console but not in Splunk. Your ask about "try to connect to your event collector", I just done the same way what the url mentioned seems the connection between my code and HEC is not happening through log4j2. Do you know any other way to test and see the connection is happening in java.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 01:46:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251028#M48336</guid>
      <dc:creator>San55240</dc:creator>
      <dc:date>2016-08-26T01:46:58Z</dc:date>
    </item>
    <item>
      <title>Re: Following the dev page "Create a Lambda function in Java" for HEC, why am I unable to locate the logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251029#M48337</link>
      <description>&lt;P&gt;@San55240, try removing "/services/collector/event" for the url, the logging library sets this. I noticed you did not set the port, is your HEC instance on port 80?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2016 01:12:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251029#M48337</guid>
      <dc:creator>gblock_splunk</dc:creator>
      <dc:date>2016-08-27T01:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Following the dev page "Create a Lambda function in Java" for HEC, why am I unable to locate the logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251030#M48338</link>
      <description>&lt;P&gt;@gblock I tried removing "/services/collector/event", Still not able to see the logs in Splunk. Yes ,My HEC instance port is running on 80.&lt;/P&gt;

&lt;P&gt;It worked when I tried same host and token by curl. Did anyone tried this eclipse example &lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2016 19:16:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251030#M48338</guid>
      <dc:creator>San55240</dc:creator>
      <dc:date>2016-08-27T19:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: Following the dev page "Create a Lambda function in Java" for HEC, why am I unable to locate the logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251031#M48339</link>
      <description>&lt;P&gt;Can you show me a gist of the code in your lambda?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2016 21:45:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251031#M48339</guid>
      <dc:creator>gblock_splunk</dc:creator>
      <dc:date>2016-08-27T21:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Following the dev page "Create a Lambda function in Java" for HEC, why am I unable to locate the logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251032#M48340</link>
      <description>&lt;P&gt;Also did you check the lambda logs to see if there was an error?&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2016 21:46:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251032#M48340</guid>
      <dc:creator>gblock_splunk</dc:creator>
      <dc:date>2016-08-27T21:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Following the dev page "Create a Lambda function in Java" for HEC, why am I unable to locate the logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251033#M48341</link>
      <description>&lt;P&gt;&lt;A href="https://github.com/santhoshjoy/hellolambda.git"&gt;https://github.com/santhoshjoy/hellolambda.git&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 17:44:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251033#M48341</guid>
      <dc:creator>San55240</dc:creator>
      <dc:date>2016-09-06T17:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Following the dev page "Create a Lambda function in Java" for HEC, why am I unable to locate the logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251034#M48342</link>
      <description>&lt;P&gt;I created the original Eclipse example, so I know it &lt;EM&gt;can&lt;/EM&gt; work as I had  a working version which I passed off to our docs team. This is against a managed Splunk cloud instance yes?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2016 05:53:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251034#M48342</guid>
      <dc:creator>gblock_splunk</dc:creator>
      <dc:date>2016-09-10T05:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: Following the dev page "Create a Lambda function in Java" for HEC, why am I unable to locate the logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251035#M48343</link>
      <description>&lt;P&gt;Here's a screenshot from when I had this working. You can see the code and the Splunk event on the other side.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://www.dropbox.com/s/948pvvqkqser7s0/Lambda.png?dl=0"&gt;https://www.dropbox.com/s/948pvvqkqser7s0/Lambda.png?dl=0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2016 05:58:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251035#M48343</guid>
      <dc:creator>gblock_splunk</dc:creator>
      <dc:date>2016-09-10T05:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Following the dev page "Create a Lambda function in Java" for HEC, why am I unable to locate the logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251036#M48344</link>
      <description>&lt;P&gt;For sure it should &lt;EM&gt;not&lt;/EM&gt; have /services/collector in the url.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2016 06:01:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251036#M48344</guid>
      <dc:creator>gblock_splunk</dc:creator>
      <dc:date>2016-09-10T06:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: Following the dev page "Create a Lambda function in Java" for HEC, why am I unable to locate the logs in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251037#M48345</link>
      <description>&lt;P&gt;Also, can you try specifying port 80 explicitly?&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2016 06:03:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Following-the-dev-page-quot-Create-a-Lambda-function-in-Java/m-p/251037#M48345</guid>
      <dc:creator>gblock_splunk</dc:creator>
      <dc:date>2016-09-10T06:03:31Z</dc:date>
    </item>
  </channel>
</rss>

