<?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: To filter data from cloudwatch logs to splunk in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/To-filter-data-from-cloudwatch-logs-to-splunk/m-p/456937#M95260</link>
    <description>&lt;P&gt;Hey niddhi,&lt;/P&gt;

&lt;P&gt;Refer this link:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/Forwarding/Routeandfilterdatad"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;BR /&gt;
You need to add the filters in props and transforms.&lt;/P&gt;

&lt;P&gt;You need to add the parameters in the sourcetype stanza(sourcetype = aws:cloudwatch) in the props and transforms.&lt;BR /&gt;
Create this stanza in /opt/splunk/etc/apps/aws/local and not in default.&lt;BR /&gt;
Thou, you will have to verify the path as i am not sure how the app name will reflect.&lt;/P&gt;

&lt;P&gt;Let me know if this helps!!&lt;/P&gt;</description>
    <pubDate>Fri, 17 May 2019 11:08:06 GMT</pubDate>
    <dc:creator>deepashri_123</dc:creator>
    <dc:date>2019-05-17T11:08:06Z</dc:date>
    <item>
      <title>To filter data from cloudwatch logs to splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/To-filter-data-from-cloudwatch-logs-to-splunk/m-p/456933#M95256</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am getting cloudwatch logs data into Splunk. Right now, i am getting all the log data but i want only specific data(for eg, only the json stream being populated in logs once in a while).&lt;/P&gt;

&lt;P&gt;How can i filter the data before Splunk ingest all of it from Cloudwatch Logs.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Niddhi&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 19:05:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/To-filter-data-from-cloudwatch-logs-to-splunk/m-p/456933#M95256</guid>
      <dc:creator>niddhi</dc:creator>
      <dc:date>2019-05-16T19:05:41Z</dc:date>
    </item>
    <item>
      <title>Re: To filter data from cloudwatch logs to splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/To-filter-data-from-cloudwatch-logs-to-splunk/m-p/456934#M95257</link>
      <description>&lt;P&gt;multiple options are there for you&lt;BR /&gt;
1. If you are collecting using HF, you can do props/transforms to filter messages&lt;BR /&gt;
2. If you are using standalone indexer, you can do props/transforms at indexer tier to filter it&lt;/P&gt;

&lt;P&gt;Plenty of examples are present in this forum. But until unless you provide sample data and sample configuration you have, we don't really know which field to exclude etc.&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 20:40:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/To-filter-data-from-cloudwatch-logs-to-splunk/m-p/456934#M95257</guid>
      <dc:creator>koshyk</dc:creator>
      <dc:date>2019-05-16T20:40:03Z</dc:date>
    </item>
    <item>
      <title>Re: To filter data from cloudwatch logs to splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/To-filter-data-from-cloudwatch-logs-to-splunk/m-p/456935#M95258</link>
      <description>&lt;P&gt;I have done it by installing and configuring splunk add On for AWS. I already had the log groups defined. So just pointing to the log groups in the cloudwatch log config did the trick to get the data. &lt;/P&gt;

&lt;P&gt;There are props.conf and transform.conf specific to this AddOn for AWS(different location on the splunk under apps.&lt;/P&gt;

&lt;P&gt;I am very nee to Splunk and have tried configuring props.conf and transform.conf without any luck.&lt;BR /&gt;
Can you give me an example, as in what to give for source, sourcetype and where to define filter/pattern for cloudwatch logs.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 21:21:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/To-filter-data-from-cloudwatch-logs-to-splunk/m-p/456935#M95258</guid>
      <dc:creator>niddhi</dc:creator>
      <dc:date>2019-05-16T21:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: To filter data from cloudwatch logs to splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/To-filter-data-from-cloudwatch-logs-to-splunk/m-p/456936#M95259</link>
      <description>&lt;P&gt;this is the link for configuring the cloudwatch logs: &lt;A href="https://docs.splunk.com/Documentation/AddOns/released/AWS/CloudWatchLogs"&gt;https://docs.splunk.com/Documentation/AddOns/released/AWS/CloudWatchLogs&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 16 May 2019 21:22:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/To-filter-data-from-cloudwatch-logs-to-splunk/m-p/456936#M95259</guid>
      <dc:creator>niddhi</dc:creator>
      <dc:date>2019-05-16T21:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: To filter data from cloudwatch logs to splunk</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/To-filter-data-from-cloudwatch-logs-to-splunk/m-p/456937#M95260</link>
      <description>&lt;P&gt;Hey niddhi,&lt;/P&gt;

&lt;P&gt;Refer this link:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.2.6/Forwarding/Routeandfilterdatad"&gt;https://docs.splunk.com/Documentation/Splunk/7.2.6/Forwarding/Routeandfilterdatad&lt;/A&gt;&lt;BR /&gt;
You need to add the filters in props and transforms.&lt;/P&gt;

&lt;P&gt;You need to add the parameters in the sourcetype stanza(sourcetype = aws:cloudwatch) in the props and transforms.&lt;BR /&gt;
Create this stanza in /opt/splunk/etc/apps/aws/local and not in default.&lt;BR /&gt;
Thou, you will have to verify the path as i am not sure how the app name will reflect.&lt;/P&gt;

&lt;P&gt;Let me know if this helps!!&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2019 11:08:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/To-filter-data-from-cloudwatch-logs-to-splunk/m-p/456937#M95260</guid>
      <dc:creator>deepashri_123</dc:creator>
      <dc:date>2019-05-17T11:08:06Z</dc:date>
    </item>
  </channel>
</rss>

