<?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 can I use a Chart Overlay with an epoch field and convert it to a human readable format? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118508#M31634</link>
    <description>&lt;P&gt;yes, and wont work, only apears in the epoch time, example:&lt;/P&gt;

&lt;P&gt;with formatted_time -&amp;gt; 02:08:00 wont show the line&lt;BR /&gt;
without formatted_time -&amp;gt; 18480.639752  show the line&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 06:40:11 GMT</pubDate>
    <dc:creator>felipesewaybric</dc:creator>
    <dc:date>2020-09-29T06:40:11Z</dc:date>
    <item>
      <title>How can I use a Chart Overlay with an epoch field and convert it to a human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118504#M31630</link>
      <description>&lt;P&gt;How can I use Chart Overlay with an epoch field converting the same in time?&lt;/P&gt;

&lt;P&gt;I have 2 fields, one is &lt;CODE&gt;Intevalo&lt;/CODE&gt; with epoch time, and the other called &lt;CODE&gt;Tempo Limite&lt;/CODE&gt; with the epoch turned into time with 'duration'.&lt;/P&gt;

&lt;P&gt;How can I set the chart overlay to time, like 01:22:04 or something like that.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 17:27:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118504#M31630</guid>
      <dc:creator>felipesewaybric</dc:creator>
      <dc:date>2015-07-13T17:27:52Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a Chart Overlay with an epoch field and convert it to a human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118505#M31631</link>
      <description>&lt;P&gt;EDITED:&lt;/P&gt;

&lt;P&gt;I don't know if you can do this. Every attempt I've made at changing this value into a string breaks the overlay.&lt;/P&gt;

&lt;P&gt;Maybe the closest thing is just converting those seconds to minutes...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval duration = round(duration/60, 2)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 13 Jul 2015 17:32:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118505#M31631</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-07-13T17:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a Chart Overlay with an epoch field and convert it to a human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118506#M31632</link>
      <description>&lt;P&gt;That works only in the table, but not with chart overlay&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 17:34:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118506#M31632</guid>
      <dc:creator>felipesewaybric</dc:creator>
      <dc:date>2015-07-13T17:34:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a Chart Overlay with an epoch field and convert it to a human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118507#M31633</link>
      <description>&lt;P&gt;Did you try selecting &lt;CODE&gt;formatted_time&lt;/CODE&gt; in the chart overlay field input in the visualization formatting drop down menu ? It should work for both.&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 17:35:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118507#M31633</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-07-13T17:35:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a Chart Overlay with an epoch field and convert it to a human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118508#M31634</link>
      <description>&lt;P&gt;yes, and wont work, only apears in the epoch time, example:&lt;/P&gt;

&lt;P&gt;with formatted_time -&amp;gt; 02:08:00 wont show the line&lt;BR /&gt;
without formatted_time -&amp;gt; 18480.639752  show the line&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:40:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118508#M31634</guid>
      <dc:creator>felipesewaybric</dc:creator>
      <dc:date>2020-09-29T06:40:11Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a Chart Overlay with an epoch field and convert it to a human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118509#M31635</link>
      <description>&lt;P&gt;Hmm. Can you edit your original question - please add your search and talk about what other values are present (like, whats on the x axis)&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 18:57:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118509#M31635</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-07-13T18:57:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a Chart Overlay with an epoch field and convert it to a human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118510#M31636</link>
      <description>&lt;P&gt;&lt;IMG src="http://i.imgur.com/zMttpHC.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 19:56:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118510#M31636</guid>
      <dc:creator>felipesewaybric</dc:creator>
      <dc:date>2015-07-13T19:56:06Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a Chart Overlay with an epoch field and convert it to a human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118511#M31637</link>
      <description>&lt;P&gt;The chart.overlay (Intervalo) only show when is in the epoch format, but i need something like %T when you mouse over in the overlay&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jul 2015 19:57:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118511#M31637</guid>
      <dc:creator>felipesewaybric</dc:creator>
      <dc:date>2015-07-13T19:57:29Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a Chart Overlay with an epoch field and convert it to a human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118512#M31638</link>
      <description>&lt;P&gt;I think see the problem. As for the &lt;CODE&gt;dentro do tempo medio&lt;/CODE&gt; and &lt;CODE&gt;Intervalo&lt;/CODE&gt; fields - those are numbers of seconds, right ? That is pretty different from epoch time.&lt;/P&gt;

&lt;P&gt;So are you just trying to convert those seconds into hours, minutes? It sounded in you original question like you knew how to use eval to ge duration&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | eval Intervalo = tostring(Intervalo, "duration")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Or you could even try using &lt;CODE&gt;fieldformat&lt;/CODE&gt; instead of eval, if need be ?&lt;/P&gt;

&lt;HR /&gt;</description>
      <pubDate>Mon, 13 Jul 2015 20:01:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118512#M31638</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-07-13T20:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a Chart Overlay with an epoch field and convert it to a human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118513#M31639</link>
      <description>&lt;P&gt;i try already, but what i need is to show the time in the red line when mouseover, now, when i mouse over the red live Intervalo, it show only the seconds, like 1420.882232.&lt;/P&gt;

&lt;P&gt;I know how to convert, the problemn is when is already converted, the red line disapear.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 13:27:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118513#M31639</guid>
      <dc:creator>felipesewaybric</dc:creator>
      <dc:date>2015-07-14T13:27:07Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a Chart Overlay with an epoch field and convert it to a human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118514#M31640</link>
      <description>&lt;P&gt;What about something even more simple?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| eval duration = round(Intervalo/60, 2)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;That would just be minutes instead of seconds.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 16:25:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118514#M31640</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-07-14T16:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a Chart Overlay with an epoch field and convert it to a human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118515#M31641</link>
      <description>&lt;P&gt;there is a way to set to hours and minutes?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 18:16:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118515#M31641</guid>
      <dc:creator>felipesewaybric</dc:creator>
      <dc:date>2015-07-14T18:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a Chart Overlay with an epoch field and convert it to a human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118516#M31642</link>
      <description>&lt;P&gt;I think adding a string in there, in this case, the colon, will break the chart-ability of the field. &lt;/P&gt;</description>
      <pubDate>Tue, 14 Jul 2015 18:37:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118516#M31642</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-07-14T18:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I use a Chart Overlay with an epoch field and convert it to a human readable format?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118517#M31643</link>
      <description>&lt;P&gt;True, this is how it ends:&lt;BR /&gt;
| eval "Media Dia em Minutos" = round(duration/60, 2)&lt;/P&gt;

&lt;P&gt;Thanks for the help.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Jul 2015 14:13:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-can-I-use-a-Chart-Overlay-with-an-epoch-field-and-convert-it/m-p/118517#M31643</guid>
      <dc:creator>felipesewaybric</dc:creator>
      <dc:date>2015-07-15T14:13:32Z</dc:date>
    </item>
  </channel>
</rss>

