<?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 How to create a query that pulls the following fields from each event? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-query-that-pulls-the-following-fields-from-each/m-p/643275#M222830</link>
    <description>&lt;P&gt;Can anyone offer some guidance on how to go about creating a query that pulls the following fields from each event&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Start_time (date and time ) — different from _time field&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;End_time (date and time )&amp;nbsp;— different from _time field&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;usage_amount ( a whole number)&amp;nbsp;&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;I will like to calculate the time difference between the start and end time and split every event that the start and end time span over one day and split the original event into multiple individual events where each event from the search just returns the modified list of events where the start and end times are within the same day&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 15 May 2023 14:01:28 GMT</pubDate>
    <dc:creator>Strangertinz</dc:creator>
    <dc:date>2023-05-15T14:01:28Z</dc:date>
    <item>
      <title>How to create a query that pulls the following fields from each event?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-query-that-pulls-the-following-fields-from-each/m-p/643275#M222830</link>
      <description>&lt;P&gt;Can anyone offer some guidance on how to go about creating a query that pulls the following fields from each event&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Start_time (date and time ) — different from _time field&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;End_time (date and time )&amp;nbsp;— different from _time field&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;usage_amount ( a whole number)&amp;nbsp;&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;I will like to calculate the time difference between the start and end time and split every event that the start and end time span over one day and split the original event into multiple individual events where each event from the search just returns the modified list of events where the start and end times are within the same day&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 May 2023 14:01:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-query-that-pulls-the-following-fields-from-each/m-p/643275#M222830</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-05-15T14:01:28Z</dc:date>
    </item>
    <item>
      <title>Re: Spl query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-query-that-pulls-the-following-fields-from-each/m-p/643276#M222831</link>
      <description>&lt;P&gt;You want to start by telling the community about your data. (Anonymize as needed.) &amp;nbsp;How do you determine what is Start_time, what is End_time, what is usage_amount, etc.? &amp;nbsp;SPL is just a tool. &amp;nbsp;Until you can show volunteers how you do it without SPL, we cannot help you craft SPL.&lt;/P&gt;</description>
      <pubDate>Sat, 13 May 2023 23:06:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-query-that-pulls-the-following-fields-from-each/m-p/643276#M222831</guid>
      <dc:creator>yuanliu</dc:creator>
      <dc:date>2023-05-13T23:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: Spl query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-query-that-pulls-the-following-fields-from-each/m-p/643279#M222832</link>
      <description>&lt;P&gt;I attached some picture of the sample data and query thus far&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 1.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25371i3D91D377988BB2D7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 1.png" alt="Screen Shot 1.png" /&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-center" image-alt="Screen Shot 2.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25370i75D125C54FA4C306/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2.png" alt="Screen Shot 2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2023 01:57:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-query-that-pulls-the-following-fields-from-each/m-p/643279#M222832</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-05-14T01:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: Spl query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-query-that-pulls-the-following-fields-from-each/m-p/643280#M222833</link>
      <description>&lt;P&gt;Thanks, I posted some pictures of the data/current SPL query. Let me know if I can provide anything else&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2023 01:59:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-query-that-pulls-the-following-fields-from-each/m-p/643280#M222833</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-05-14T01:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: Spl query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-query-that-pulls-the-following-fields-from-each/m-p/643285#M222834</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ITWhisperer_0-1684045746990.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25373i41FFD99F5C688346/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ITWhisperer_0-1684045746990.png" alt="ITWhisperer_0-1684045746990.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2023 06:29:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-query-that-pulls-the-following-fields-from-each/m-p/643285#M222834</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2023-05-14T06:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Spl query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-query-that-pulls-the-following-fields-from-each/m-p/643293#M222835</link>
      <description>&lt;P&gt;This is awesome! Thanks !!!&lt;/P&gt;</description>
      <pubDate>Sun, 14 May 2023 16:27:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-create-a-query-that-pulls-the-following-fields-from-each/m-p/643293#M222835</guid>
      <dc:creator>Strangertinz</dc:creator>
      <dc:date>2023-05-14T16:27:27Z</dc:date>
    </item>
  </channel>
</rss>

