<?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: Update indexed data after a monitored file has been changed in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Update-indexed-data-after-a-monitored-file-has-been-changed/m-p/486607#M193698</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;You can use &lt;STRONG&gt;dedup&lt;/STRONG&gt; command to achieve this. &lt;/P&gt;

&lt;P&gt;For more informationplease find the below link,&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/dedup"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/dedup&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Sid&lt;/P&gt;</description>
    <pubDate>Fri, 27 Sep 2019 08:33:51 GMT</pubDate>
    <dc:creator>techiesid</dc:creator>
    <dc:date>2019-09-27T08:33:51Z</dc:date>
    <item>
      <title>Update indexed data after a monitored file has been changed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Update-indexed-data-after-a-monitored-file-has-been-changed/m-p/486605#M193696</link>
      <description>&lt;P&gt;Dear friends,&lt;/P&gt;

&lt;P&gt;with my company besides investigating log-data we are getting ready to roll-out splunk for the Business Team in order to monitor the business. We got some tables which we would like to display as dashboard visualizations, e.g.&lt;/P&gt;

&lt;P&gt;ID Name ID2 Name2 Date              Volume&lt;BR /&gt;
1  A1        11  B1          01.01.2019   30000&lt;BR /&gt;
2 ...&lt;/P&gt;

&lt;P&gt;We managed to monitor the csv-files with the upper table, search for relevant data and plot it for dashboard visualiztion. &lt;BR /&gt;
Now comes the question: How can we update the plots correctly, after the monitored files have been updated?&lt;BR /&gt;
The data is mainly static and will only be altered inline, eg.&lt;BR /&gt;
ID Name ID2 Name2 Date              Volume&lt;BR /&gt;
1  A1        11  B1          01.01.2019   99999 (before: 30000)&lt;BR /&gt;
2 ...&lt;/P&gt;

&lt;P&gt;Is there a function which can easily do the job, or do we always have to clean the index an reload/re-index all the files?&lt;BR /&gt;
We want to avoid the commands: splunk stop/splunk clean eventdata/splunk start&lt;/P&gt;

&lt;P&gt;Best regards&lt;BR /&gt;
Matthias&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 08:13:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Update-indexed-data-after-a-monitored-file-has-been-changed/m-p/486605#M193696</guid>
      <dc:creator>mkohl</dc:creator>
      <dc:date>2019-09-27T08:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: Update indexed data after a monitored file has been changed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Update-indexed-data-after-a-monitored-file-has-been-changed/m-p/486606#M193697</link>
      <description>&lt;P&gt;Hi mkohl,&lt;BR /&gt;
indexed data aren't upgradable!&lt;BR /&gt;
But you can index data and show only the last in a period: you cannot think to Splunk as a DB: Splunk indexes logs, so you can display them thinking to the time distribution.&lt;BR /&gt;
In other words, if you have some values to display you can use stats command, something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=my_index
| stats latest(ID) AS ID latest(Name) AS Name latest(ID2) AS ID2 latest(Name2) AS Name2 latest(Date) AS Date latest(Volume) AS Volume
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and automatically run this search every e.g. five minutes to have an always updated situation.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 08:30:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Update-indexed-data-after-a-monitored-file-has-been-changed/m-p/486606#M193697</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-09-27T08:30:51Z</dc:date>
    </item>
    <item>
      <title>Re: Update indexed data after a monitored file has been changed</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Update-indexed-data-after-a-monitored-file-has-been-changed/m-p/486607#M193698</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;You can use &lt;STRONG&gt;dedup&lt;/STRONG&gt; command to achieve this. &lt;/P&gt;

&lt;P&gt;For more informationplease find the below link,&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/dedup"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/dedup&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Sid&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2019 08:33:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Update-indexed-data-after-a-monitored-file-has-been-changed/m-p/486607#M193698</guid>
      <dc:creator>techiesid</dc:creator>
      <dc:date>2019-09-27T08:33:51Z</dc:date>
    </item>
  </channel>
</rss>

