<?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: Unable to do timechart for a field which has varying values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249356#M74447</link>
    <description>&lt;P&gt;Please share your query (including the regex)&lt;/P&gt;</description>
    <pubDate>Sun, 16 Oct 2016 14:40:50 GMT</pubDate>
    <dc:creator>sundareshr</dc:creator>
    <dc:date>2016-10-16T14:40:50Z</dc:date>
    <item>
      <title>Unable to do timechart for a field which has varying values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249355#M74446</link>
      <description>&lt;P&gt;I am extracting a field using regular expression, it looks like below, These are top 5 processes which is consuming high memory&lt;/P&gt;

&lt;P&gt;SiteScope.exe MemGB : 4886&lt;BR /&gt;
perfmon.exe MemGB : 282&lt;BR /&gt;
svchost.exe MemGB : 172&lt;BR /&gt;
powershell.exe MemGB : 125&lt;BR /&gt;
WmiApSrv.exe MemGB : 107&lt;BR /&gt;
SiteScope.exe MemGB : 4885&lt;BR /&gt;
perfmon.exe MemGB : 282&lt;BR /&gt;
svchost.exe MemGB : 172&lt;BR /&gt;
powershell.exe MemGB : 125&lt;BR /&gt;
WmiApSrv.exe MemGB : 107&lt;BR /&gt;
SiteScope.exe MemGB : 4884&lt;BR /&gt;
perfmon.exe MemGB : 282&lt;BR /&gt;
svchost.exe MemGB : 172&lt;BR /&gt;
powershell.exe MemGB : 125&lt;/P&gt;

&lt;P&gt;I am splitting the process name and memory usage again using regex. Once i do that there is be 5 process names but many numbers of memory usage values (during the selected time frame). I want to do a timechart for memory usage but it is not coming up correctly. When i do a table for Processname and memory, each event is coming up with 5 proc names and mem usage. How do i split them into separate events?&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2016 13:38:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249355#M74446</guid>
      <dc:creator>anoopambli</dc:creator>
      <dc:date>2016-10-16T13:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to do timechart for a field which has varying values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249356#M74447</link>
      <description>&lt;P&gt;Please share your query (including the regex)&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2016 14:40:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249356#M74447</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-10-16T14:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to do timechart for a field which has varying values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249357#M74448</link>
      <description>&lt;P&gt;index = tso_operations sourcetype = sitescope_monitorstate host = tsmonw24prdv "[TSMONW46PRDV] Top 10 Proc_Mem" | rex max_match=5 "Name\s+:\s+(?\S+\sMemGB\s:\s\d+)" | rex field=Process "(?^\w+).exe\sMemGB\s:\s(?\d+)"&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 11:23:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249357#M74448</guid>
      <dc:creator>anoopambli</dc:creator>
      <dc:date>2020-09-29T11:23:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to do timechart for a field which has varying values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249358#M74449</link>
      <description>&lt;P&gt;Is the sample data a single event or multiple events?&lt;/P&gt;</description>
      <pubDate>Sun, 16 Oct 2016 17:52:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249358#M74449</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-10-16T17:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to do timechart for a field which has varying values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249359#M74450</link>
      <description>&lt;P&gt;You would need mvexpand command to split a multivalued field. Give this a try&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index = tso_operations sourcetype = sitescope_monitorstate host = tsmonw24prdv "[TSMONW46PRDV] Top 10 Proc_Mem" | rex max_match=5 "Name\s+:\s+(?&amp;lt;Process&amp;gt;\S+\sMemGB\s:\s\d+)" | mvexpand Process | rex field=Process "^(?&amp;lt;Process&amp;gt;\w+).exe\sMemGB\s:\s(?&amp;lt;MemGB&amp;gt;\d+)" | timechart max(MemGB) by Process limit=0 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 16 Oct 2016 19:23:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249359#M74450</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-10-16T19:23:47Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to do timechart for a field which has varying values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249360#M74451</link>
      <description>&lt;P&gt;That worked. Thank you very much.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 04:09:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249360#M74451</guid>
      <dc:creator>anoopambli</dc:creator>
      <dc:date>2016-10-17T04:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to do timechart for a field which has varying values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249361#M74452</link>
      <description>&lt;P&gt;Isn't this info also available from the &lt;CODE&gt;top&lt;/CODE&gt; input in the Nix TA? I thought both Win and Nix TAs had nice definitions of data collections and sourcetypes for this type of info.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 21:10:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unable-to-do-timechart-for-a-field-which-has-varying-values/m-p/249361#M74452</guid>
      <dc:creator>sloshburch</dc:creator>
      <dc:date>2016-10-17T21:10:13Z</dc:date>
    </item>
  </channel>
</rss>

