<?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: How to move raw data with no field assigned to a table? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-move-raw-data-with-no-field-assigned-to-a-table/m-p/312880#M93654</link>
    <description>&lt;P&gt;The simple answer is extract the data into a field.&lt;/P&gt;

&lt;P&gt;The documentation goes into this in great depth and length, about using the field extractor and many other options: &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.1/Knowledge/Aboutfields"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.1/Knowledge/Aboutfields&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;With a quick one-off though you may consider using the &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.1/SearchReference/rex"&gt;rex&lt;/A&gt; command to quickly extract the numeric portion and then use it like so: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;base search&amp;gt; | rex "duration (?&amp;lt;duration_ms&amp;gt;\d+)ms" | timechart count min(duration_ms) max(duration_ms) avg(duration_ms) p95(duration_ms)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;EM&gt;I should note, I only had your one partial sample to work with, therefore milage may vary&lt;/EM&gt; but that's the general idea... Build a regular expression to extract the data you want from your events, with appropriate anchoring. If you need help developing regular expressions, I recommend playing with regex101.com or any number of other interactive regex testers.&lt;/P&gt;

&lt;P&gt;If you are taking formal courses from Splunk it looks like this is started to be covered in &lt;A href="https://www.splunk.com/view/SP-CAAAPYB"&gt;Splunk Fundamentals 2&lt;/A&gt; and later on with &lt;A href="https://www.splunk.com/view/SP-CAAAPSE"&gt;Splunk Data Administration&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Sun, 21 Jan 2018 20:29:06 GMT</pubDate>
    <dc:creator>acharlieh</dc:creator>
    <dc:date>2018-01-21T20:29:06Z</dc:date>
    <item>
      <title>How to move raw data with no field assigned to a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-move-raw-data-with-no-field-assigned-to-a-table/m-p/312879#M93653</link>
      <description>&lt;P&gt;This might be a really simple question, but I haven't been able to find an answer as of yet. I have some raw data from some events that is for example "(duration 5555ms)" and I want to put that in a "| timechart span=1m count by duration" to create a chart that shows when these events took place and their total duration. There is currently no field set up for duration, it is just raw data. How would I get those numbers into my time chart?&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2018 00:40:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-move-raw-data-with-no-field-assigned-to-a-table/m-p/312879#M93653</guid>
      <dc:creator>cdhippen</dc:creator>
      <dc:date>2018-01-21T00:40:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to move raw data with no field assigned to a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-move-raw-data-with-no-field-assigned-to-a-table/m-p/312880#M93654</link>
      <description>&lt;P&gt;The simple answer is extract the data into a field.&lt;/P&gt;

&lt;P&gt;The documentation goes into this in great depth and length, about using the field extractor and many other options: &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.1/Knowledge/Aboutfields"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.1/Knowledge/Aboutfields&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;With a quick one-off though you may consider using the &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.1/SearchReference/rex"&gt;rex&lt;/A&gt; command to quickly extract the numeric portion and then use it like so: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;base search&amp;gt; | rex "duration (?&amp;lt;duration_ms&amp;gt;\d+)ms" | timechart count min(duration_ms) max(duration_ms) avg(duration_ms) p95(duration_ms)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;EM&gt;I should note, I only had your one partial sample to work with, therefore milage may vary&lt;/EM&gt; but that's the general idea... Build a regular expression to extract the data you want from your events, with appropriate anchoring. If you need help developing regular expressions, I recommend playing with regex101.com or any number of other interactive regex testers.&lt;/P&gt;

&lt;P&gt;If you are taking formal courses from Splunk it looks like this is started to be covered in &lt;A href="https://www.splunk.com/view/SP-CAAAPYB"&gt;Splunk Fundamentals 2&lt;/A&gt; and later on with &lt;A href="https://www.splunk.com/view/SP-CAAAPSE"&gt;Splunk Data Administration&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2018 20:29:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-move-raw-data-with-no-field-assigned-to-a-table/m-p/312880#M93654</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2018-01-21T20:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to move raw data with no field assigned to a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-move-raw-data-with-no-field-assigned-to-a-table/m-p/312881#M93655</link>
      <description>&lt;P&gt;This is great! I took Splunk fundamentals but they didn't go over rex, so while I've seen it before I didn't exactly know how to use it. Also I tried field extraction but got lost. I'll definitely dive into this documentation, much appreciated!&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2018 21:51:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-move-raw-data-with-no-field-assigned-to-a-table/m-p/312881#M93655</guid>
      <dc:creator>cdhippen</dc:creator>
      <dc:date>2018-01-21T21:51:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to move raw data with no field assigned to a table?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-move-raw-data-with-no-field-assigned-to-a-table/m-p/312882#M93656</link>
      <description>&lt;P&gt;The free &lt;A href="https://www.splunk.com/view/SP-CAAAPX9"&gt;Splunk Fundamentals 1&lt;/A&gt; course doesn't get into field extraction... but rather assumes fields are already extracted for you. Fundamentals 2 (which is paid training) picks up where Fundamentals 1 leaves off and gets into the basics of field extractions among other topics.&lt;/P&gt;

&lt;P&gt;I have to admit I took the older courses and not the Fundmentals series (I don't remember if this was a normal Searching and Reporting class topic, or an Advanced S&amp;amp;R topic, or if rex landed squarely in the Admin course... but different aspects were covered in different parts of my Splunk class journey). &lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2018 21:56:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-move-raw-data-with-no-field-assigned-to-a-table/m-p/312882#M93656</guid>
      <dc:creator>acharlieh</dc:creator>
      <dc:date>2018-01-21T21:56:24Z</dc:date>
    </item>
  </channel>
</rss>

