<?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 How to query config files using SPL? in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-query-config-files-using-SPL/m-p/639487#M9538</link>
    <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am currently troubleshooting some processing queue blocking issues (typing queue specifically). I need to view the current typing queue size - [queue=typingQueue] from /opt/splunk/etc/system/local/server.conf although I do not have access to SSH into the Indexer to view this config file directly.&lt;/P&gt;
&lt;P&gt;Is it possible to pull/view a full config file (server.conf/inputs.conf etc.) from a specific host by running an SPL query on the SH?&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;C&lt;/P&gt;</description>
    <pubDate>Wed, 12 Apr 2023 16:39:52 GMT</pubDate>
    <dc:creator>cwhelan</dc:creator>
    <dc:date>2023-04-12T16:39:52Z</dc:date>
    <item>
      <title>How to query config files using SPL?</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-query-config-files-using-SPL/m-p/639487#M9538</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am currently troubleshooting some processing queue blocking issues (typing queue specifically). I need to view the current typing queue size - [queue=typingQueue] from /opt/splunk/etc/system/local/server.conf although I do not have access to SSH into the Indexer to view this config file directly.&lt;/P&gt;
&lt;P&gt;Is it possible to pull/view a full config file (server.conf/inputs.conf etc.) from a specific host by running an SPL query on the SH?&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;C&lt;/P&gt;</description>
      <pubDate>Wed, 12 Apr 2023 16:39:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-query-config-files-using-SPL/m-p/639487#M9538</guid>
      <dc:creator>cwhelan</dc:creator>
      <dc:date>2023-04-12T16:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Querying config files using SPL</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/How-to-query-config-files-using-SPL/m-p/639499#M9539</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/255728"&gt;@cwhelan&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;it isn't possible to query the configuration files, but you could find if there are some full queue using this search:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=_internal  source=*metrics.log sourcetype=splunkd group=queue 
| eval name=case(name=="aggqueue","2 - Aggregation Queue",
 name=="indexqueue", "4 - Indexing Queue",
 name=="parsingqueue", "1 - Parsing Queue",
 name=="typingqueue", "3 - Typing Queue",
 name=="splunktcpin", "0 - TCP In Queue",
 name=="tcpin_cooked_pqueue", "0 - TCP In Queue") 
| eval max=if(isnotnull(max_size_kb),max_size_kb,max_size) 
| eval curr=if(isnotnull(current_size_kb),current_size_kb,current_size) 
| eval fill_perc=round((curr/max)*100,2) 
| bin _time span=1m
| stats Median(fill_perc) AS "fill_percentage" max(max) AS max max(curr) AS curr by host, _time, name 
| where (fill_percentage&amp;gt;70 AND name!="4 - Indexing Queue") OR (fill_percentage&amp;gt;70 AND name="4 - Indexing Queue")
| sort -_time&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 11 Apr 2023 12:53:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/How-to-query-config-files-using-SPL/m-p/639499#M9539</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2023-04-11T12:53:59Z</dc:date>
    </item>
  </channel>
</rss>

