<?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 make splunk use dynamic data in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-make-splunk-use-dynamic-data/m-p/248838#M28372</link>
    <description>&lt;P&gt;Hi vamsi92&lt;BR /&gt;
You can use collect command to add  data to an index which contain your originate data.&lt;BR /&gt;
For example if you indexed data  in an index called  downloadcount  you can make a search and put result into this index in a proportion as you make search .&lt;/P&gt;

&lt;P&gt;Look at a search cde example using Collect command&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Put "download" events into an index named "downloadcount".

eventtypetag="download" | collect index=downloadcount
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For more information about collect command see the following link&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1/SearchReference/Collect"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.1/SearchReference/Collect&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2016 12:43:32 GMT</pubDate>
    <dc:creator>chimell</dc:creator>
    <dc:date>2016-01-27T12:43:32Z</dc:date>
    <item>
      <title>How to make splunk use dynamic data</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-make-splunk-use-dynamic-data/m-p/248836#M28370</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
I want splunk to continuously monitor a file, say some error log file.&lt;BR /&gt;
and i will be writing a alert condition like if some error specific word is found in the error log, and will configure an action.&lt;BR /&gt;
For now i am adding data through settings-&amp;gt; Add Data.&lt;BR /&gt;
But the file is added into splunk is static, as even now if i change something in the original file it wont be knowing.&lt;BR /&gt;
so i want splunk to monitor the file like an application created an error log on some location xyx. Splunk should run the scheduled alert by taking the latest copy of that error log from xyz location instead of the file i added to data.&lt;BR /&gt;
Pls Indicate how to achieve this. And i am using splunk with Service-now(splunk addon for servicenow). &lt;BR /&gt;
Also please specify is there any way to get data from service-now&lt;BR /&gt;
thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 04:33:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-make-splunk-use-dynamic-data/m-p/248836#M28370</guid>
      <dc:creator>vamsi92</dc:creator>
      <dc:date>2016-01-27T04:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to make splunk use dynamic data</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-make-splunk-use-dynamic-data/m-p/248837#M28371</link>
      <description>&lt;P&gt;If you are using web to input your file, for continuously monitoring your file, just user the &lt;STRONG&gt;Monitor&lt;/STRONG&gt; option and select the file or directory you want to monitor. Splunk will automatically monitor this file and forward event whenever there is an update.&lt;/P&gt;

&lt;P&gt;The same can be done by configuring it in inputs.conf. Add a monitor stanza in your inputs.conf with file or directory location.&lt;/P&gt;

&lt;P&gt;See here for more information  :&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/Data/Editinputs.conf"&gt;http://docs.splunk.com/Documentation/Splunk/6.1/Data/Editinputs.conf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;In general : &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/Data/Monitorfilesanddirectories"&gt;http://docs.splunk.com/Documentation/Splunk/6.1/Data/Monitorfilesanddirectories&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;For service now , check &lt;A href="http://docs.splunk.com/Documentation/AddOns/latest/ServiceNow/ConfigureServiceNowtointegratewithSplunkEnterprise"&gt;http://docs.splunk.com/Documentation/AddOns/latest/ServiceNow/ConfigureServiceNowtointegratewithSplunkEnterprise&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;and also check the app &lt;A href="https://splunkbase.splunk.com/app/1770/"&gt;https://splunkbase.splunk.com/app/1770/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 05:24:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-make-splunk-use-dynamic-data/m-p/248837#M28371</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-01-27T05:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to make splunk use dynamic data</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-make-splunk-use-dynamic-data/m-p/248838#M28372</link>
      <description>&lt;P&gt;Hi vamsi92&lt;BR /&gt;
You can use collect command to add  data to an index which contain your originate data.&lt;BR /&gt;
For example if you indexed data  in an index called  downloadcount  you can make a search and put result into this index in a proportion as you make search .&lt;/P&gt;

&lt;P&gt;Look at a search cde example using Collect command&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Put "download" events into an index named "downloadcount".

eventtypetag="download" | collect index=downloadcount
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For more information about collect command see the following link&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.1/SearchReference/Collect"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.1/SearchReference/Collect&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 12:43:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/How-to-make-splunk-use-dynamic-data/m-p/248838#M28372</guid>
      <dc:creator>chimell</dc:creator>
      <dc:date>2016-01-27T12:43:32Z</dc:date>
    </item>
  </channel>
</rss>

