<?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 make X axis show dates not just date field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585684#M204064</link>
    <description>&lt;P&gt;working if browser window minimized or may be by using rotating, but my requirement change to display weekly data. So the date is populating properly.&lt;/P&gt;</description>
    <pubDate>Fri, 18 Feb 2022 09:23:20 GMT</pubDate>
    <dc:creator>kirrusk</dc:creator>
    <dc:date>2022-02-18T09:23:20Z</dc:date>
    <item>
      <title>How to make X axis show dates not just date field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585356#M203933</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to add a chart by using the below query, in chart lines Date is coming.&lt;BR /&gt;But in x-axis shows only the Date field instead of Dates.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=_internal FIELD1=* FIELD2=*  | eval Date=(_time, "%d/%m/%y")
| sort Date
| eval Date=(_time, "%d/%m/%y")
| table Date FIELD1 FIELD2 &lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 15:53:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585356#M203933</guid>
      <dc:creator>kirrusk</dc:creator>
      <dc:date>2022-02-16T15:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Date is not coming in x axis</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585359#M203935</link>
      <description>&lt;P&gt;What are you attempting to do?&lt;/P&gt;&lt;P&gt;Converting _time to a string (Date) and then sorting will sort lexicographically and given that you put day first you will get 11/2 ahead of 2/2 - is that what you intended?&lt;/P&gt;&lt;P&gt;The _time field is usually displayed in local format in charts etc. so perhaps you would be better off using&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| table _time Field1 Field2&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 14:16:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585359#M203935</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-02-16T14:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Date is not coming in x axis</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585365#M203938</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I appended some data to existing data in the index, which is coming from CSV, in that date format will be like 01/12/22&lt;BR /&gt;so I convert _time to&amp;nbsp; %d/%m/%y&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 14:39:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585365#M203938</guid>
      <dc:creator>kirrusk</dc:creator>
      <dc:date>2022-02-16T14:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Date is not coming in x axis</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585370#M203941</link>
      <description>&lt;P&gt;You could try converting it the other way using strptime?&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 14:46:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585370#M203941</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-02-16T14:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Date is not coming in x axis</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585372#M203942</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;just found, using %d/%m/%y the format I can see the date in the x-axis, but only when a short time range selecting.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 14:56:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585372#M203942</guid>
      <dc:creator>kirrusk</dc:creator>
      <dc:date>2022-02-16T14:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Date is not coming in x axis</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585380#M203945</link>
      <description>&lt;P&gt;You might also want to consider rotating the label used on the x-axis so more values can be squeezed in&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 15:18:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585380#M203945</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2022-02-16T15:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to make X axis show dates not just date field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585684#M204064</link>
      <description>&lt;P&gt;working if browser window minimized or may be by using rotating, but my requirement change to display weekly data. So the date is populating properly.&lt;/P&gt;</description>
      <pubDate>Fri, 18 Feb 2022 09:23:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-make-X-axis-show-dates-not-just-date-field/m-p/585684#M204064</guid>
      <dc:creator>kirrusk</dc:creator>
      <dc:date>2022-02-18T09:23:20Z</dc:date>
    </item>
  </channel>
</rss>

