<?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: Is it possible to use AWS tags for scheduled searches? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291968#M34872</link>
    <description>&lt;P&gt;The aws:description sourcetype is from a configured input in the Splunk TA for AWS. Either you are not collecting the data/the input is not configured or you are not searching against the correct index. Try adding &lt;CODE&gt;index=*&lt;/CODE&gt; to the subsearch, e.g. &lt;CODE&gt;index=* sourcetype="aws:description"&lt;/CODE&gt;. Otherwise look into configuring the description input here: &lt;A href="http://docs.splunk.com/Documentation/AddOns/released/AWS/DescriptionInput"&gt;http://docs.splunk.com/Documentation/AddOns/released/AWS/DescriptionInput&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Feb 2017 15:04:52 GMT</pubDate>
    <dc:creator>kaufmanm</dc:creator>
    <dc:date>2017-02-27T15:04:52Z</dc:date>
    <item>
      <title>Is it possible to use AWS tags for scheduled searches?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291965#M34869</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
We are using Splunk App for AWS with Splunk 6.5.&lt;BR /&gt;
We want to be able to monitor Linux log files for certain keywords and hostgroups.&lt;BR /&gt;
Idea is to group hosts per their AWS owner tags.&lt;BR /&gt;
I was wondering if we can directly use AWS tag values in scheduled searches so we can properly create and forward alerts per the hostgroups they were generated for?&lt;BR /&gt;
Thank you&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 23:04:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291965#M34869</guid>
      <dc:creator>lnx11</dc:creator>
      <dc:date>2017-02-08T23:04:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use AWS tags for scheduled searches?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291966#M34870</link>
      <description>&lt;P&gt;Yes, it is possible. You will need to join data from your log with the tagging data output from source=&lt;EM&gt;ec2_instances&lt;/EM&gt;. So if the hostname was both in the host field of your log and in a tag of the EC2 instance labeled hostname, you could do something like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source="/var/log/messages" ERROR | eval tags.hostname = host | join type=left tags.hostname [search sourcetype="aws:description" source=*ec2_instances* earliest=-60m | fields tags.hostname tags.owner]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then you will have your ERROR message with the tags.owner field you need to escalate the alert. You could pass the event to a script that knows how to process that field appropriately or do a lookup to find the e-mail address. Left join since when the join fails you probably still want to proceed with a default escalation.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Feb 2017 19:21:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291966#M34870</guid>
      <dc:creator>kaufmanm</dc:creator>
      <dc:date>2017-02-13T19:21:43Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use AWS tags for scheduled searches?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291967#M34871</link>
      <description>&lt;P&gt;Hi, Thank you for your answer.&lt;BR /&gt;
I just ran a test search.&lt;BR /&gt;
I can't seem to access sourcetype="aws:description". Only sourcetype available in search results is of "syslog".&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 14:19:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291967#M34871</guid>
      <dc:creator>lnx11</dc:creator>
      <dc:date>2017-02-27T14:19:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use AWS tags for scheduled searches?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291968#M34872</link>
      <description>&lt;P&gt;The aws:description sourcetype is from a configured input in the Splunk TA for AWS. Either you are not collecting the data/the input is not configured or you are not searching against the correct index. Try adding &lt;CODE&gt;index=*&lt;/CODE&gt; to the subsearch, e.g. &lt;CODE&gt;index=* sourcetype="aws:description"&lt;/CODE&gt;. Otherwise look into configuring the description input here: &lt;A href="http://docs.splunk.com/Documentation/AddOns/released/AWS/DescriptionInput"&gt;http://docs.splunk.com/Documentation/AddOns/released/AWS/DescriptionInput&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Feb 2017 15:04:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291968#M34872</guid>
      <dc:creator>kaufmanm</dc:creator>
      <dc:date>2017-02-27T15:04:52Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use AWS tags for scheduled searches?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291969#M34873</link>
      <description>&lt;P&gt;I did not have any inputs in AWS add-on, so I added one via web ui (I was greeted via: "Configuring this add-on on a search head is not best practice." warning), following the instructions in the link you provided.&lt;BR /&gt;
Most everything was pre-selected, I picked aws region, iam-role etc, left the "index" value at "default".&lt;BR /&gt;
When I execute search, I get the results without aws tags.owner.&lt;/P&gt;

&lt;P&gt;I am able to execute below search from splunk search app and get the info including tags etc.&lt;BR /&gt;
index="&lt;EM&gt;" sourcetype="aws:description"  source="&lt;/EM&gt;:ec2_instances" earliest=-5m &lt;/P&gt;

&lt;P&gt;I guess, issue I have is joining the two searches from two different sources?&lt;BR /&gt;
Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 11:30:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291969#M34873</guid>
      <dc:creator>lnx11</dc:creator>
      <dc:date>2017-02-28T11:30:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use AWS tags for scheduled searches?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291970#M34874</link>
      <description>&lt;P&gt;hostname and owner were example tags from my environment. In the source=&lt;EM&gt;ec2_instances&lt;/EM&gt; data you will have to see what tags you have available to you or set some more in AWS in order to make a join happen.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 13:04:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291970#M34874</guid>
      <dc:creator>kaufmanm</dc:creator>
      <dc:date>2017-02-28T13:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to use AWS tags for scheduled searches?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291971#M34875</link>
      <description>&lt;P&gt;Appreciate your help, thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2017 15:37:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Is-it-possible-to-use-AWS-tags-for-scheduled-searches/m-p/291971#M34875</guid>
      <dc:creator>lnx11</dc:creator>
      <dc:date>2017-02-28T15:37:42Z</dc:date>
    </item>
  </channel>
</rss>

