<?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 to view events from HTTP Event Connector? in Security</title>
    <link>https://community.splunk.com/t5/Security/How-to-view-events-from-HTTP-Event-Connector/m-p/351372#M8846</link>
    <description>&lt;P&gt;Starcher:&lt;/P&gt;

&lt;P&gt;Thanks. Let me answer what I had  done.  If I need to do something else for the steps please let me know.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;I see the Index named 'sample' in  Setting-&amp;gt;Indexes, I see a row for sample ($SPLUNK_DB/sample/db, 0 events, enabled)&lt;/LI&gt;
&lt;LI&gt;Settings-&amp;gt;Http Event Collector-&amp;gt;test-token-1 edit-&amp;gt;Default Index -&amp;gt;Sample. (hope this is what is intended configuration)&lt;/LI&gt;
&lt;LI&gt;I am logged in as admin. I add all the roles available. Settings-&amp;gt;Access Control -&amp;gt; Admin&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 10 Mar 2017 23:11:37 GMT</pubDate>
    <dc:creator>rajpraba</dc:creator>
    <dc:date>2017-03-10T23:11:37Z</dc:date>
    <item>
      <title>How to view events from HTTP Event Connector?</title>
      <link>https://community.splunk.com/t5/Security/How-to-view-events-from-HTTP-Event-Connector/m-p/351370#M8844</link>
      <description>&lt;P&gt;I have installed AWS Splunk enterprise. We plan to redirect our Node JS application logs to Splunk. I have setup http event connector and got a token. I am able to send event logs from console (curl) as well as from application. But I dont see it anywhere.&lt;/P&gt;

&lt;P&gt;The search/dashboard shows 0 events. But the Index says 1 MB...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k &lt;A href="https://54.xx.xx.xx:8088/services/collector" target="test_blank"&gt;https://54.xx.xx.xx:8088/services/collector&lt;/A&gt; -H 'Authorization: Splunk xxxxx  -d '{"source": "test-token-1", "sourcetype": "_json", "index":"sample", "event":"Hello, World!"}' 
{"text":"Success","code":0}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The name of  the input token  is 'test-token-1'. this is configured as source type _json and default index as 'sample'&amp;gt;&lt;/P&gt;

&lt;P&gt;The search shows 0 events&lt;/P&gt;

&lt;P&gt;I ssh to the box and see the folder &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[ec2-user@ip-172-31-36-245 ~]$ sudo find / -name sample -type d
/opt/splunk/var/lib/splunk/sample
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but don't have permission to see the content.&lt;/P&gt;

&lt;P&gt;Any help is approeciated.&lt;/P&gt;

&lt;P&gt;thanks&lt;BR /&gt;
Raj&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 18:30:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-view-events-from-HTTP-Event-Connector/m-p/351370#M8844</guid>
      <dc:creator>rajpraba</dc:creator>
      <dc:date>2017-03-10T18:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to view events from HTTP Event Connector?</title>
      <link>https://community.splunk.com/t5/Security/How-to-view-events-from-HTTP-Event-Connector/m-p/351371#M8845</link>
      <description>&lt;P&gt;Are you:&lt;BR /&gt;
1. sure index = sample exists?&lt;BR /&gt;
2. the HEC token was given permission to the index?&lt;BR /&gt;
3. that you have permission to search index = sample if 1 and 2 above are true.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 21:55:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-view-events-from-HTTP-Event-Connector/m-p/351371#M8845</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2017-03-10T21:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to view events from HTTP Event Connector?</title>
      <link>https://community.splunk.com/t5/Security/How-to-view-events-from-HTTP-Event-Connector/m-p/351372#M8846</link>
      <description>&lt;P&gt;Starcher:&lt;/P&gt;

&lt;P&gt;Thanks. Let me answer what I had  done.  If I need to do something else for the steps please let me know.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;I see the Index named 'sample' in  Setting-&amp;gt;Indexes, I see a row for sample ($SPLUNK_DB/sample/db, 0 events, enabled)&lt;/LI&gt;
&lt;LI&gt;Settings-&amp;gt;Http Event Collector-&amp;gt;test-token-1 edit-&amp;gt;Default Index -&amp;gt;Sample. (hope this is what is intended configuration)&lt;/LI&gt;
&lt;LI&gt;I am logged in as admin. I add all the roles available. Settings-&amp;gt;Access Control -&amp;gt; Admin&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 23:11:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-view-events-from-HTTP-Event-Connector/m-p/351372#M8846</guid>
      <dc:creator>rajpraba</dc:creator>
      <dc:date>2017-03-10T23:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to view events from HTTP Event Connector?</title>
      <link>https://community.splunk.com/t5/Security/How-to-view-events-from-HTTP-Event-Connector/m-p/351373#M8847</link>
      <description>&lt;P&gt;Since, The response from console was&lt;BR /&gt;
{"text":"Success","code":0}, It appears the event is logged.&lt;BR /&gt;
After playing with this all day, I got a message, &lt;BR /&gt;
'Disk Monitor: Cannot write data to index path '/opt/splunk/var/lib/splunk/_internaldb/db' because you are low on disk space on partition '/'. Indexing has been paused. Free disk space above 5000MB to resume indexing.'&lt;/P&gt;

&lt;P&gt;However the search is showing 0. So, I would think the admin does not have rights to see any of the events logged. I also connected my Node JS app server logs. They seem be to logging but  my "search" is empty. shows waiting for data. And shows 0 events in  http event conenctor dahsboard&lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 23:38:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-view-events-from-HTTP-Event-Connector/m-p/351373#M8847</guid>
      <dc:creator>rajpraba</dc:creator>
      <dc:date>2017-03-10T23:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to view events from HTTP Event Connector?</title>
      <link>https://community.splunk.com/t5/Security/How-to-view-events-from-HTTP-Event-Connector/m-p/351374#M8848</link>
      <description>&lt;P&gt;Sounds like you answered it. Indexing paused due to space. &lt;/P&gt;</description>
      <pubDate>Fri, 10 Mar 2017 23:51:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-view-events-from-HTTP-Event-Connector/m-p/351374#M8848</guid>
      <dc:creator>starcher</dc:creator>
      <dc:date>2017-03-10T23:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to view events from HTTP Event Connector?</title>
      <link>https://community.splunk.com/t5/Security/How-to-view-events-from-HTTP-Event-Connector/m-p/351375#M8849</link>
      <description>&lt;P&gt;starcher:&lt;BR /&gt;
Thank you so much for leading me into the solution. The  aws micro medium instance I used which quickly filled with logs. I used small instance to play with before committing to c3.xlarge instance which works flawlessly.&lt;BR /&gt;&lt;BR /&gt;
Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 13 Mar 2017 00:33:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-view-events-from-HTTP-Event-Connector/m-p/351375#M8849</guid>
      <dc:creator>rajpraba</dc:creator>
      <dc:date>2017-03-13T00:33:04Z</dc:date>
    </item>
  </channel>
</rss>

