<?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 append string to timechart data labels? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-string-to-timechart-data-labels/m-p/599001#M208555</link>
    <description>&lt;P&gt;Hi Giuseppe, thank you for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My search is roughly along these lines&lt;/P&gt;&lt;P&gt;...&lt;BR /&gt;| timechart span=8h aligntime=@d+7h sum(meter) AS "output"&amp;nbsp;&lt;BR /&gt;| eval date=strftime(_time,"%H:%M")&lt;BR /&gt;| eval shift = case(date="07:00","A", date="15:00","B", date="23:00","C")&lt;BR /&gt;| eval "output" = 'output' + " " + shift&lt;/P&gt;</description>
    <pubDate>Tue, 24 May 2022 01:12:41 GMT</pubDate>
    <dc:creator>dzyfer</dc:creator>
    <dc:date>2022-05-24T01:12:41Z</dc:date>
    <item>
      <title>How to append string to timechart data labels?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-string-to-timechart-data-labels/m-p/598842#M208508</link>
      <description>&lt;P&gt;Hi, I have a column timechart with numerical values, and I would like to add strings, or characters, after these values, when displayed on the dashboard.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 207px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/19758i9574D5744DB8DFB2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have tried to append the string to the results themselves, but it seems like timechart is unable to populate non-numerical data.&lt;/P&gt;&lt;P&gt;Any help or alternative ideas on how I can achieve the above results visually? Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 08:05:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-append-string-to-timechart-data-labels/m-p/598842#M208508</guid>
      <dc:creator>dzyfer</dc:creator>
      <dc:date>2022-05-23T08:05:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to append string to timechart data labels?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-string-to-timechart-data-labels/m-p/598857#M208509</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243599"&gt;@dzyfer&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;could you share your search and what's the field containing the values "A", "B", "C", etc...?&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 09:13:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-append-string-to-timechart-data-labels/m-p/598857#M208509</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-05-23T09:13:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to append string to timechart data labels?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-string-to-timechart-data-labels/m-p/599001#M208555</link>
      <description>&lt;P&gt;Hi Giuseppe, thank you for the reply.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My search is roughly along these lines&lt;/P&gt;&lt;P&gt;...&lt;BR /&gt;| timechart span=8h aligntime=@d+7h sum(meter) AS "output"&amp;nbsp;&lt;BR /&gt;| eval date=strftime(_time,"%H:%M")&lt;BR /&gt;| eval shift = case(date="07:00","A", date="15:00","B", date="23:00","C")&lt;BR /&gt;| eval "output" = 'output' + " " + shift&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 01:12:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-append-string-to-timechart-data-labels/m-p/599001#M208555</guid>
      <dc:creator>dzyfer</dc:creator>
      <dc:date>2022-05-24T01:12:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to append string to timechart data labels?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-string-to-timechart-data-labels/m-p/599009#M208556</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/243599"&gt;@dzyfer&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;you should use eval before timechart and use the by in timechart, something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval date=strftime(_time,"%H:%M")
| eval shift = case(date="07:00","A", date="15:00","B", date="23:00","C")
| timechart span=8h aligntime=@d+7h sum(meter) AS "output" BY shift&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 06:20:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-append-string-to-timechart-data-labels/m-p/599009#M208556</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2022-05-24T06:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to append string to timechart data labels?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-append-string-to-timechart-data-labels/m-p/599031#M208565</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;, I made some edits to your suggestion, and have come up with satisfiable results, thank you.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2022 09:31:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-append-string-to-timechart-data-labels/m-p/599031#M208565</guid>
      <dc:creator>dzyfer</dc:creator>
      <dc:date>2022-05-24T09:31:09Z</dc:date>
    </item>
  </channel>
</rss>

