<?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 do I show the running configuration on my forwarder? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/536261#M89903</link>
    <description>&lt;P&gt;Run this in your bin dir to view all your settings in memory on CLI for each respective .conf file:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./splunk show config &amp;lt;filename_without_.conf&amp;gt; &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, to view inputs.conf (you might have to pipe it into less):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./splunk show config inputs&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 18 Jan 2021 20:28:58 GMT</pubDate>
    <dc:creator>nsanzar_splunk</dc:creator>
    <dc:date>2021-01-18T20:28:58Z</dc:date>
    <item>
      <title>How do I show the running configuration on my forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156577#M31730</link>
      <description>&lt;P&gt;I want to view what Splunk sees as the running config for my universal forwarder. I read on &lt;A href="http://blogs.splunk.com/2012/10/02/tips-and-tricks-for-the-new-guy/"&gt;http://blogs.splunk.com/2012/10/02/tips-and-tricks-for-the-new-guy/&lt;/A&gt; that I can run &lt;CODE&gt;./splunk cmd btool list&lt;/CODE&gt; but that shows me the help page. The blog also says that the command takes a config file parameter, but I don't know what the options are for the config files. Besides, I want to see all of the config info, not just one piece.&lt;/P&gt;

&lt;P&gt;How do I tell Splunk to show me all of the config?&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2015 22:05:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156577#M31730</guid>
      <dc:creator>vqd361</dc:creator>
      <dc:date>2015-08-06T22:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show the running configuration on my forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156578#M31731</link>
      <description>&lt;P&gt;You can view Splunk documentation on the btool here&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.4/Troubleshooting/Usebtooltotroubleshootconfigurations"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.4/Troubleshooting/Usebtooltotroubleshootconfigurations&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.4/Troubleshooting/CommandlinetoolsforusewithSupport"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.4/Troubleshooting/CommandlinetoolsforusewithSupport&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2015 22:17:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156578#M31731</guid>
      <dc:creator>gcato</dc:creator>
      <dc:date>2015-08-06T22:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show the running configuration on my forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156579#M31732</link>
      <description>&lt;P&gt;thanks, but I already looked at those and they didn't help.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2015 22:21:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156579#M31732</guid>
      <dc:creator>vqd361</dc:creator>
      <dc:date>2015-08-06T22:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show the running configuration on my forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156580#M31733</link>
      <description>&lt;P&gt;Hi vqd361,&lt;/P&gt;

&lt;P&gt;in regards of all config at once, as far as I know this is not possible. &lt;BR /&gt;
But you could do some wrapper script that finds all your &lt;CODE&gt;.conf&lt;/CODE&gt; files and use them with the &lt;CODE&gt;btool&lt;/CODE&gt; command like this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; for i in ` find /opt/splunk/etc | grep .conf | grep -v README | awk -F/ '{ print $NF }'`; do /opt/splunk/bin/splunk cmd btool $i list; done
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2015 22:33:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156580#M31733</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2015-08-06T22:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show the running configuration on my forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156581#M31734</link>
      <description>&lt;P&gt;Like @MuS said, the basic command format is like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;$SPLUNK_HOME/bin/splunk cmd btool inputs list --debug
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The &lt;CODE&gt;--debug&lt;/CODE&gt; part is frequently important in tracking down "wrong" but not "broken" configurations.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2015 22:44:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156581#M31734</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-08-06T22:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show the running configuration on my forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156582#M31735</link>
      <description>&lt;P&gt;The following link shows a worked example of using the btool from Splunk support (about half way through the video): &lt;A href="https://www.youtube.com/watch?v=kuUf4qgL2wI"&gt;https://www.youtube.com/watch?v=kuUf4qgL2wI&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2015 23:02:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156582#M31735</guid>
      <dc:creator>gcato</dc:creator>
      <dc:date>2015-08-06T23:02:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show the running configuration on my forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156583#M31736</link>
      <description>&lt;P&gt;You can use &lt;CODE&gt;$SPLUNK_HOME/bin/splunk show config configname&lt;/CODE&gt;, where &lt;EM&gt;configname&lt;/EM&gt; is the name of one of *.conf&lt;/P&gt;

&lt;P&gt;So, for example (Assuming that &lt;STRONG&gt;splunk&lt;/STRONG&gt; is $SPLUNK_HOME/bin/splunk) you could do:&lt;/P&gt;

&lt;P&gt;$ splunk show config web&lt;/P&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;P&gt;$ splunk show config inputs&lt;/P&gt;

&lt;P&gt;or&lt;/P&gt;

&lt;P&gt;$ Splunk show config outputs&lt;/P&gt;

&lt;P&gt;and so on.&lt;/P&gt;</description>
      <pubDate>Wed, 30 May 2018 17:04:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156583#M31736</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2018-05-30T17:04:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show the running configuration on my forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156584#M31737</link>
      <description>&lt;P&gt;that first little link in the comments has/appears to have had it;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/Troubleshooting/Usebtooltotroubleshootconfigurations"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/Troubleshooting/Usebtooltotroubleshootconfigurations&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;"To view current in-memory configurations, query the REST endpoint /services/properties/"&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 23:31:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156584#M31737</guid>
      <dc:creator>GDustin</dc:creator>
      <dc:date>2019-11-25T23:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show the running configuration on my forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156585#M31738</link>
      <description>&lt;P&gt;show says specified conf file, not what is currently running;&lt;BR /&gt;
Example:&lt;BR /&gt;
/opt/splunkforwarder/bin/splunk help show |grep -i config&lt;BR /&gt;
        show config                             show the details of a specified conf file. (NOTE: this command will only work if the file exists in the location specified by $SPLUNK_HOME/etc/system/default/conf.conf)&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 23:36:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156585#M31738</guid>
      <dc:creator>GDustin</dc:creator>
      <dc:date>2019-11-25T23:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show the running configuration on my forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156586#M31739</link>
      <description>&lt;P&gt;look at the first link again; 3rd paragraph;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.4/Troubleshooting/Usebtooltotroubleshootconfigurations" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.4/Troubleshooting/Usebtooltotroubleshootconfigurations&lt;/A&gt;&lt;BR /&gt;
"To view current in-memory configurations, query the REST endpoint /services/properties/."&lt;/P&gt;

&lt;P&gt;FYI: the config file parameter is the stanza name inside square brackets [] inside the conf file;&lt;/P&gt;

&lt;P&gt;with the rest call you have to URL encode the config file parameter/stanza name;&lt;BR /&gt;
example:&lt;BR /&gt;
/opt/splunkforwarder/bin/splunk show config inputs list monitor:///var/syslog-ng/log/ironport_xxx&lt;/P&gt;

&lt;P&gt;Becomes:&lt;BR /&gt;
/opt/splunkforwarder/bin/splunk _internal call /services/properties/inputs/monitor%3A%2F%2F%2Fvar%2Fsyslog-ng%2Flog%2Fironport_xxx&lt;/P&gt;

&lt;P&gt;one way you can reference the url encoding by walking up one up in the REST call and then inspect and copy/paste your target quickly from the  parameter; [it appears to come out in json; id]&lt;/P&gt;

&lt;P&gt;/opt/splunkforwarder/bin/splunk _internal call /services/properties/inputs&lt;BR /&gt;
/opt/splunkforwarder/bin/splunk _internal call /services/properties/inputs |grep -i ironport&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 03:08:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156586#M31739</guid>
      <dc:creator>GDustin</dc:creator>
      <dc:date>2020-09-30T03:08:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show the running configuration on my forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156587#M31740</link>
      <description>&lt;P&gt;*&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/6.2.4/Troubleshooting/Usebtooltotroubleshootconfigurations"&gt;https://docs.splunk.com/Documentation/Splunk/6.2.4/Troubleshooting/Usebtooltotroubleshootconfigurations&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 23:50:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/156587#M31740</guid>
      <dc:creator>GDustin</dc:creator>
      <dc:date>2019-11-25T23:50:58Z</dc:date>
    </item>
    <item>
      <title>Re: How do I show the running configuration on my forwarder?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/536261#M89903</link>
      <description>&lt;P&gt;Run this in your bin dir to view all your settings in memory on CLI for each respective .conf file:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./splunk show config &amp;lt;filename_without_.conf&amp;gt; &lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, to view inputs.conf (you might have to pipe it into less):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./splunk show config inputs&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 18 Jan 2021 20:28:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-do-I-show-the-running-configuration-on-my-forwarder/m-p/536261#M89903</guid>
      <dc:creator>nsanzar_splunk</dc:creator>
      <dc:date>2021-01-18T20:28:58Z</dc:date>
    </item>
  </channel>
</rss>

