<?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: Search query to retrieve data from Splunk log for reporting purpose in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Search-query-to-retrieve-data-from-Splunk-log-for-reporting/m-p/493170#M7894</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I believe the first step for you is to start extracting fields from your log, for our luck a lot of common log sources already have field extractions already built into Splunk or either available from Splunk add-ons. What exactly is the log source you're trying to create your report? You might also want to look inside &lt;A href="https://splunkbase.splunk.com/"&gt;https://splunkbase.splunk.com/&lt;/A&gt; to check for any add-ons that might help you.&lt;BR /&gt;
If no add-on is available or you're looking into a quite custom log source you'll need to extract fields yourself. This task can be achieved either by creating REGEXES or using the built-in Splunk field extractor. A good start is to use this documentation that helps you extracting fields: &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.1/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.1/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt;. If you don't know a lot of REGEX, the built-in field extractor is good enough.&lt;/P&gt;

&lt;P&gt;Now assuming you have your data indexed and fields extracted the next part is to start filtering data with Splunk. We can probably help you creating a few searches but it is very dependant on your data. I highly recommend you taking the Free Splunk courses, Foundamentals is a very good starting point: &lt;A href="https://www.splunk.com/en_us/training/free-courses/splunk-fundamentals-1.html"&gt;https://www.splunk.com/en_us/training/free-courses/splunk-fundamentals-1.html&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Hope this helps you with your beginning with Splunk and happy splunking &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jan 2020 14:43:45 GMT</pubDate>
    <dc:creator>gfreitas</dc:creator>
    <dc:date>2020-01-30T14:43:45Z</dc:date>
    <item>
      <title>Search query to retrieve data from Splunk log for reporting purpose</title>
      <link>https://community.splunk.com/t5/Reporting/Search-query-to-retrieve-data-from-Splunk-log-for-reporting/m-p/493169#M7893</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;We do have an application accessible for some authorized users. We want to monitor the users activity for security reason. For this purpose i will need use log information stored in Splunk. I have been trying to generate report using Splunk search query to retrieve the fields and data that i need for my report. I have some basic fields like Index, host sourcetype.... but it is not sufficient enough to provide me with the data that i want. I learned that i should use some expression.I am complete begginer for Splunk and knows very little about Splunk Processing Language. I'd appreciate any help with some generic Splunk query. Below is the report requirements:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;User Enrollment Log&lt;BR /&gt;Provides record of all changes made to user enrollments for the day&lt;BR /&gt;The report shows the full details of each user enrollment before (for changed and deleted enrollments) and/or after (for new and changed enrollments) maintenance&lt;/P&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Group (Role) Function Definition Report&lt;BR /&gt;Provides record of all changes made to function definitions for the day&lt;BR /&gt;The report shows the full details of each function definition before (for changed and deleted definitions) and after (for new and changed definitions) maintenance&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;3.User Activity Log&amp;nbsp;&lt;BR /&gt;Chronological list of all activities for each user &amp;nbsp;&lt;BR /&gt;The information on the report identifies the nature of the activity, the date and time the activity occurred, and whether a permissions violation occurred&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Jun 2020 23:51:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Search-query-to-retrieve-data-from-Splunk-log-for-reporting/m-p/493169#M7893</guid>
      <dc:creator>lesan</dc:creator>
      <dc:date>2020-06-08T23:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Search query to retrieve data from Splunk log for reporting purpose</title>
      <link>https://community.splunk.com/t5/Reporting/Search-query-to-retrieve-data-from-Splunk-log-for-reporting/m-p/493170#M7894</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I believe the first step for you is to start extracting fields from your log, for our luck a lot of common log sources already have field extractions already built into Splunk or either available from Splunk add-ons. What exactly is the log source you're trying to create your report? You might also want to look inside &lt;A href="https://splunkbase.splunk.com/"&gt;https://splunkbase.splunk.com/&lt;/A&gt; to check for any add-ons that might help you.&lt;BR /&gt;
If no add-on is available or you're looking into a quite custom log source you'll need to extract fields yourself. This task can be achieved either by creating REGEXES or using the built-in Splunk field extractor. A good start is to use this documentation that helps you extracting fields: &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.1/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.1/Knowledge/ExtractfieldsinteractivelywithIFX&lt;/A&gt;. If you don't know a lot of REGEX, the built-in field extractor is good enough.&lt;/P&gt;

&lt;P&gt;Now assuming you have your data indexed and fields extracted the next part is to start filtering data with Splunk. We can probably help you creating a few searches but it is very dependant on your data. I highly recommend you taking the Free Splunk courses, Foundamentals is a very good starting point: &lt;A href="https://www.splunk.com/en_us/training/free-courses/splunk-fundamentals-1.html"&gt;https://www.splunk.com/en_us/training/free-courses/splunk-fundamentals-1.html&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Hope this helps you with your beginning with Splunk and happy splunking &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jan 2020 14:43:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Search-query-to-retrieve-data-from-Splunk-log-for-reporting/m-p/493170#M7894</guid>
      <dc:creator>gfreitas</dc:creator>
      <dc:date>2020-01-30T14:43:45Z</dc:date>
    </item>
  </channel>
</rss>

