<?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: Can anyone please help me with Splunk App for AWS? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425434#M52003</link>
    <description>&lt;H2&gt;I am using the SQS based S3 only with below configurations.&lt;/H2&gt;

&lt;P&gt;[aws_sqs_based_s3://S3_Logs]&lt;BR /&gt;
aws_account = RoleName&lt;BR /&gt;
aws_iam_role = RoleName&lt;BR /&gt;
interval = 300&lt;BR /&gt;
s3_file_decoder = S3AccessLogs&lt;BR /&gt;
sourcetype = aws:s3:accesslogs&lt;BR /&gt;
sqs_batch_size = 10&lt;BR /&gt;
sqs_queue_region = us-east-1&lt;BR /&gt;
sqs_queue_url = queueName&lt;/P&gt;

&lt;H2&gt;disabled = 0&lt;/H2&gt;</description>
    <pubDate>Tue, 29 Sep 2020 22:56:33 GMT</pubDate>
    <dc:creator>ashishebansal</dc:creator>
    <dc:date>2020-09-29T22:56:33Z</dc:date>
    <item>
      <title>Can anyone please help me with Splunk App for AWS?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425426#M51995</link>
      <description>&lt;P&gt;I am facing issue as per which S3 dashboard option in Splunk App for AWS is not loading any data. The Splunk documentation says that S3 data should be on-boarded using "sourcetype=aws:s3:accesslogs", however the query in S3 traffic tab has "aws:cloudtrai"l in it. I tried changing it to "aws:s3:accesslogs" but query is still not working out. I tried almost everything but it seems like a complicated issue as per which I will have to rebuilt the entire dashboard.&lt;/P&gt;

&lt;P&gt;So, is it something that is a miss out from Splunk or myself?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 09:45:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425426#M51995</guid>
      <dc:creator>ashishebansal</dc:creator>
      <dc:date>2019-01-23T09:45:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone please help me with Splunk App for AWS?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425427#M51996</link>
      <description>&lt;P&gt;First, make sure that you are sending your AWS data to the main index, if you created your own 'aws' index, then make sure to update the macros so that the summary indexes are properly populated. Here is a &lt;A href="https://github.com/amiracle/cooking_with_Splunk_and_AWS/blob/master/05%20-%20Troubleshoot%20App.pptx"&gt;troubleshooting guide&lt;/A&gt; to help you. &lt;/P&gt;

&lt;P&gt;Once you have set that up, then the queries should work and the source type 'aws:cloudtrail' will show the S3 access since the query is using the cloud trail API calls to S3 to show the access of the events.  &lt;/P&gt;

&lt;P&gt;That specific dashboard is using data models which are populated with the saved searches and macros mentioned in the troubleshooting guide. &lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 14:58:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425427#M51996</guid>
      <dc:creator>amiracle</dc:creator>
      <dc:date>2019-01-23T14:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone please help me with Splunk App for AWS?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425428#M51997</link>
      <description>&lt;P&gt;I have tried most of the things to make that S3 dashboard work but it isn't.&lt;/P&gt;

&lt;P&gt;Just to explain it little more, I am sending the data to &lt;STRONG&gt;main&lt;/STRONG&gt; index with sourcetype="aws:s3:accesslogs" but it is still not working out. I am trying to work on some POC that will need this app as well, if possible then can we connect regarding this on call or email?&lt;/P&gt;

&lt;P&gt;Query one the view in this dashboard is using.&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;(index="main" OR (index="main" OR index="default") OR index="default") sourcetype="aws:cloudtrail" &lt;BR /&gt;
| lookup all_eventName eventName OUTPUTNEW function &lt;BR /&gt;
| search function="S3 Data Event" &lt;BR /&gt;
| spath output=bucketName path="requestParameters.bucketName" &lt;BR /&gt;
| spath output=objectName path=requestParameters.key &lt;BR /&gt;
| spath output=userName path=userIdentity.userName &lt;BR /&gt;
| eval error=if(errorCode=="success",0, 1) &lt;BR /&gt;
| lookup unauthorized_errorCode errorCode OUTPUT Unauthorized &lt;BR /&gt;
| eval Unauthorized=if(Unauthorized=="true", 1, 0) &lt;BR /&gt;
| stats count by region, aws_account_id, bucketName, objectName, userName, eventName, userAgent, sourceIPAddress,Unauthorized, error, readOnly,_time &lt;BR /&gt;
| search (aws_account_id="&lt;EM&gt;") (region="&lt;/EM&gt;") &lt;BR /&gt;
| stats sum(count) as count sum(error) as errors &lt;BR /&gt;
| nadefault errors count &lt;BR /&gt;
| eval _total_name="Data Events", _total_field=count&lt;/P&gt;

&lt;HR /&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:56:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425428#M51997</guid>
      <dc:creator>ashishebansal</dc:creator>
      <dc:date>2020-09-29T22:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone please help me with Splunk App for AWS?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425429#M51998</link>
      <description>&lt;P&gt;There seems to be an issue with the field extraction for the userName. Try setting the 6th line to :&lt;BR /&gt;
    | spath output=userName path=userIdentity.sessionContext.sessionIssuer.userName&lt;/P&gt;

&lt;P&gt;The search should complete with the count and errors tables populating.  Here is the complete search, I took out the last 'search' since I'm not running it within the context of the search filters on the dashboard:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;(index="main" OR (index="main" OR index="default") OR index="default") sourcetype="aws:cloudtrail" 
| lookup all_eventName eventName OUTPUTNEW function 
| search function="S3 Data Event"
| spath output=bucketName path="requestParameters.bucketName" 
| spath output=objectName path=requestParameters.key 
| spath output=userName path=userIdentity.sessionContext.sessionIssuer.userName
| eval error=if(errorCode=="success",0, 1) 
| lookup unauthorized_errorCode errorCode OUTPUT Unauthorized
| eval Unauthorized=if(Unauthorized=="true", 1, 0) 
| stats count by region, aws_account_id, bucketName, objectName, userName, userAgent, sourceIPAddress,Unauthorized, error, readOnly, _time
| stats sum(count) as count sum(error) as errors 
| nadefault errors count 
| eval _total_name="Data Events", _total_field=count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Jan 2019 16:40:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425429#M51998</guid>
      <dc:creator>amiracle</dc:creator>
      <dc:date>2019-01-23T16:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone please help me with Splunk App for AWS?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425430#M51999</link>
      <description>&lt;P&gt;Hi Amiracle, &lt;/P&gt;

&lt;P&gt;Thank you so much for providing that solution.&lt;/P&gt;

&lt;P&gt;I followed your approach and was able to fix most of the issues but "Most Recent Modifications - Latest 10" is still not working out.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Below is the query:&lt;/STRONG&gt;&lt;/P&gt;

&lt;HR /&gt;

&lt;P&gt;(index="main" OR (index="main" OR index="default") OR index="default") sourcetype="aws:cloudtrail" &lt;BR /&gt;
| lookup all_eventName eventName OUTPUTNEW function &lt;BR /&gt;
| search function="S3 Data Event" &lt;BR /&gt;
| spath output=bucketName path="requestParameters.bucketName" &lt;BR /&gt;
| spath output=objectName path=requestParameters.key &lt;BR /&gt;
| spath output=userName path=userIdentity.sessionContext.sessionIssuer.userName &lt;BR /&gt;
| eval error=if(errorCode=="success",0, 1) &lt;BR /&gt;
| lookup unauthorized_errorCode errorCode OUTPUT Unauthorized &lt;BR /&gt;
| eval Unauthorized=if(Unauthorized=="true", 1, 0) &lt;BR /&gt;
| stats count by region, aws_account_id, bucketName, objectName, userName, eventName, userAgent, sourceIPAddress,Unauthorized, error, readOnly,_time &lt;BR /&gt;
| search (aws_account_id="&lt;EM&gt;") (region="&lt;/EM&gt;") &lt;BR /&gt;
| search readOnly=false (eventName="DeleteObject" OR eventName="PutObject" OR eventName="PostObject") &lt;BR /&gt;
| sort - _time limit=10 &lt;BR /&gt;
| eval _time=strftime(_time, "%m/%d/%Y %H:%M:%S") &lt;BR /&gt;
| table bucketName, objectName, userName, eventName, sourceIPAddress, userAgent, _time &lt;/P&gt;

&lt;H2&gt;| rename bucketName as BucketName, objectName as ObjectName, userName as UserName, eventName as EventName, sourceIPAddress as "Source IP Address", userAgent as UserAgent, _time as Time&lt;/H2&gt;

&lt;P&gt;The other tab &lt;STRONG&gt;"S3 - Traffic Analysis"&lt;/STRONG&gt; is not working at all.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:56:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425430#M51999</guid>
      <dc:creator>ashishebansal</dc:creator>
      <dc:date>2020-09-29T22:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone please help me with Splunk App for AWS?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425431#M52000</link>
      <description>&lt;P&gt;S3 Traffic Analysis is based on the data model: S3_Access_Log (Settings -&amp;gt; Data Models) and see if the data model was built. If not, hit the rebuild button or update it. &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:55:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425431#M52000</guid>
      <dc:creator>amiracle</dc:creator>
      <dc:date>2020-09-29T22:55:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone please help me with Splunk App for AWS?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425432#M52001</link>
      <description>&lt;P&gt;Yes, sure thanks a lot for help. Is there anything that you can suggest me to try before the model rebuilt ?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 18:33:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425432#M52001</guid>
      <dc:creator>ashishebansal</dc:creator>
      <dc:date>2019-01-23T18:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone please help me with Splunk App for AWS?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425433#M52002</link>
      <description>&lt;P&gt;No, all the data is contained in the model so changing any of the searches would just lead to missing fields etc. Are you sending the data into Splunk using the SQS Based S3 input or are you using another method?&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 18:36:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425433#M52002</guid>
      <dc:creator>amiracle</dc:creator>
      <dc:date>2019-01-23T18:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone please help me with Splunk App for AWS?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425434#M52003</link>
      <description>&lt;H2&gt;I am using the SQS based S3 only with below configurations.&lt;/H2&gt;

&lt;P&gt;[aws_sqs_based_s3://S3_Logs]&lt;BR /&gt;
aws_account = RoleName&lt;BR /&gt;
aws_iam_role = RoleName&lt;BR /&gt;
interval = 300&lt;BR /&gt;
s3_file_decoder = S3AccessLogs&lt;BR /&gt;
sourcetype = aws:s3:accesslogs&lt;BR /&gt;
sqs_batch_size = 10&lt;BR /&gt;
sqs_queue_region = us-east-1&lt;BR /&gt;
sqs_queue_url = queueName&lt;/P&gt;

&lt;H2&gt;disabled = 0&lt;/H2&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:56:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425434#M52003</guid>
      <dc:creator>ashishebansal</dc:creator>
      <dc:date>2020-09-29T22:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone please help me with Splunk App for AWS?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425435#M52004</link>
      <description>&lt;P&gt;Any solution for &lt;STRONG&gt;"Most Recent Modifications - Latest 10"&lt;/STRONG&gt; from S3 - Data events that is also not working out.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 18:44:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425435#M52004</guid>
      <dc:creator>ashishebansal</dc:creator>
      <dc:date>2019-01-23T18:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone please help me with Splunk App for AWS?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425436#M52005</link>
      <description>&lt;P&gt;Yes, check the saved search "CloudTrail S3 Data Event Search" and see if it has completed with results. (Settings -&amp;gt; Search, reports and Alerts -&amp;gt; Find "CloudTrail S3 Data Event Search" and then click on Results.) If it's disabled, enable the search. &lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 18:50:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425436#M52005</guid>
      <dc:creator>amiracle</dc:creator>
      <dc:date>2019-01-23T18:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone please help me with Splunk App for AWS?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425437#M52006</link>
      <description>&lt;P&gt;That is the base search that is being used by this dashboard to help populate the different reports. &lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 18:50:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425437#M52006</guid>
      <dc:creator>amiracle</dc:creator>
      <dc:date>2019-01-23T18:50:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can anyone please help me with Splunk App for AWS?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425438#M52007</link>
      <description>&lt;P&gt;Yes, it is enabled and has completed the results.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 19:00:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Can-anyone-please-help-me-with-Splunk-App-for-AWS/m-p/425438#M52007</guid>
      <dc:creator>ashishebansal</dc:creator>
      <dc:date>2019-01-23T19:00:34Z</dc:date>
    </item>
  </channel>
</rss>

