<?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 edit my search to create a more detailed report including date and time of events for management? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149149#M41691</link>
    <description>&lt;P&gt;I'm getting close to what I'm looking for&lt;/P&gt;

&lt;P&gt;index="index" "External authentication server denied access" | convert timeformat="%b %d %H:%M" ctime(_time) as Time | table Time, User | stats count by User, Time | sort count&lt;/P&gt;

&lt;P&gt;However I've tried several different combinations of the sort command but can not seem to get it in descending order. &lt;/P&gt;</description>
    <pubDate>Mon, 23 Feb 2015 15:27:48 GMT</pubDate>
    <dc:creator>renopaul</dc:creator>
    <dc:date>2015-02-23T15:27:48Z</dc:date>
    <item>
      <title>How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149137#M41679</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index="index" "some form of data" | top limit=100 User showperc=f
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have the above search string which works great.  However, I’m being asked to break out just a bit more data, mainly the date/time that the event occurred.  The information is in the detailed data, however makes for a very ugly report.  Being a novice at best I’ve reached the limit of my knowledge.  What can I add to the search string to provide this information for management in a usable report?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 14:27:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149137#M41679</guid>
      <dc:creator>renopaul</dc:creator>
      <dc:date>2015-02-23T14:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149138#M41680</link>
      <description>&lt;P&gt;Hi renopaul,&lt;BR /&gt;
No worries, everyone starts somewhere!&lt;/P&gt;

&lt;P&gt;You could use the table command, which is one of the output commands and is used in the format: | table &lt;/P&gt;

&lt;P&gt;So you could use:&lt;BR /&gt;
table _time, User&lt;/P&gt;

&lt;P&gt;But if you can provide an example of your data, I'm sure there are plenty of other things that we can help you to achieve.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 14:38:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149138#M41680</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-23T14:38:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149139#M41681</link>
      <description>&lt;P&gt;Hi renopaul,&lt;/P&gt;

&lt;P&gt;If you are going to present the your analysis to Management I would rather suggest you to go for a the PIVOT that gives you bar graphs or various visualization methods which would be very easy to explain to management.&lt;/P&gt;

&lt;P&gt;Here is a link to create the pivot report:&lt;BR /&gt;
&lt;A href="https://www.youtube.com/watch?v=MdjDrDTXYWQ&amp;amp;list=PL59B00A6F603366EA&amp;amp;index=8"&gt;https://www.youtube.com/watch?v=MdjDrDTXYWQ&amp;amp;list=PL59B00A6F603366EA&amp;amp;index=8&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I hope this will help you.&lt;/P&gt;

&lt;P&gt;Vinod.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 14:46:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149139#M41681</guid>
      <dc:creator>vinodmadaan</dc:creator>
      <dc:date>2015-02-23T14:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149140#M41682</link>
      <description>&lt;P&gt;Hi Vinod,&lt;BR /&gt;
Pivot is a good idea, I mean, I like it and I considered suggesting it, but given the circumstances and @renopaul wanting to learn more about how searching works etc, I suggested he start with table and by outputting his results.&lt;/P&gt;

&lt;P&gt;From here he can start using pivot, I mean, I don't use it that much, I prefer to table things and chart things on a dashboard as we are in the process of going paperless.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 14:48:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149140#M41682</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-23T14:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149141#M41683</link>
      <description>&lt;P&gt;I believe your help is going to be valuable.  I'm working on getting a sample of data, however I need to mask sensitive data.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 14:50:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149141#M41683</guid>
      <dc:creator>renopaul</dc:creator>
      <dc:date>2015-02-23T14:50:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149142#M41684</link>
      <description>&lt;P&gt;here is a sample of the data, sensitive data has been masked.&lt;/P&gt;

&lt;P&gt;Feb 23 08:35:17 10.220.12.34  23/02/2015:08:35:17  hostname** 0-PPE-0 : AAA LOGIN_FAILED 108171456 0 :  User ****** - Client_ip &lt;STRONG&gt;.&lt;/STRONG&gt;.&lt;STRONG&gt;.&lt;/STRONG&gt; - Failure_reason "External authentication server denied access" - Browser Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)&lt;/P&gt;

&lt;P&gt;Feb 23 08:33:05 10.220.12.34  23/02/2015:08:33:05  hostname** 0-PPE-0 : AAA LOGIN_FAILED 108162410 0 :  User ****** - Client_ip &lt;STRONG&gt;.&lt;/STRONG&gt;.&lt;STRONG&gt;.&lt;/STRONG&gt; - Failure_reason "External authentication server denied access" - Browser Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)&lt;/P&gt;

&lt;P&gt;Feb 23 08:27:52 10.220.12.34  23/02/2015:08:27:53  hostname** 0-PPE-0 : AAA LOGIN_FAILED 108136749 0 :  User ****** - Client_ip &lt;STRONG&gt;.&lt;/STRONG&gt;.&lt;STRONG&gt;.&lt;/STRONG&gt; - Failure_reason "External authentication server denied access" - Browser Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)&lt;/P&gt;

&lt;P&gt;Feb 23 08:26:39 10.220.12.34  23/02/2015:08:26:40  hostname** 0-PPE-0 : AAA LOGIN_FAILED 108132475 0 :  User ****** - Client_ip &lt;STRONG&gt;.&lt;/STRONG&gt;.&lt;STRONG&gt;.&lt;/STRONG&gt; - Failure_reason "External authentication server denied access" - Browser Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)&lt;/P&gt;

&lt;P&gt;Feb 23 08:26:18 10.220.12.34  23/02/2015:08:26:18  hostname** 0-PPE-0 : AAA LOGIN_FAILED 108130850 0 :  User ****** - Client_ip &lt;STRONG&gt;.&lt;/STRONG&gt;.&lt;STRONG&gt;.&lt;/STRONG&gt; - Failure_reason "External authentication server denied access" - Browser Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Trident/5.0)&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:00:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149142#M41684</guid>
      <dc:creator>renopaul</dc:creator>
      <dc:date>2020-09-28T19:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149143#M41685</link>
      <description>&lt;P&gt;Hi Paul,&lt;BR /&gt;
No problem,&lt;BR /&gt;
If you can give us sort of a template that your data follows, and anything sensitive just put *******, atleast then we can get the jest of your data.&lt;/P&gt;

&lt;P&gt;Just a quick comment, instead of replying in the form of an answer, it'll make the thread look untidy, if you just comment on one of our answers &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 14:54:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149143#M41685</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-23T14:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149144#M41686</link>
      <description>&lt;P&gt;Which parts of the data do you need to produce to your management?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 14:56:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149144#M41686</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-23T14:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149145#M41687</link>
      <description>&lt;P&gt;for the above data&lt;/P&gt;

&lt;P&gt;User                                   Count&lt;BR /&gt;
****                                       5&lt;BR /&gt;
  Feb 23 08:35&lt;BR /&gt;
  Feb 23 08:33&lt;BR /&gt;
  Feb 23 08:27&lt;BR /&gt;
  Feb 23 08:26&lt;BR /&gt;
  Feb 23 08:26&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 14:57:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149145#M41687</guid>
      <dc:creator>renopaul</dc:creator>
      <dc:date>2015-02-23T14:57:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149146#M41688</link>
      <description>&lt;P&gt;OK, so lets start with the formatting of the date, I believe, as you're still learning, that you should make the most of the commands, and not take the easy way out, so instead of using a regex to extract your date, we can use the convert functionality.&lt;/P&gt;

&lt;P&gt;So;&lt;BR /&gt;
convert timeformat="%b %d %H:%M" ctime(_time) as Time&lt;/P&gt;

&lt;P&gt;This will transform your _time stamp into the format that you require, into a new field called Time&lt;/P&gt;

&lt;P&gt;What do you mean by *5?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 15:04:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149146#M41688</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-23T15:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149147#M41689</link>
      <description>&lt;P&gt;*5 didn't translate correctly, for the above data in the summary we need count of the same event for the same user, so this example would be user * would have 5 events, then broke down by when the event occurred.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 15:06:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149147#M41689</guid>
      <dc:creator>renopaul</dc:creator>
      <dc:date>2015-02-23T15:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149148#M41690</link>
      <description>&lt;P&gt;Right, so for that you would need the Count function of the stats command,&lt;BR /&gt;
please read this documentation:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/Stats"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/SearchReference/Stats&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It will provide you with an overview of one of the other output commands, Stats which will be useful for ou in the future&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 15:12:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149148#M41690</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-23T15:12:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149149#M41691</link>
      <description>&lt;P&gt;I'm getting close to what I'm looking for&lt;/P&gt;

&lt;P&gt;index="index" "External authentication server denied access" | convert timeformat="%b %d %H:%M" ctime(_time) as Time | table Time, User | stats count by User, Time | sort count&lt;/P&gt;

&lt;P&gt;However I've tried several different combinations of the sort command but can not seem to get it in descending order. &lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 15:27:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149149#M41691</guid>
      <dc:creator>renopaul</dc:creator>
      <dc:date>2015-02-23T15:27:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149150#M41692</link>
      <description>&lt;P&gt;Thats good &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Try:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sort -count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sort +count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Feb 2015 15:32:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149150#M41692</guid>
      <dc:creator>markthompson</dc:creator>
      <dc:date>2015-02-23T15:32:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to create a more detailed report including date and time of events for management?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149151#M41693</link>
      <description>&lt;P&gt;index="index" "External authentication server denied access" | convert timeformat="%b %d %H:%M" ctime(_time) as Time &lt;/P&gt;

&lt;P&gt;Created a Pivot table and Bob's your uncle.  Thank you guys I'm learning.&lt;/P&gt;</description>
      <pubDate>Mon, 23 Feb 2015 19:31:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-create-a-more-detailed-report-including/m-p/149151#M41693</guid>
      <dc:creator>renopaul</dc:creator>
      <dc:date>2015-02-23T19:31:59Z</dc:date>
    </item>
  </channel>
</rss>

