<?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 check the status and start mode of these services? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372092#M109484</link>
    <description>&lt;P&gt;1)&lt;BR /&gt;
index = winsvc type = service disabled = 1 Name = "CcmExec" OR Name = "RCAgentMgr" OR Name = "WMI"  Start mode = "Manuel" OR Start mode = "Désactivé" | table Status&lt;/P&gt;

&lt;P&gt;if status is active then service is up else vice versa&lt;/P&gt;

&lt;P&gt;2)&lt;BR /&gt;
followTail = 0 AND _TCP_ROUTING = "pnlogGroup" | table disabled&lt;BR /&gt;
time range 120 minute&lt;BR /&gt;
based on disabled value you can consider whether its up or down&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 18:40:55 GMT</pubDate>
    <dc:creator>logloganathan</dc:creator>
    <dc:date>2020-09-29T18:40:55Z</dc:date>
    <item>
      <title>How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372084#M109476</link>
      <description>&lt;P&gt;Hello all&lt;BR /&gt;
I want to check the status and the start mode of the 2 services below and I wrote this code.&lt;BR /&gt;
Does it seem to be ok?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[WinHostMon://service]
type = service
interval = 3600
index = winsvc
disabled = 1
Name = "CcmExec" OR "RCAgentMgr" OR "WMI"
Status = "Arrêté"
Start mode = "Manuel" OR "Désactivé"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 12:52:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372084#M109476</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-03-22T12:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372085#M109477</link>
      <description>&lt;P&gt;Please write splunk query like this&lt;/P&gt;

&lt;P&gt;index = winsvc type = service disabled = 1 Name = "CcmExec" OR  Name = "RCAgentMgr" OR  Name = "WMI" Status = "Arrêté" Start mode = "Manuel" OR Start mode = "Désactivé"&lt;/P&gt;

&lt;P&gt;then select the time range as 60 minutes&lt;/P&gt;</description>
      <pubDate>Thu, 22 Mar 2018 14:58:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372085#M109477</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-03-22T14:58:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372086#M109478</link>
      <description>&lt;P&gt;Thanks very much lolloganathan!&lt;BR /&gt;
i have 2 others questions&lt;BR /&gt;
1) now i have modified inputs.conf which SPL command i have to write for checking if the service is up or down?&lt;BR /&gt;
2) i wrote the code below for monitoring a file in splunk&lt;BR /&gt;
Does it seems to be ok?&lt;BR /&gt;
Same question :  which SPL command i have to write for checking the log from SPLUNK?&lt;BR /&gt;
Sorry i am rouky&lt;/P&gt;

&lt;P&gt;[monitor://C:\Windows\Logs\CBS]&lt;BR /&gt;
interval = 120&lt;BR /&gt;
whitelist = .log$&lt;BR /&gt;
disabled = 1&lt;BR /&gt;
followTail = 0&lt;BR /&gt;
_TCP_ROUTING = pnlogGroup&lt;/P&gt;

&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:39:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372086#M109478</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-09-29T18:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372087#M109479</link>
      <description>&lt;P&gt;disabled = 1 AND followTail = 0 AND _TCP_ROUTING = "pnlogGroup"&lt;/P&gt;

&lt;P&gt;then select the time range as 2 minute&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:38:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372087#M109479</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2020-09-29T18:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372088#M109480</link>
      <description>&lt;P&gt;Thanks but you dont have responded to all my questions &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2018 10:43:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372088#M109480</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-03-23T10:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372089#M109481</link>
      <description>&lt;P&gt;i have responded to your previous questions.&lt;BR /&gt;
please ask if i missed anything&lt;/P&gt;</description>
      <pubDate>Fri, 23 Mar 2018 10:49:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372089#M109481</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-03-23T10:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372090#M109482</link>
      <description>&lt;P&gt;Yes you have missed this logloganathan&lt;BR /&gt;
1)  which SPL command i have to write for checking if the service is up or down? (see code below)&lt;BR /&gt;
index = winsvc type = service disabled = 1 Name = "CcmExec" OR Name = "RCAgentMgr" OR Name = "WMI" Status = "Arrêté" Start mode = "Manuel" OR Start mode = "Désactivé"&lt;/P&gt;

&lt;P&gt;2) which SPL command i have to write for checking a filethe service is up or down? (see code below)&lt;BR /&gt;
[monitor://C:\Windows\Logs\CBS]&lt;BR /&gt;
interval = 120&lt;BR /&gt;
whitelist = .log$&lt;BR /&gt;
disabled = 1&lt;BR /&gt;
followTail = 0 AND _TCP_ROUTING = pnlogGroup&lt;/P&gt;

&lt;P&gt;THANKS&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:39:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372090#M109482</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-09-29T18:39:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372091#M109483</link>
      <description>&lt;P&gt;hello all, nobody for helping me please??&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 05:58:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372091#M109483</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-03-26T05:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372092#M109484</link>
      <description>&lt;P&gt;1)&lt;BR /&gt;
index = winsvc type = service disabled = 1 Name = "CcmExec" OR Name = "RCAgentMgr" OR Name = "WMI"  Start mode = "Manuel" OR Start mode = "Désactivé" | table Status&lt;/P&gt;

&lt;P&gt;if status is active then service is up else vice versa&lt;/P&gt;

&lt;P&gt;2)&lt;BR /&gt;
followTail = 0 AND _TCP_ROUTING = "pnlogGroup" | table disabled&lt;BR /&gt;
time range 120 minute&lt;BR /&gt;
based on disabled value you can consider whether its up or down&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:40:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372092#M109484</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2020-09-29T18:40:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372093#M109485</link>
      <description>&lt;P&gt;Nathan&lt;/P&gt;

&lt;P&gt;1) OK for this answer&lt;BR /&gt;
2) I dont understand&lt;BR /&gt;
i use the code below because i want to find the word "error" in C:\Tools\Flags&lt;BR /&gt;
but i dont know why you put : | table disabled???? disabled = 0 ou 1....&lt;BR /&gt;
so where i put the word "error" in my SPL command???&lt;/P&gt;

&lt;P&gt;[monitor://C:\Tools\Flags]&lt;BR /&gt;
interval = 120&lt;/P&gt;

&lt;H1&gt;How often, in seconds, to poll for new data&lt;/H1&gt;

&lt;P&gt;whitelist = .log$&lt;/P&gt;

&lt;H1&gt;If set, Splunk Enterprise only monitors files whose names match the specified regular expression&lt;/H1&gt;

&lt;P&gt;disabled = 1&lt;/P&gt;

&lt;H1&gt;Whether or not to gather the performance data defined in this input&lt;/H1&gt;

&lt;P&gt;followTail = 0 AND _TCP_ROUTING = pnlogGroup&lt;/P&gt;

&lt;H1&gt;If set to 1, monitoring begins at the end of the file&lt;/H1&gt;

&lt;H1&gt;Specifies a comma-separated list of tcpout group names Define the tcpout group names in outputs.conf&lt;/H1&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:41:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372093#M109485</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-09-29T18:41:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372094#M109486</link>
      <description>&lt;P&gt;if you want to add "error"&lt;BR /&gt;
followTail = 0 AND _TCP_ROUTING = "pnlogGroup"  "error"  disabled=1&lt;BR /&gt;
time range 120 minute&lt;BR /&gt;
Please refer the document which will help you for outputs.conf&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.2/Admin/Outputsconf" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.2/Admin/Outputsconf&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:41:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372094#M109486</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2020-09-29T18:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372095#M109487</link>
      <description>&lt;P&gt;so the entire SPL command is just this? :&lt;BR /&gt;
followTail = 0 AND _TCP_ROUTING = "pnlogGroup" "error" disabled=1 time range 120 minute&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:41:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372095#M109487</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-09-29T18:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372096#M109488</link>
      <description>&lt;P&gt;so the entire SPL command is :&lt;BR /&gt;
followTail = 0 AND _TCP_ROUTING = "pnlogGroup" "error" disabled=1 time range 120 minute ???&lt;BR /&gt;
or does it miss some informations??&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:41:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372096#M109488</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-09-29T18:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372097#M109489</link>
      <description>&lt;P&gt;You have to add the index in the query..&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 16:52:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372097#M109489</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-03-26T16:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372098#M109490</link>
      <description>&lt;P&gt;Index = winsvc &lt;BR /&gt;
Please refer previous example&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 16:58:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372098#M109490</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-03-26T16:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372099#M109491</link>
      <description>&lt;P&gt;so index=main | followTail = 0 AND _TCP_ROUTING = "pnlogGroup" | table disabled time range 120 minute??&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:41:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372099#M109491</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-09-29T18:41:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372100#M109492</link>
      <description>&lt;P&gt;sorry i have forgotten "error"&lt;/P&gt;

&lt;P&gt;so index=main | followTail = 0 AND _TCP_ROUTING = "pnlogGroup"| "error" | table disabled time range 120 minute??&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:42:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372100#M109492</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2020-09-29T18:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372101#M109493</link>
      <description>&lt;P&gt;Index = main followTail=0 _TCP_ROUTING="pnlogGroup" "error" | table disabled&lt;/P&gt;

&lt;P&gt;Then select time range 120 minutes&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:42:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372101#M109493</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2020-09-29T18:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372102#M109494</link>
      <description>&lt;P&gt;oh thanks!&lt;BR /&gt;
sorry i a m rouky and i didnt male any elearning so it s difficut for me&lt;BR /&gt;
i have a last question&lt;BR /&gt;
when we wrire an spl command how do we do to know the exact name of a field in the index&lt;BR /&gt;
we are obliged to display fils like this :&lt;BR /&gt;
index=_internal | stats values(*) AS * | transpose | table column | rename column AS Fieldnames&lt;BR /&gt;
thanks again&lt;/P&gt;</description>
      <pubDate>Mon, 26 Mar 2018 17:53:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372102#M109494</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2018-03-26T17:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to check the status and start mode of these services?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372103#M109495</link>
      <description>&lt;P&gt;index=_internal | fieldsummary &lt;/P&gt;

&lt;P&gt;here you can see all the field summary. Please refer this document for more help&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.3.3/SearchReference/Fieldsummary"&gt;http://docs.splunk.com/Documentation/Splunk/6.3.3/SearchReference/Fieldsummary&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Mar 2018 09:16:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-check-the-status-and-start-mode-of-these-services/m-p/372103#M109495</guid>
      <dc:creator>logloganathan</dc:creator>
      <dc:date>2018-03-27T09:16:37Z</dc:date>
    </item>
  </channel>
</rss>

