<?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: extract usage basics in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/extract-usage-basics/m-p/84753#M4578</link>
    <description>&lt;P&gt;martin,&lt;BR /&gt;
thanks for your reply. I'm worried about how to use the extracted data in the successive commands&lt;/P&gt;

&lt;P&gt;for example&lt;BR /&gt;
if i use a rex, i'll use a FIELDVALUE variable which'll be used in the successive command&lt;/P&gt;

&lt;P&gt;so now, the events look like this&lt;BR /&gt;
event 1: a10=200,a11=210,a12=220&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;again, my search commands looks like this&lt;BR /&gt;
source "somesource" | extract kvdelim="=" pairdelim="," auto=f&lt;/P&gt;

&lt;P&gt;do i have to use a rex eventhough i use a extract command? how will i refer the extracted fields in the succesive commands. sorry for my ignorance. &lt;/P&gt;

&lt;P&gt;please guide me.&lt;/P&gt;

&lt;P&gt;regards,&lt;BR /&gt;
murali v&lt;/P&gt;</description>
    <pubDate>Fri, 05 Apr 2013 05:55:39 GMT</pubDate>
    <dc:creator>muraliv</dc:creator>
    <dc:date>2013-04-05T05:55:39Z</dc:date>
    <item>
      <title>extract usage basics</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/extract-usage-basics/m-p/84751#M4576</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I understand what extract or kv command does. but what i don't understand is how the extracted values should be used in a timechart command.&lt;/P&gt;

&lt;P&gt;for example.&lt;/P&gt;

&lt;P&gt;event 1: 10=200,11=210,12=220&lt;/P&gt;

&lt;P&gt;event 2: 10=300,11=310,12=320&lt;/P&gt;

&lt;P&gt;event 3: 10=400,11=410,12=420&lt;/P&gt;

&lt;P&gt;if i want to plot a line graph, which will plot all the values of 10,11 and 12 i'll use as following&lt;/P&gt;

&lt;P&gt;source "someosource" | extract kvdelim="=" pairdelim="," auto=f&lt;/P&gt;

&lt;P&gt;how should i use the subsequent timechart command. how will i refer the fields 10,11 and 12 in the timecharts.&lt;BR /&gt;
please guide me since i can't find a complete one to one tutorial with samples for extract command.&lt;/P&gt;

&lt;P&gt;thanks in advance.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Apr 2013 13:13:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/extract-usage-basics/m-p/84751#M4576</guid>
      <dc:creator>muraliv</dc:creator>
      <dc:date>2013-04-04T13:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: extract usage basics</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/extract-usage-basics/m-p/84752#M4577</link>
      <description>&lt;P&gt;If I modify your data like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;event 1: a10=200,a11=210,a12=220
event 2: a10=300,a11=310,a12=320
event 3: a10=400,a11=410,a12=420
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Then extract will pull out all the fields without any parameters given. I assume extract refuses to extract numbers as field names. You can still write a rex for that like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...  | rex "10=(?&amp;lt;10&amp;gt;\d+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 04 Apr 2013 13:47:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/extract-usage-basics/m-p/84752#M4577</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-04-04T13:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: extract usage basics</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/extract-usage-basics/m-p/84753#M4578</link>
      <description>&lt;P&gt;martin,&lt;BR /&gt;
thanks for your reply. I'm worried about how to use the extracted data in the successive commands&lt;/P&gt;

&lt;P&gt;for example&lt;BR /&gt;
if i use a rex, i'll use a FIELDVALUE variable which'll be used in the successive command&lt;/P&gt;

&lt;P&gt;so now, the events look like this&lt;BR /&gt;
event 1: a10=200,a11=210,a12=220&lt;BR /&gt;
...&lt;/P&gt;

&lt;P&gt;again, my search commands looks like this&lt;BR /&gt;
source "somesource" | extract kvdelim="=" pairdelim="," auto=f&lt;/P&gt;

&lt;P&gt;do i have to use a rex eventhough i use a extract command? how will i refer the extracted fields in the succesive commands. sorry for my ignorance. &lt;/P&gt;

&lt;P&gt;please guide me.&lt;/P&gt;

&lt;P&gt;regards,&lt;BR /&gt;
murali v&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2013 05:55:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/extract-usage-basics/m-p/84753#M4578</guid>
      <dc:creator>muraliv</dc:creator>
      <dc:date>2013-04-05T05:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: extract usage basics</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/extract-usage-basics/m-p/84754#M4579</link>
      <description>&lt;P&gt;With those events &lt;CODE&gt;extract&lt;/CODE&gt; without any parameters will extract fields called a10, a11, and a12. You can then refer to those field names in successive commands.&lt;/P&gt;

&lt;P&gt;For a simple confirmation, append a &lt;CODE&gt;| table a10 a11 a12&lt;/CODE&gt; to your &lt;CODE&gt;extract&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2013 07:07:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/extract-usage-basics/m-p/84754#M4579</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-04-05T07:07:32Z</dc:date>
    </item>
  </channel>
</rss>

