<?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: Need field value to be part of another field in Splunk Dev</title>
    <link>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310482#M4156</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4444iCB1F545A326F7414/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Plot is till not right. I guess I need to do more research. &lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2018 16:08:35 GMT</pubDate>
    <dc:creator>Lynyrd</dc:creator>
    <dc:date>2018-02-26T16:08:35Z</dc:date>
    <item>
      <title>Need field value to be part of another field</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310472#M4146</link>
      <description>&lt;P&gt;I have an &lt;STRONG&gt;upper limit&lt;/STRONG&gt; in one field, a &lt;STRONG&gt;lower limit&lt;/STRONG&gt; in another field, and &lt;STRONG&gt;actual data&lt;/STRONG&gt; in a third field. How do I include the upper and lower limits as part of the actual data so that I can use the chart command showing the actual data between the limits.  Using MVJOIN or MVZIP or MVAPPEND will not work because these perform concatenation... I do not need concatenation, I need inclusion.&lt;/P&gt;

&lt;P&gt;What say you?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 16:44:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310472#M4146</guid>
      <dc:creator>Lynyrd</dc:creator>
      <dc:date>2018-02-23T16:44:15Z</dc:date>
    </item>
    <item>
      <title>Re: Need field value to be part of another field</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310473#M4147</link>
      <description>&lt;P&gt;I don't quite understand what you mean when you say you need inclusion. If you'd like to compare the value in a field called &lt;CODE&gt;actual_data&lt;/CODE&gt; to the values in fields called &lt;CODE&gt;upper_limit&lt;/CODE&gt; and &lt;CODE&gt;lower_limit&lt;/CODE&gt;, you could do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your search that leaves you with actual_data, upper_limit, and lower_limit
| where lower_limit&amp;lt;=actual_data AND actual_data&amp;lt;=upper_limit
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But I'm not sure that's what you're trying to do. Can you explain more?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 17:57:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310473#M4147</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-02-23T17:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Need field value to be part of another field</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310474#M4148</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;sourcetype=mfgtestengsoftware  | search "Result Logged" "Results{}.Pass"=true "B1611" "CCS" "33.[113.1] TP201 TO DGND_LF_PH" | spath Results{}.Minimum | spath Results{}.Maximum | rename Results{}.Maximum AS Maximum | rename Results{}.Minimum AS Minimum | spath Results{}.Actual  | rename Results{}.Actual AS Actual | eval Actual = Round(Actual) | chart count over Actual
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Minimum is the lower limit &amp;amp; Maximum is the upper limit, they are in different fields than the Actual field. So when I use the chart command above "chart count over Actual" the upper and lower limits are not in the plot. I need to get the values of Minimum and Maximum "INCLUDED" into the bins of the actual data so that when the plot is printed on the screen I can SEE the lower and upper limits along with or included with the Actual data. &lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 18:06:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310474#M4148</guid>
      <dc:creator>Lynyrd</dc:creator>
      <dc:date>2018-02-23T18:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need field value to be part of another field</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310475#M4149</link>
      <description>&lt;P&gt;I'm thinking maybe what you want are chart overlays. Do the examples on these pages look like what you want? &lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.0.2/SearchTutorial/Chartoverlays"&gt;https://docs.splunk.com/Documentation/Splunk/7.0.2/SearchTutorial/Chartoverlays&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/Chartcontrols#Chart_overlay"&gt;http://docs.splunk.com/Documentation/SplunkCloud/latest/Viz/Chartcontrols#Chart_overlay&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 18:30:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310475#M4149</guid>
      <dc:creator>elliotproebstel</dc:creator>
      <dc:date>2018-02-23T18:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: Need field value to be part of another field</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310476#M4150</link>
      <description>&lt;P&gt;WOW... chart overlay very confusing example. It would be nice if the SPLUNK community could create a simple to use command called "dInclude(X,Y)" meaning data include. The meaning here is that Field X is included into field Y... so that when someone uses  "chart count over Y" the data that was in X field is now part of the Y field ... like as if the Y field has adopted the X field. Now X and Y are treated as one field and all the data can be plotted together on the same X axis.&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 19:06:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310476#M4150</guid>
      <dc:creator>Lynyrd</dc:creator>
      <dc:date>2018-02-23T19:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Need field value to be part of another field</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310477#M4151</link>
      <description>&lt;P&gt;How about this? You should get 3 lines (assuming you're using line chart) once for count of actual, and one each for Minimum and Maximum for that actual.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=mfgtestengsoftware  | search "Result Logged" "Results{}.Pass"=true "B1611" "CCS" "33.[113.1] TP201 TO DGND_LF_PH" | spath Results{}.Minimum | spath Results{}.Maximum | rename Results{}.Maximum AS Maximum | rename Results{}.Minimum AS Minimum | spath Results{}.Actual  | rename Results{}.Actual AS Actual | eval Actual = Round(Actual) | chart count min(Minimum) as Minimum max(Maximum) as Maximum over Actual
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Feb 2018 19:22:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310477#M4151</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-02-23T19:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need field value to be part of another field</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310478#M4152</link>
      <description>&lt;P&gt;that code gave me three individual plots. I need Min Max and Actual to all be on the same plot.&lt;/P&gt;

&lt;P&gt;I would include a picture but I don't have enough karma points. &lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 20:50:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310478#M4152</guid>
      <dc:creator>Lynyrd</dc:creator>
      <dc:date>2018-02-23T20:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: Need field value to be part of another field</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310479#M4153</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4443i49A0F1F88A1C68C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 20:51:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310479#M4153</guid>
      <dc:creator>Lynyrd</dc:creator>
      <dc:date>2018-02-23T20:51:49Z</dc:date>
    </item>
    <item>
      <title>Re: Need field value to be part of another field</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310480#M4154</link>
      <description>&lt;P&gt;Getting that format will be tricky. What type of value does that Actual field have? Can you provide some sample output from above query (the table that you get)?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 21:14:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310480#M4154</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2018-02-23T21:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Need field value to be part of another field</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310481#M4155</link>
      <description>&lt;P&gt;@Lynyrd, seems like you are using &lt;CODE&gt;Trellis&lt;/CODE&gt; Layout. Just turn it &lt;CODE&gt;off&lt;/CODE&gt; using the Trellis option as available in your sample screenshot and there should be single chart with three series.&lt;/P&gt;

&lt;P&gt;PS: Splunk does provide an option for developers to write &lt;A href="http://dev.splunk.com/view/python-sdk/SP-CAAAEU2"&gt;custom search commands&lt;/A&gt; and also the option to &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/CustomVizDevOverview"&gt;create custom visualization&lt;/A&gt; in case current SPL or built in visualizations/custom visualizations available on Splunkbase do not suit your needs.&lt;/P&gt;</description>
      <pubDate>Sun, 25 Feb 2018 06:51:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310481#M4155</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-02-25T06:51:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need field value to be part of another field</title>
      <link>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310482#M4156</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4444iCB1F545A326F7414/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Plot is till not right. I guess I need to do more research. &lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 16:08:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Dev/Need-field-value-to-be-part-of-another-field/m-p/310482#M4156</guid>
      <dc:creator>Lynyrd</dc:creator>
      <dc:date>2018-02-26T16:08:35Z</dc:date>
    </item>
  </channel>
</rss>

