<?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 configure Splunk to store indexed data in Linux server? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483578#M82841</link>
    <description>&lt;P&gt;On search peer (indexer): ./slave-apps/uth_indexer_volume_indexes/local/indexes.conf&lt;BR /&gt;
[volume:primary]&lt;BR /&gt;
path = /opt/splunk/var/lib/splunk&lt;BR /&gt;
maxVolumeDataSizeMB = 1500000&lt;/P&gt;

&lt;P&gt;[volume:_splunk_summaries]&lt;BR /&gt;
path = /opt/splunk/var/lib/splunk/summaries&lt;/P&gt;

&lt;H1&gt;~ 100GB&lt;/H1&gt;

&lt;P&gt;maxVolumeDataSizeMB = 100000&lt;/P&gt;

&lt;P&gt;[volume:cold]&lt;BR /&gt;
path = /opt/splunk/frozen&lt;/P&gt;

&lt;H1&gt;5TB with some headroom leftover (data summaries, etc)&lt;/H1&gt;

&lt;P&gt;maxVolumeDataSizeMB = 5200000&lt;/P&gt;

&lt;P&gt;Is there any change on the path that I need to make?&lt;/P&gt;

&lt;P&gt;Thank you,&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 03:40:05 GMT</pubDate>
    <dc:creator>vnguyen46</dc:creator>
    <dc:date>2020-09-30T03:40:05Z</dc:date>
    <item>
      <title>How to configure Splunk to store indexed data in Linux server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483575#M82838</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
Migrating to new Splunk Enterprise hardware, I have all core instances up and functioning. Now it comes to the point where I am not sure how to configure Indexers running on Linux OS to properly store the indexed data (hot/cold). I didn't move data or conf files from old to new indexers. &lt;/P&gt;

&lt;P&gt;Sample stanza from the indexes.conf file:&lt;BR /&gt;
[f5_asm]&lt;BR /&gt;
homePath   = volume:primary/f5_asm/db&lt;BR /&gt;
coldPath   = volume:cold/f5_asm/colddb&lt;BR /&gt;
thawedPath = $SPLUNK_DB/f5_asm/thaweddb&lt;BR /&gt;
frozenTimePeriodInSecs = 15768000&lt;/P&gt;

&lt;P&gt;df -h on one of the indexers shows:&lt;BR /&gt;
[splunk@xxxx ~]$ df -h&lt;BR /&gt;
Filesystem             Size  Used Avail Use% Mounted on&lt;BR /&gt;
devtmpfs                94G     0   94G   0% /dev&lt;BR /&gt;
tmpfs                   94G     0   94G   0% /dev/shm&lt;BR /&gt;
tmpfs                   94G  2.7G   92G   3% /run&lt;BR /&gt;
tmpfs                   94G     0   94G   0% /sys/fs/cgroup&lt;BR /&gt;
/dev/mapper/rhel-root   79G  2.8G   72G   4% /&lt;BR /&gt;
/dev/sdc2              976M  127M  783M  14% /boot&lt;BR /&gt;
/dev/sdc1              200M  9.7M  191M   5% /boot/efi&lt;BR /&gt;
/dev/sdb1              8.7T   84M  8.7T   1% /splunkdata/hot&lt;BR /&gt;
/dev/sda1               31T   20K   31T   1% /splunkdata/cold&lt;BR /&gt;
&lt;EM&gt;/dev/mapper/rhel-opt    99G   94G  110M 100% /opt (&lt;/EM&gt;*&lt;STRONG&gt;&lt;EM&gt;QUICKLY FILLED UP&lt;/EM&gt;&lt;/STRONG&gt;***&lt;EM&gt;We mapped this dir to a new dir /opt/splunk/ with 1TB)&lt;/EM&gt;&lt;BR /&gt;
/dev/mapper/rhel-var    99G  1.2G   93G   2% /var&lt;BR /&gt;
/dev/mapper/rhel-home   50G   64M   47G   1% /home&lt;BR /&gt;
naspsnfs:/linux_admin  1.4T  686G  697G  50% /apps/admin/share&lt;BR /&gt;
tmpfs                   19G     0   19G   0% /run/user/139454&lt;BR /&gt;
tmpfs                   19G     0   19G   0% /run/user/114464&lt;/P&gt;

&lt;P&gt;Is there something not right in this configure and how can I store indexed data to correct file directories?&lt;/P&gt;

&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:40:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483575#M82838</guid>
      <dc:creator>vnguyen46</dc:creator>
      <dc:date>2020-09-30T03:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to store indexed data in Linux server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483576#M82839</link>
      <description>&lt;P&gt;you have to define the volumes in &lt;CODE&gt;indexes.conf&lt;/CODE&gt;&lt;BR /&gt;
my guess is that this is volume locations:&lt;BR /&gt;
/dev/sdb1 8.7T 84M 8.7T 1% /splunkdata/hot&lt;BR /&gt;
/dev/sda1 31T 20K 31T 1% /splunkdata/cold&lt;/P&gt;

&lt;P&gt;here is an example from docs:&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.1/Admin/indexesconf#indexes.conf.example"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.1/Admin/indexesconf#indexes.conf.example&lt;/A&gt;&lt;/P&gt;

&lt;H1&gt;volume definitions; prefixed with "volume:"&lt;/H1&gt;

&lt;PRE&gt;&lt;CODE&gt;[volume:hot1]
path = /mnt/fast_disk
maxVolumeDataSizeMB = 100000

[volume:cold1]
path = /mnt/big_disk
# maxVolumeDataSizeMB not specified: no data size limitation on top of the
# existing ones

[volume:cold2]
path = /mnt/big_disk2
maxVolumeDataSizeMB = 1000000
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 16 Jan 2020 01:50:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483576#M82839</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2020-01-16T01:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to store indexed data in Linux server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483577#M82840</link>
      <description>&lt;P&gt;What is the definition of &lt;CODE&gt;volume:primary&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 02:00:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483577#M82840</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-01-16T02:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to store indexed data in Linux server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483578#M82841</link>
      <description>&lt;P&gt;On search peer (indexer): ./slave-apps/uth_indexer_volume_indexes/local/indexes.conf&lt;BR /&gt;
[volume:primary]&lt;BR /&gt;
path = /opt/splunk/var/lib/splunk&lt;BR /&gt;
maxVolumeDataSizeMB = 1500000&lt;/P&gt;

&lt;P&gt;[volume:_splunk_summaries]&lt;BR /&gt;
path = /opt/splunk/var/lib/splunk/summaries&lt;/P&gt;

&lt;H1&gt;~ 100GB&lt;/H1&gt;

&lt;P&gt;maxVolumeDataSizeMB = 100000&lt;/P&gt;

&lt;P&gt;[volume:cold]&lt;BR /&gt;
path = /opt/splunk/frozen&lt;/P&gt;

&lt;H1&gt;5TB with some headroom leftover (data summaries, etc)&lt;/H1&gt;

&lt;P&gt;maxVolumeDataSizeMB = 5200000&lt;/P&gt;

&lt;P&gt;Is there any change on the path that I need to make?&lt;/P&gt;

&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:40:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483578#M82841</guid>
      <dc:creator>vnguyen46</dc:creator>
      <dc:date>2020-09-30T03:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to store indexed data in Linux server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483579#M82842</link>
      <description>&lt;P&gt;I see this app on the deployment server being pushed to all indexers. On the DS, it's located at: &lt;BR /&gt;
/opt/splunk/etc/master-apps/uth_indexer_volume_indexes/local/indexes.conf&lt;/P&gt;

&lt;P&gt;Assuming that no change can be made on the directory from OS level, how can I change these paths in this indexes.conf file to direct the indexed data to the defined directories?&lt;/P&gt;

&lt;P&gt;Thank you,&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:40:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483579#M82842</guid>
      <dc:creator>vnguyen46</dc:creator>
      <dc:date>2020-09-30T03:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to store indexed data in Linux server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483580#M82843</link>
      <description>&lt;P&gt;You pointed to the right direction and I try to configure out how to change paths to match the designated directories. Thank you,&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 03:28:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483580#M82843</guid>
      <dc:creator>vnguyen46</dc:creator>
      <dc:date>2020-01-16T03:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure Splunk to store indexed data in Linux server?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483581#M82844</link>
      <description>&lt;P&gt;There is an app to define volume:primary and other stanza like cold/summary that pushed down to the indexers. You can control the log storage and location from that app.&lt;/P&gt;

&lt;P&gt;Thank you everyone.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 20:17:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-configure-Splunk-to-store-indexed-data-in-Linux-server/m-p/483581#M82844</guid>
      <dc:creator>vnguyen46</dc:creator>
      <dc:date>2020-01-16T20:17:00Z</dc:date>
    </item>
  </channel>
</rss>

