<?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 change display name in chart in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-change-display-name-in-chart/m-p/696183#M57051</link>
    <description>&lt;P&gt;I am getting blank value&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikc100_0-1723577433824.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32203iE0FC19ACD1BE950D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avikc100_0-1723577433824.png" alt="avikc100_0-1723577433824.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index="webmethods_prd" host="USPGH-WMA2AISP*" source="/apps/WebMethods/IntegrationServer/instances/default/logs/ExternalPAEU.log" ("success" OR "fail*")| eval status = if(searchmatch("success"), "Success", "Error")|stats count by source,status| xyseries source status count| eval source=case(
source="*PAEU.log", "Canada Pricing Call")&lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 13 Aug 2024 20:49:08 GMT</pubDate>
    <dc:creator>avikc100</dc:creator>
    <dc:date>2024-08-13T20:49:08Z</dc:date>
    <item>
      <title>how to change display name in chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-change-display-name-in-chart/m-p/696160#M57047</link>
      <description>&lt;P&gt;this is my splunk query:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index="webmethods_prd"  source="/apps/WebMethods/IntegrationServer/instances/default/logs/ExternalPACA.log" |eval timestamp=strftime(_time, "%F") | chart limit=30 count as count over source by timestamp

&lt;/LI-CODE&gt;
&lt;P&gt;it is showing result as :&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikc100_0-1723565212163.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32196iDD102BBDA8EAADD6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avikc100_0-1723565212163.png" alt="avikc100_0-1723565212163.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;but I want to add a custom name to it, how should I do that?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikc100_4-1723565339839.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32200i71E8C32C9A8E2B98/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avikc100_4-1723565339839.png" alt="avikc100_4-1723565339839.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 20:48:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-change-display-name-in-chart/m-p/696160#M57047</guid>
      <dc:creator>avikc100</dc:creator>
      <dc:date>2024-08-13T20:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: how to change display name in chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-change-display-name-in-chart/m-p/696161#M57048</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/235231"&gt;@avikc100&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you have to use the eval command to change the source value.&lt;/P&gt;&lt;P&gt;so you could use the case statment having many values:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval source=case(
     source="*PACA.log", "Canada Pricing Call",
     source="*second_value.log" "Second value",
     source="*third_value.log" "Third value")&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 13 Aug 2024 16:15:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-change-display-name-in-chart/m-p/696161#M57048</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-08-13T16:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: how to change display name in chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-change-display-name-in-chart/m-p/696181#M57050</link>
      <description>&lt;P&gt;I am getting blank value&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikc100_0-1723577348133.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32202i8CCC3D84CD236EDD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avikc100_0-1723577348133.png" alt="avikc100_0-1723577348133.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index="webmethods_prd" host="USPGH-WMA2AISP*" source="/apps/WebMethods/IntegrationServer/instances/default/logs/ExternalPAEU.log" ("success" OR "fail*")| eval status = if(searchmatch("success"), "Success", "Error")|stats count by source,status| xyseries source status count| eval source=case(
source="*PACA.log", "Canada Pricing Call")&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 13 Aug 2024 20:49:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-change-display-name-in-chart/m-p/696181#M57050</guid>
      <dc:creator>avikc100</dc:creator>
      <dc:date>2024-08-13T20:49:30Z</dc:date>
    </item>
    <item>
      <title>Re: how to change display name in chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-change-display-name-in-chart/m-p/696183#M57051</link>
      <description>&lt;P&gt;I am getting blank value&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="avikc100_0-1723577433824.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32203iE0FC19ACD1BE950D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="avikc100_0-1723577433824.png" alt="avikc100_0-1723577433824.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index="webmethods_prd" host="USPGH-WMA2AISP*" source="/apps/WebMethods/IntegrationServer/instances/default/logs/ExternalPAEU.log" ("success" OR "fail*")| eval status = if(searchmatch("success"), "Success", "Error")|stats count by source,status| xyseries source status count| eval source=case(
source="*PAEU.log", "Canada Pricing Call")&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 13 Aug 2024 20:49:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-change-display-name-in-chart/m-p/696183#M57051</guid>
      <dc:creator>avikc100</dc:creator>
      <dc:date>2024-08-13T20:49:08Z</dc:date>
    </item>
    <item>
      <title>Re: how to change display name in chart</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-change-display-name-in-chart/m-p/696240#M57067</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/235231"&gt;@avikc100&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;why did you used xyseries after stats?&lt;/P&gt;&lt;P&gt;please try:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index="webmethods_prd" host="USPGH-WMA2AISP*" source="/apps/WebMethods/IntegrationServer/instances/default/logs/ExternalPAEU.log" ("success" OR "fail*")
| eval status = if(searchmatch("success"), "Success", "Error")
| stats count by source status
| eval source=if(source="*PAEU.log", "Canada Pricing Call","XXX")&lt;/LI-CODE&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 09:07:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/how-to-change-display-name-in-chart/m-p/696240#M57067</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-08-14T09:07:59Z</dc:date>
    </item>
  </channel>
</rss>

