<?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: Splunk Search SPL in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640528#M16110</link>
    <description>&lt;P&gt;Without the SPL you already have, it is difficult to tell you what to change. However, assuming that you already have distance in one field (distance), order type in another field (type), and time in another field (_time), and that what you actually mean is distance on the Y-axis i.e. the measurement you are wanting to show, then try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| timechart max(distance) as distance by type&lt;/LI-CODE&gt;</description>
    <pubDate>Wed, 19 Apr 2023 07:41:35 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2023-04-19T07:41:35Z</dc:date>
    <item>
      <title>Splunk Search SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640520#M16106</link>
      <description>&lt;P&gt;Hello Splunkers !!&lt;BR /&gt;&lt;BR /&gt;Below are the screenshot visualization we need to achieve through Splunk.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We need Ordertype on Yaxis, and&amp;nbsp;&lt;SPAN&gt;&lt;SPAN class=""&gt;&amp;nbsp;cross Ailsle distance &amp;amp; time on Xaxis. Please let me know how can I use this in timechart command ?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uagraw01_0-1681888908635.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24967i5E3296EC321D5253/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uagraw01_0-1681888908635.png" alt="uagraw01_0-1681888908635.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 07:26:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640520#M16106</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2023-04-19T07:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640528#M16110</link>
      <description>&lt;P&gt;Without the SPL you already have, it is difficult to tell you what to change. However, assuming that you already have distance in one field (distance), order type in another field (type), and time in another field (_time), and that what you actually mean is distance on the Y-axis i.e. the measurement you are wanting to show, then try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| timechart max(distance) as distance by type&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Apr 2023 07:41:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640528#M16110</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-19T07:41:35Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640532#M16111</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; Below are two fields as well as complete SPL&lt;BR /&gt;&lt;BR /&gt;OrderType &amp;amp;CrossAisleDistance&lt;BR /&gt;=============================================&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;| datamodel ITconnection ThroughputReport flat&lt;BR /&gt;|search OrderStatus="Finished" AND OrderType IN(Storage, Transfer, Retrieval, "Sequenced retrieval", Relocate)&lt;BR /&gt;`convert_time_fields`&lt;BR /&gt;| search date_year="*" date_month="*" weeknum="*" day_week="*" date_hour="*" date_minute="*"&lt;BR /&gt;| fields _time OrderId OrderType LiftId EntryLocation LogicalDestination CrossAisleDistance ModuleId&lt;BR /&gt;| fillnull LiftId EntryLocation LogicalDestination value="Unknown"&lt;BR /&gt;| search LiftId IN("*") EntryLocation IN ("*") LogicalDestination IN ("*") | search OrderType IN("*")&lt;BR /&gt;| eval OrderType=if(OrderType="Sequenced retrieval","S_Ret", OrderType)&lt;BR /&gt;| chart count by CrossAisleDistance, OrderType limit=0&lt;BR /&gt;| addcoltotals labelfield=CrossAisleDistance label=Total&lt;BR /&gt;| eval Retrieval=if(isnull(Retrieval),0,Retrieval) , Storage=if(isnull(Storage),0,Storage) , Transfer=if(isnull(Transfer),0,Transfer), S_Ret=if(isnull(S_Ret),0,S_Ret), Relocate=if(isnull(Relocate),0,Relocate)&lt;BR /&gt;| eventstats last(Retrieval) as Ret, last(Storage) as store, last(Transfer) as Trans, last(S_Ret) as seqret, last(Relocate) as relo&lt;BR /&gt;| eval Relocate=if(isnotnull(Relocate),round((Relocate/(Ret+store+Trans+seqret+relo))*100,2),round((Relocate/relo)*100,2)), Retrieval=if(isnotnull(Retrieval),round((Retrieval/(Ret+store+Trans+seqret+relo))*100,2),round((Retrieval/Ret)*100,2)), Storage=if(isnotnull(Storage),round((Storage/(Ret+store+Trans+seqret+relo))*100,2), round((Storage/store)*100,2)), Transfer=if(isnotnull(Transfer),round((Transfer/(Ret+store+Trans+seqret+relo))*100,2), round((Transfer/Trans)*100,2)), SequencedRetrieval=if(isnotnull(S_Ret),round((S_Ret/(Ret+store+Trans+seqret+relo))*100,2),round((S_Ret/seqret)*100,2))&lt;BR /&gt;| where CrossAisleDistance!="Total"&lt;BR /&gt;| fields - Ret, store, Trans, S_Ret, seqret, relo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 07:48:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640532#M16111</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2023-04-19T07:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640539#M16112</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp; So far my visualization is looking as below. But I want time also in the x-axis&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="uagraw01_0-1681893843689.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/24972i5EAADFB499B83E2A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="uagraw01_0-1681893843689.png" alt="uagraw01_0-1681893843689.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 08:44:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640539#M16112</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2023-04-19T08:44:43Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640559#M16113</link>
      <description>&lt;P&gt;After this point in your search&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| chart count by CrossAisleDistance, OrderType limit=0&lt;/LI-CODE&gt;&lt;P&gt;You no longer have _time available to you&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 10:14:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640559#M16113</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-19T10:14:41Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640563#M16114</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;I have used this in place of the "| chart count by CrossAisleDistance, OrderType limit=0" . But still is not giving the expected results&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;| bin _time span=1d&lt;BR /&gt;| stats count by CrossAisleDistance, OrderType _time&lt;BR /&gt;| xyseries CrossAisleDistance, OrderType _time&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 10:26:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640563#M16114</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2023-04-19T10:26:25Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640566#M16115</link>
      <description>&lt;P&gt;What did you expect that command to do?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.4/SearchReference/Xyseries" target="_blank"&gt;xyseries - Splunk Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.splunk.com/en_us/blog/customers/splunk-clara-fication-transpose-xyseries-untable-and-more.html?locale=en_us" target="_blank"&gt;Splunk &amp;gt; Clara-fication: transpose, xyseries, untable, and More | Splunk&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 10:44:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640566#M16115</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-19T10:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640626#M16122</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;I am expecting order_type on y-axis and distance and time is on x-axis&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 15:13:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640626#M16122</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2023-04-19T15:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640630#M16124</link>
      <description>&lt;P&gt;Axis are for "measuring" one thing at a time. Can you show a picture of what you are trying to achieve? Or perhaps, what it is that you intend the chart to be able to visualise?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 15:30:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640630#M16124</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-19T15:30:07Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640634#M16125</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;In a very first screenshot I have pasted , that is the visualization which I want to achieve.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 15:40:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640634#M16125</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2023-04-19T15:40:05Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640638#M16126</link>
      <description>&lt;P&gt;Your pasted visualisation doesn't have two things on the x-axis - if you just want time on the x-axis, it has to be in the first column&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 15:42:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640638#M16126</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-19T15:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640641#M16127</link>
      <description>&lt;P&gt;Yes you are right. Now in your view can I achieve the same kind of visualization through Splunk ?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Apr 2023 15:46:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640641#M16127</guid>
      <dc:creator>uagraw01</dc:creator>
      <dc:date>2023-04-19T15:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Search SPL</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640642#M16128</link>
      <description>&lt;LI-CODE lang="markup"&gt;| timechart count by OrderType&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 19 Apr 2023 15:52:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Splunk-Search-SPL/m-p/640642#M16128</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-04-19T15:52:30Z</dc:date>
    </item>
  </channel>
</rss>

