<?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: Timechart Help in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643833#M223039</link>
    <description>&lt;LI-CODE lang="markup"&gt;| eval location=mvindex(split(host,"/"),0)
| timechart span=1d count by location&lt;/LI-CODE&gt;</description>
    <pubDate>Thu, 18 May 2023 20:17:36 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-05-18T20:17:36Z</dc:date>
    <item>
      <title>How to have all of the CLTW workstations to be summed up as 1 count and so forth for the other locations?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643826#M223036</link>
      <description>&lt;P&gt;I am having trouble with using the time chart command effectively to make c&lt;SPAN&gt;&lt;SPAN class=""&gt;ount of all workstations and with them broken down by location over time.&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class=""&gt;Currently my search is displaying each count of every workstation by location, but instead&amp;nbsp; I am trying to have a sum count of the workstations displayed over every day.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;This is the current search.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=main $WSprefix$ sourcetype=syslog process=elcsend "\"config " CentOS 
| rex "([^!]*!){2}(?P&amp;lt;type&amp;gt;[^!]*)!([^!]*!){4}(?P&amp;lt;role&amp;gt;[^!]*)!([^!]*!){23}(?P&amp;lt;vers&amp;gt;[^!]*)"  
| dedup host 
| search role=std-dhcp
| timechart span=1d count by host&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is one output for a location.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jialiu907_0-1684437117927.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25448i13F51B3310A4E708/image-size/large?v=v2&amp;amp;px=999" role="button" title="jialiu907_0-1684437117927.png" alt="jialiu907_0-1684437117927.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This is an output for another location.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jialiu907_1-1684437235015.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25449iFA98BF1F6C75CE9F/image-size/large?v=v2&amp;amp;px=999" role="button" title="jialiu907_1-1684437235015.png" alt="jialiu907_1-1684437235015.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have implemented a dropdown menu that selects the location based on the hosts prefix.&lt;/P&gt;
&lt;P&gt;I am looking to have all of the CLTW workstations to be summed up as 1 count and so forth for the other locations.&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 12:32:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643826#M223036</guid>
      <dc:creator>jialiu907</dc:creator>
      <dc:date>2023-05-19T12:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart Help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643833#M223039</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval location=mvindex(split(host,"/"),0)
| timechart span=1d count by location&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 18 May 2023 20:17:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643833#M223039</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-05-18T20:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart Help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643929#M223079</link>
      <description>&lt;P&gt;The results still being displayed is that each host is counted as one, when what I am looking for is for all of the host to be summed up.&lt;/P&gt;&lt;P&gt;For reference, for the input dropdown menu, the token I am using is ALL="host=*", CLTW="host=cltw", ORLA="host=orla*", etc.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 14:07:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643929#M223079</guid>
      <dc:creator>jialiu907</dc:creator>
      <dc:date>2023-05-19T14:07:42Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart Help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643933#M223081</link>
      <description>&lt;P&gt;OK I misread your picture (that's the problem with using graphics rather than pasting text into code blocks &amp;lt;/&amp;gt;!)&lt;/P&gt;&lt;P&gt;Try changing your drop down to&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;ALL="host=", CLTW="host=cltw", ORLA="host=orla", etc.&lt;/LI-CODE&gt;&lt;P&gt;Then use&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;$token$*&lt;/LI-CODE&gt;&lt;P&gt;in your search, i.e. remove the * from the token and append it where it is used.&lt;/P&gt;&lt;P&gt;That way you can use&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval location=$token|s$&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 19 May 2023 14:18:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643933#M223081</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-05-19T14:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart Help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643956#M223090</link>
      <description>&lt;P&gt;Where are you suggesting to put?&lt;/P&gt;&lt;PRE&gt;$token$*&lt;/PRE&gt;&lt;P&gt;I have tried putting that in Token in the editing option of the dropdown and it is invalid.&lt;/P&gt;&lt;P&gt;Currently my dropdown list looks like this.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jialiu907_0-1684511082067.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25478iEF96E5B5AE4619CB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jialiu907_0-1684511082067.png" alt="jialiu907_0-1684511082067.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have tried changing to your suggestion of&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;ALL="host=", CLTW="host=cltw", ORLA="host=orla", etc.&lt;/PRE&gt;&lt;P&gt;but without the *, the search doesn't work. I assume it's due to the fact there are multiple hosts that starts with "cltw", "orla", etc, and none that is exactly just "cltw" or "orla".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 15:52:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643956#M223090</guid>
      <dc:creator>jialiu907</dc:creator>
      <dc:date>2023-05-19T15:52:10Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart Help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643960#M223092</link>
      <description>&lt;P&gt;Where are you using the token in your search?&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 16:37:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643960#M223092</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-05-19T16:37:01Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart Help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643965#M223093</link>
      <description>&lt;LI-CODE lang="markup"&gt;index=main $token$ sourcetype=syslog process=elcsend "\"config " CentOS 
| rex "([^!]*!){2}(?P&amp;lt;type&amp;gt;[^!]*)!([^!]*!){4}(?P&amp;lt;role&amp;gt;[^!]*)!([^!]*!){23}(?P&amp;lt;vers&amp;gt;[^!]*)"  
| dedup host 
| search role=std-dhcp
| eval location=$token|s$
| timechart span=1d count by location&lt;/LI-CODE&gt;&lt;P&gt;This is my current search&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 17:29:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643965#M223093</guid>
      <dc:creator>jialiu907</dc:creator>
      <dc:date>2023-05-19T17:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart Help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643966#M223094</link>
      <description>&lt;P&gt;Try setting all to "" and setting the values of the other choices to just the location then use this search&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=main host=$token$* sourcetype=syslog process=elcsend "\"config " CentOS 
| rex "([^!]*!){2}(?P&amp;lt;type&amp;gt;[^!]*)!([^!]*!){4}(?P&amp;lt;role&amp;gt;[^!]*)!([^!]*!){23}(?P&amp;lt;vers&amp;gt;[^!]*)"  
| dedup host 
| search role=std-dhcp
| eval location=$token|s$
| timechart span=1d count by location&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 19 May 2023 17:35:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643966#M223094</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-05-19T17:35:25Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart Help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643970#M223095</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jialiu907_0-1684518601143.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25482i403E79BE9E090B61/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jialiu907_0-1684518601143.png" alt="jialiu907_0-1684518601143.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have done your suggestions and I am looking to see what I should put in the Token field. Currently the input menu is displaying "could not create search" as I think the connection&amp;nbsp; from the search and to the dropdown menu is broken.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jialiu907_1-1684518759565.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25483i9FD3EFD1BC8054A5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jialiu907_1-1684518759565.png" alt="jialiu907_1-1684518759565.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is what I have done with the dropdown menu as well&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 17:53:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643970#M223095</guid>
      <dc:creator>jialiu907</dc:creator>
      <dc:date>2023-05-19T17:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Timechart Help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643978#M223098</link>
      <description>&lt;P&gt;I think I fixed the situation with the&amp;nbsp;&lt;SPAN&gt;"could not create search" as I just deleted the dropdown menu and made it again, the exact same way. I'm not sure what caused the issue but the connection does seem to work now. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you for helping me through all this trouble!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2023 18:49:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-have-all-of-the-CLTW-workstations-to-be-summed-up-as-1/m-p/643978#M223098</guid>
      <dc:creator>jialiu907</dc:creator>
      <dc:date>2023-05-19T18:49:04Z</dc:date>
    </item>
  </channel>
</rss>

