<?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: Script to lint and validate splunk config? in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Is-there-any-script-to-lint-and-validate-splunk-config/m-p/593953#M12252</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/192"&gt;@muebel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;btool includes a "check" command, which I believe does simple .conf.spec validation, similar to Splunk startup.&lt;/P&gt;&lt;P&gt;AppInspect includes various checks.&lt;/P&gt;&lt;P&gt;The official &lt;A href="https://marketplace.visualstudio.com/items?itemName=Splunk.splunk" target="_self"&gt;Visual Studio Code Extension for Splunk&lt;/A&gt; includes .conf linting. I've not used it, so I can't comment on its quality or accuracy.&lt;/P&gt;&lt;P&gt;How deep down the lint rabbit hole do you plan to go? It's perhaps too late to break PC-lint's continuously advertised software record. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; (I do miss Dr. Dobb's Journal.)&lt;/P&gt;</description>
    <pubDate>Sat, 16 Apr 2022 16:21:41 GMT</pubDate>
    <dc:creator>tscroggins</dc:creator>
    <dc:date>2022-04-16T16:21:41Z</dc:date>
    <item>
      <title>Is there any script to lint and validate splunk config?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Is-there-any-script-to-lint-and-validate-splunk-config/m-p/593926#M12250</link>
      <description>&lt;P&gt;Do any of you use (or know of) any scripts that look at splunk configuration and point out errors, or otherwise allow for a framework to do some sanity checking? This is a fairly open question, and I'd also love any ideas for what kind of things you'd like to see in such a script.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2022 16:50:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Is-there-any-script-to-lint-and-validate-splunk-config/m-p/593926#M12250</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2022-04-19T16:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: Script to lint and validate splunk config?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Is-there-any-script-to-lint-and-validate-splunk-config/m-p/593953#M12252</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/192"&gt;@muebel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;btool includes a "check" command, which I believe does simple .conf.spec validation, similar to Splunk startup.&lt;/P&gt;&lt;P&gt;AppInspect includes various checks.&lt;/P&gt;&lt;P&gt;The official &lt;A href="https://marketplace.visualstudio.com/items?itemName=Splunk.splunk" target="_self"&gt;Visual Studio Code Extension for Splunk&lt;/A&gt; includes .conf linting. I've not used it, so I can't comment on its quality or accuracy.&lt;/P&gt;&lt;P&gt;How deep down the lint rabbit hole do you plan to go? It's perhaps too late to break PC-lint's continuously advertised software record. &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; (I do miss Dr. Dobb's Journal.)&lt;/P&gt;</description>
      <pubDate>Sat, 16 Apr 2022 16:21:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Is-there-any-script-to-lint-and-validate-splunk-config/m-p/593953#M12252</guid>
      <dc:creator>tscroggins</dc:creator>
      <dc:date>2022-04-16T16:21:41Z</dc:date>
    </item>
    <item>
      <title>Re: Any script to lint and validate splunk config?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Is-there-any-script-to-lint-and-validate-splunk-config/m-p/594122#M12287</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/192"&gt;@muebel&lt;/a&gt;&amp;nbsp;- How about btool?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;./splunk btool check&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 18 Apr 2022 17:35:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Is-there-any-script-to-lint-and-validate-splunk-config/m-p/594122#M12287</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-04-18T17:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Script to lint and validate splunk config?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Is-there-any-script-to-lint-and-validate-splunk-config/m-p/594149#M12288</link>
      <description>&lt;P&gt;hmm it appears that check doesn't work when also using the --dir flag&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 19:52:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Is-there-any-script-to-lint-and-validate-splunk-config/m-p/594149#M12288</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2022-04-18T19:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: Script to lint and validate splunk config?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Is-there-any-script-to-lint-and-validate-splunk-config/m-p/594155#M12289</link>
      <description>&lt;P&gt;with some help from&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/216395"&gt;@mmccul&lt;/a&gt;&amp;nbsp;in&amp;nbsp;&lt;A href="https://splunk-usergroups.slack.com/archives/CDE623ETD/p1650311178781599" target="_self"&gt;slack&lt;/A&gt;&amp;nbsp;I was able to figure this out.&lt;BR /&gt;&lt;BR /&gt;btool is expecting a specific directory structure, and is looking for the spec files to be found in `system/README` from what is specified as the `--dir` target.&lt;BR /&gt;&lt;BR /&gt;It also only looks in directories named like the normal config directories ( apps, master-apps etc)&lt;/P&gt;</description>
      <pubDate>Mon, 18 Apr 2022 20:23:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Is-there-any-script-to-lint-and-validate-splunk-config/m-p/594155#M12289</guid>
      <dc:creator>muebel</dc:creator>
      <dc:date>2022-04-18T20:23:37Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any script to lint and validate splunk config?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Is-there-any-script-to-lint-and-validate-splunk-config/m-p/748639#M22473</link>
      <description>&lt;P&gt;I usually use a combination of the .conf VSCode linter that others have suggested for writing, and then upon committing I have &lt;A href="https://pypi.org/project/splunk-appinspect/" target="_self"&gt;AppInspect&lt;/A&gt; and the &lt;A href="https://pypi.org/project/splunk-packaging-toolkit/" target="_self"&gt;Splunk Packaging Tool&lt;/A&gt; run for my apps, and this keeps them bug free and knowing that I will pass cloud verification. I will also drop these since I wrote them and am biased, but I use them myself for writing SPL in VSCode:&amp;nbsp;&lt;A href="https://marketplace.visualstudio.com/items?itemName=arcsector.vscode-splunk-search-syntax" target="_self"&gt;Splunk Search Syntax Highlighter Extension&lt;/A&gt;&amp;nbsp; and&amp;nbsp;&lt;A href="https://marketplace.visualstudio.com/items?itemName=arcsector.vscode-splunk-search-linter" target="_self"&gt;Splunk Search Autocompletion Tool&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 25 Jun 2025 01:30:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Is-there-any-script-to-lint-and-validate-splunk-config/m-p/748639#M22473</guid>
      <dc:creator>haraksin</dc:creator>
      <dc:date>2025-06-25T01:30:35Z</dc:date>
    </item>
  </channel>
</rss>

