<?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: Splunk automaticaly sort event base on date time i want disable this feature for particular log file? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177611#M51070</link>
    <description>&lt;P&gt;This is probably the DUMBEST thing I have ever told anybody to do but here goes.  You cannot "disable sort" the way you desire because sorting by _time is at the core of what Splunk fundamentally does. The only way I can see to do what you are asking is to force all events to have the same identical (bogus) time.  You can do this with this datetime.xml file:&lt;BR /&gt;
&amp;lt;datetime&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;lt;define name="_hardcodedate" extract="litmonth, day, year"&amp;gt;&lt;BR /&gt;
   &amp;lt;text&amp;gt;(12)(25)(2014)&amp;lt;/text&amp;gt;&lt;BR /&gt;
&amp;lt;/define&amp;gt;&lt;BR /&gt;
&amp;lt;define name="_hardcodetime" extract="hour, minute, second, subsecond"&amp;gt;&lt;BR /&gt;
   &amp;lt;text&amp;gt;(01)(23)(45)(678)&amp;lt;/text&amp;gt;&lt;BR /&gt;
&amp;lt;/define&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;lt;timePatterns&amp;gt;&lt;BR /&gt;
   &amp;lt;use name="_hardcodetime"/&amp;gt;&lt;BR /&gt;
&amp;lt;/timePatterns&amp;gt;&lt;BR /&gt;
&amp;lt;datePatterns&amp;gt;&lt;BR /&gt;
   &amp;lt;use name="_hardcodedate"/&amp;gt;&lt;BR /&gt;
&amp;lt;/datePatterns&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;lt;/datetime&amp;gt;&lt;BR /&gt;
This should cause all events to go into the tsidx in the order that they are processed, because each has the same timestamp.  It would probably be best if you somehow managed to set the date to a date that moves, rather than hard-coding it  (maybe get it from the filename) so that your events appear near-now without having to update your hard-coded day/month values in the datetime.xml.&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 19:49:27 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2020-09-28T19:49:27Z</dc:date>
    <item>
      <title>Splunk automaticaly sort event base on date time i want disable this feature for particular log file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177604#M51063</link>
      <description>&lt;P&gt;i have log file which sum event show previously time event of when transatin start to end after every transation complet.&lt;/P&gt;

&lt;P&gt;So splunk automatically sort log event total base on _time in that some event which show time of 1,2 second back they also automaticaly sorted so i want disable Automatic sort &lt;BR /&gt;
I want the event show normally sequence which present in log&lt;BR /&gt;
How i disable date time ?&lt;/P&gt;

&lt;P&gt;MY log samlpe:&lt;/P&gt;

&lt;P&gt;13:06:30.706|0000536|2|32| |O|Received response from OG&lt;BR /&gt;
13:06:30.706|1303635|2|32| |O|IsVoid set to [0], VoidSource is [0]&lt;BR /&gt;
13:06:30.706|1303635|2|32| |O|Creating new reply object to send response&lt;BR /&gt;
13:06:30.721|0000536|2|32| |O|1|13:06:29.331|1010051221690010175F2F61179807901&amp;#28;**********************************&lt;STRONG&gt;&lt;EM&gt;&amp;#28;5000&amp;#28;&amp;#28;04&amp;#28;&amp;#28;1503181306&amp;#28;22&amp;#28;826&amp;#28;826&amp;#28;10&amp;#28;(EMV_DATA)&amp;#28;10480&amp;#30;0601&amp;#29;320000&amp;#29;020000&amp;#29;E0B8C8&amp;#29;&amp;#30;0303&amp;#29;00000005000&amp;#29;8264&amp;#31;17404&amp;#29;000000&amp;#29;0035000&amp;#29;1&amp;#28;FDD29099&lt;BR /&gt;
          TT:    62 (ms)        13:06:29.378|1221690010175F2F61079807901&amp;#28;&lt;/EM&gt;&lt;/STRONG&gt;**********************************&amp;#28;5000&amp;#28;&amp;#28;&amp;#28;&amp;#28;&amp;#28;1503181306&amp;#28;22&amp;#28;826&amp;#28;826&amp;#28;10&amp;#28;(EMV_DATA)&amp;#28;10480&amp;#30;0601&amp;#29;320000&amp;#29;020000&amp;#29;E0B8C8&amp;#29;&amp;#28;&lt;BR /&gt;
                                13:06:30.706|122169001017512000&amp;#28;&amp;#28;AUTH CODE:139744&amp;#28;&amp;#28;0&amp;#28;1503&amp;#28;(EMV_DATA)&amp;#28;000800&amp;#28;00&amp;#30;1001&amp;#29;1234567890123451234&amp;#30;1002&amp;#29;GP15077000000AB1&amp;#28;&amp;#3;&lt;BR /&gt;
                                13:06:30.721|&lt;RESPONSE&gt;&lt;DATA&gt;122169001017513002139744&amp;#28;0&amp;#31;0&amp;#28;AUTH CODE:139744&amp;#28;&amp;#28;0&amp;#31;&amp;#28;&amp;#28;F8140EEF84CFDB033030&amp;#28;000800&amp;#28;00&amp;#30;1001&amp;#29;1234567890123451234&amp;#30;1002&amp;#29;GP15077000000AB1&amp;#28;66B90A0B&lt;/DATA&gt;&lt;OFFLINE&gt;0&lt;/OFFLINE&gt;&lt;UTID&gt;001303635&lt;/UTID&gt;&lt;CLIENT key=""&gt;43&lt;/CLIENT&gt;&lt;POSMESSAGEFORMAT&gt;1&lt;/POSMESSAGEFORMAT&gt;&lt;THOG time=""&gt;62&lt;/THOG&gt;&lt;OPERATOR time=""&gt;1328&lt;/OPERATOR&gt;&lt;/RESPONSE&gt;&lt;BR /&gt;
13:06:30.721|0000536|2|32| |O|getLogMsg returned: [229^101005^17^ihost-uatlive^1^2^5^S^12^11^13^0175^231^0^15^D^18^22169001^21^150318^22^130600^24^TtWlS34ZjBo=^25^0^26^00000005000^199^00000005000^29^XTKueLHMJ9pDGvfSQn0xXI6sjf7niXAV^252^0119^181^1^274^1^275^0^45^43^71^00^80^79807901^82^20150318^83^130629^84^ASH001303635^23^139744^30^92^70^476173900^126^1^147^0^148^4^149^0^160^0^16^0^195^2^176^826^40^826^177^^178^22^179^10^188^^180^0^112^19T9oislVJ5BK0JAImpkLAabsxoTy33RPIQ1ZlzXeIqH1jFaPSra1N5vWtTzlP60ImUeKraJJRx+RfdiM19E1ISp1SIjKOtuDuSaTPQNny4dfm+pQZAm9x+mQV2tR3sdyHGbKXMP+WoRXMoXIHMRwyAzdUq8II/YNRm3uXrftmoyo=^112^2110480&amp;#30;0601&amp;#29;320000&amp;#29;020000&amp;#29;E0B8C8&amp;#29;&amp;#30;0303&amp;#29;00000005000&amp;#29;8264&amp;#31;17404&amp;#29;000000&amp;#29;00000000350&amp;#29;1^19^3^137^F2F6^151^0^150^0^146^000800^112^20F8140EEF84CFDB033030^112^2200&amp;#30;1001&amp;#29;1234567890123451234&amp;#30;1002&amp;#29;GP15077000000AB1^95^AUTH CODE:139744^196^1^119^5000^94^826^224^1^223^1^254^000000^134^1.7404^33^000000^253^5C413DD4331BA4E6436E2E96FDA471D3^107^^32^0000^]&lt;BR /&gt;
13:06:30.721|0000536|1|66| |O|Receive return code indicates 358 bytes received&lt;BR /&gt;
13:06:30.721|0000536|1|66| |O|Detached from socket [127.0.0.1:2050] having received [358] bytes&lt;BR /&gt;
13:06:30.721|0000536|1|66| |O|Received 356 byte response from Handler&lt;BR /&gt;
13:06:30.721|0000536|1|66| |O|Closing send socket [127.0.0.1:2050]&lt;/P&gt;

&lt;P&gt;if you see first 4 line is normal after that again 3 event of old time  after that last 4 line is normal&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:47:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177604#M51063</guid>
      <dc:creator>nitesh218ss</dc:creator>
      <dc:date>2020-09-28T19:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk automaticaly sort event base on date time i want disable this feature for particular log file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177605#M51064</link>
      <description>&lt;P&gt;Whats the objective of removing timestamp? If you don't need that in report, just use xxx | fields - _time&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2015 10:15:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177605#M51064</guid>
      <dc:creator>satishsdange</dc:creator>
      <dc:date>2015-04-30T10:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk automaticaly sort event base on date time i want disable this feature for particular log file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177606#M51065</link>
      <description>&lt;P&gt;i use fields - _time this but they remove field _time but automatic sort base on time not disable result come in time sort order after that also&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2015 10:26:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177606#M51065</guid>
      <dc:creator>nitesh218ss</dc:creator>
      <dc:date>2015-04-30T10:26:23Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk automaticaly sort event base on date time i want disable this feature for particular log file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177607#M51066</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Does sorting on &lt;STRONG&gt;_indextime&lt;/STRONG&gt; can help you?&lt;/P&gt;

&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2015 10:40:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177607#M51066</guid>
      <dc:creator>vganjare</dc:creator>
      <dc:date>2015-04-30T10:40:49Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk automaticaly sort event base on date time i want disable this feature for particular log file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177608#M51067</link>
      <description>&lt;P&gt;No they also not work i want Auto time sorting desable but i not able to found how i do?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2015 11:11:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177608#M51067</guid>
      <dc:creator>nitesh218ss</dc:creator>
      <dc:date>2015-04-30T11:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk automaticaly sort event base on date time i want disable this feature for particular log file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177609#M51068</link>
      <description>&lt;P&gt;If I am understanding you correctly,  you would like to be able to use Splunk to show a reconstituted view of the original file.  If so, this should work:&lt;BR /&gt;
&lt;PRE&gt;&lt;BR /&gt;
| sort 0 - _indextime | stats list(_raw) by source&lt;BR /&gt;
&lt;/PRE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:48:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177609#M51068</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-09-28T19:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk automaticaly sort event base on date time i want disable this feature for particular log file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177610#M51069</link>
      <description>&lt;P&gt;now i able to see raw data but i not able to do any operation like show fields in table, they also sorted order and only top 1000 field they show after that remaining blank.&lt;BR /&gt;
i want disable automatically time sort after that i do my won operation on that &lt;BR /&gt;
if you want log file then mail me &lt;A href="mailto:nitesh.hadoop@gmail.com"&gt;nitesh.hadoop@gmail.com&lt;/A&gt;&lt;BR /&gt;
i use &lt;/P&gt;

&lt;P&gt;[other]&lt;BR /&gt;
disabled = true&lt;/P&gt;

&lt;P&gt;in file C:\Program Files\Splunk\etc\system\default\times.conf&lt;BR /&gt;
but they also not work&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2015 07:37:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177610#M51069</guid>
      <dc:creator>nitesh218ss</dc:creator>
      <dc:date>2015-05-04T07:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk automaticaly sort event base on date time i want disable this feature for particular log file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177611#M51070</link>
      <description>&lt;P&gt;This is probably the DUMBEST thing I have ever told anybody to do but here goes.  You cannot "disable sort" the way you desire because sorting by _time is at the core of what Splunk fundamentally does. The only way I can see to do what you are asking is to force all events to have the same identical (bogus) time.  You can do this with this datetime.xml file:&lt;BR /&gt;
&amp;lt;datetime&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;lt;define name="_hardcodedate" extract="litmonth, day, year"&amp;gt;&lt;BR /&gt;
   &amp;lt;text&amp;gt;(12)(25)(2014)&amp;lt;/text&amp;gt;&lt;BR /&gt;
&amp;lt;/define&amp;gt;&lt;BR /&gt;
&amp;lt;define name="_hardcodetime" extract="hour, minute, second, subsecond"&amp;gt;&lt;BR /&gt;
   &amp;lt;text&amp;gt;(01)(23)(45)(678)&amp;lt;/text&amp;gt;&lt;BR /&gt;
&amp;lt;/define&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;lt;timePatterns&amp;gt;&lt;BR /&gt;
   &amp;lt;use name="_hardcodetime"/&amp;gt;&lt;BR /&gt;
&amp;lt;/timePatterns&amp;gt;&lt;BR /&gt;
&amp;lt;datePatterns&amp;gt;&lt;BR /&gt;
   &amp;lt;use name="_hardcodedate"/&amp;gt;&lt;BR /&gt;
&amp;lt;/datePatterns&amp;gt;&lt;/P&gt;

&lt;P&gt;&amp;lt;/datetime&amp;gt;&lt;BR /&gt;
This should cause all events to go into the tsidx in the order that they are processed, because each has the same timestamp.  It would probably be best if you somehow managed to set the date to a date that moves, rather than hard-coding it  (maybe get it from the filename) so that your events appear near-now without having to update your hard-coded day/month values in the datetime.xml.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:49:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177611#M51070</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2020-09-28T19:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk automaticaly sort event base on date time i want disable this feature for particular log file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177612#M51071</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;we able to disable automatically at a time of indexing 
when i select file after when you Set Sourcetype 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;that time you select timestamp current time then they load normally&lt;BR /&gt;
I got this idea by Rosie Sennett which help me to solve this problem&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2015 06:32:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177612#M51071</guid>
      <dc:creator>nitesh218ss</dc:creator>
      <dc:date>2015-05-05T06:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk automaticaly sort event base on date time i want disable this feature for particular log file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177613#M51072</link>
      <description>&lt;P&gt;But at time of indexing i use LINE_BREAKER they work correctly but when i add &lt;BR /&gt;
FIELD_DELIMITER = |&lt;BR /&gt;
FIELD_NAMES = timee,audit,serviceType,processId,serviceName,indicator,status1,status2,status3,status4,status5,status6&lt;BR /&gt;
 the line break not work&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:44:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177613#M51072</guid>
      <dc:creator>nitesh218ss</dc:creator>
      <dc:date>2020-09-28T19:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk automaticaly sort event base on date time i want disable this feature for particular log file?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177614#M51073</link>
      <description>&lt;P&gt;i give a solution of this problem please see answer 3&lt;/P&gt;

&lt;P&gt;But at time of indexing i use LINE_BREAKER they work correctly but when i add&lt;BR /&gt;
FIELD_DELIMITER = |&lt;BR /&gt;
FIELD_NAMES = timee,audit,serviceType,processId,serviceName,indicator,status1,status2,status3,status4,status5,status6&lt;BR /&gt;
the line break not work?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 19:44:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Splunk-automaticaly-sort-event-base-on-date-time-i-want-disable/m-p/177614#M51073</guid>
      <dc:creator>nitesh218ss</dc:creator>
      <dc:date>2020-09-28T19:44:34Z</dc:date>
    </item>
  </channel>
</rss>

