<?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 can one have visibility through searches of Data Integrity checks operations in Splunk? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201657#M39929</link>
    <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;

&lt;P&gt;I tried, but I get only indexed the Splunk comands and no output ("Total buckets checked... etc etc"). &lt;BR /&gt;
Since I am using Windows OS there should be smth to modify with the .bat file to get the standard output...&lt;/P&gt;

&lt;P&gt;Is it possible to get the indexed events in the _audit index (and not a custom one)?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Skender&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2016 14:43:29 GMT</pubDate>
    <dc:creator>skender27</dc:creator>
    <dc:date>2016-09-20T14:43:29Z</dc:date>
    <item>
      <title>How can one have visibility through searches of Data Integrity checks operations in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201655#M39927</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Me and my collegue are thinking of a report (then placed in a dashboard) about having visibility on data integrity check Splunk performs.&lt;BR /&gt;Once activated the stanza in &lt;STRONG&gt;&lt;EM&gt;indexes.conf&lt;/EM&gt;&lt;/STRONG&gt; and executed the Splunk comand: &lt;CODE&gt;splunk check-integrity –index &amp;lt;index_name&amp;gt;&lt;/CODE&gt;, how can we in search time have some visualization about such activity?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;BR /&gt;Skender&lt;/P&gt;</description>
      <pubDate>Sat, 06 Jun 2020 23:25:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201655#M39927</guid>
      <dc:creator>skender27</dc:creator>
      <dc:date>2020-06-06T23:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: How can one have visibility through searches of Data Integrity checks operations in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201656#M39928</link>
      <description>&lt;P&gt;You have to do the following steps:&lt;BR /&gt;
 - create a script with your command, &lt;BR /&gt;
 - put it into your app's bin directory,&lt;BR /&gt;
 - create an input stanza in your inputs.conf&lt;/P&gt;

&lt;P&gt;for example: &lt;BR /&gt;
script file check_integrity.sh&lt;BR /&gt;
   splunk check-integrity –index index_to_check&lt;/P&gt;

&lt;P&gt;inputs.conf&lt;BR /&gt;
[script://$SPLUNK_HOME/etc/apps/yourapp/bin/check_integrity.sh]&lt;BR /&gt;
disabled = 0&lt;BR /&gt;
index = your_index&lt;BR /&gt;
interval = 60.0&lt;BR /&gt;
sourcetype = your_sourcetype&lt;BR /&gt;
source = your_source&lt;/P&gt;

&lt;P&gt;index_to_check is the index to check integrity&lt;BR /&gt;
your_index is the index you create where you store the script results &lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:03:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201656#M39928</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-09-29T11:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: How can one have visibility through searches of Data Integrity checks operations in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201657#M39929</link>
      <description>&lt;P&gt;Hi Giuseppe,&lt;/P&gt;

&lt;P&gt;I tried, but I get only indexed the Splunk comands and no output ("Total buckets checked... etc etc"). &lt;BR /&gt;
Since I am using Windows OS there should be smth to modify with the .bat file to get the standard output...&lt;/P&gt;

&lt;P&gt;Is it possible to get the indexed events in the _audit index (and not a custom one)?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Skender&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 14:43:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201657#M39929</guid>
      <dc:creator>skender27</dc:creator>
      <dc:date>2016-09-20T14:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can one have visibility through searches of Data Integrity checks operations in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201658#M39930</link>
      <description>&lt;P&gt;you have to give the execution rights to the script: if you use operative commands like "query session" the script is correctly executed and output indexed in Splunk.&lt;BR /&gt;
everyway, you could schedule om Windows the execution of the script as an administrator writing results in a txt file that you can take with Splunk. &lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2016 17:01:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201658#M39930</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2016-09-20T17:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can one have visibility through searches of Data Integrity checks operations in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201659#M39931</link>
      <description>&lt;P&gt;I understand. &lt;BR /&gt;
Thanks again!&lt;/P&gt;

&lt;P&gt;Skender&lt;/P&gt;</description>
      <pubDate>Fri, 14 Oct 2016 07:59:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201659#M39931</guid>
      <dc:creator>skender27</dc:creator>
      <dc:date>2016-10-14T07:59:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can one have visibility through searches of Data Integrity checks operations in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201660#M39932</link>
      <description>&lt;P&gt;We are trying to do something similar with a loop to catch all of our indexes:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#!bin/bash
for path in /opt/data/*/*; do splunk check-integrity -index ${path##*/} -verbose; done
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;However, I have noticed that the results of the command are only output to splunkd.log.  I can find the output of the commands in the "_internal" index, but not in the index specified in inputs.conf&lt;/P&gt;

&lt;P&gt;Do you have any guidance on how to get the results ingested into an index other than _internal?&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 18:37:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201660#M39932</guid>
      <dc:creator>gurlest</dc:creator>
      <dc:date>2019-05-13T18:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can one have visibility through searches of Data Integrity checks operations in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201661#M39933</link>
      <description>&lt;P&gt;Hi @gurlest &lt;BR /&gt;
Did you find the solution of the above query?&lt;BR /&gt;
I am looking for the solution for the same query.&lt;/P&gt;

&lt;P&gt;I need to capture the output of check-integrity command (which runs through script ) to specified index in Splunk. &lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 17:27:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201661#M39933</guid>
      <dc:creator>potnuru</dc:creator>
      <dc:date>2020-06-02T17:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: How can one have visibility through searches of Data Integrity checks operations in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201662#M39934</link>
      <description>&lt;P&gt;Yes, we did.  We have been able to get it working like a champ.  However, I would be a poor Splunk Admin if I didn't say this, as well: THIS IS HUGELY RESOURCE INTENSIVE.  Ok.  Now that that's out of the way...  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Inputs &amp;gt; data_integrity_checks/local/inputs.conf&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[script://./bin/integrity_checks.sh]
disabled = 0
interval = 3 10 * * 6
index = system_events
sourcetype = audit:integrity
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Script &amp;gt; data_integrity_checks/bin/integrity_checks.sh&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;#!/bin/bash
IDX='/opt/splunk/etc/slave-apps/data_integrity_checks/local/dataintegrity_indexes.txt'
for index in $(&amp;lt;$IDX); do $SPLUNK_HOME/bin/splunk check-integrity -index $index -verbose 2&amp;gt;&amp;amp;1; done
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The script runs based on the list of indexes on the dataintegrity_indexes.txt file, or you could just pass a list of index names.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:35:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201662#M39934</guid>
      <dc:creator>gurlest</dc:creator>
      <dc:date>2020-09-30T05:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can one have visibility through searches of Data Integrity checks operations in Splunk?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201663#M39935</link>
      <description>&lt;P&gt;@gurlest Thank you for the response, I will try the above given solution.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Jun 2020 15:20:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-one-have-visibility-through-searches-of-Data-Integrity/m-p/201663#M39935</guid>
      <dc:creator>potnuru</dc:creator>
      <dc:date>2020-06-04T15:20:22Z</dc:date>
    </item>
  </channel>
</rss>

