<?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 Get multiple Fields in chart function in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Get-multiple-Fields-in-chart-function/m-p/679790#M232373</link>
    <description>&lt;P&gt;So, I have a chart function that works perfectly!&lt;/P&gt;&lt;P&gt;| chart sum(transactionMade) over USERNUMBER by POSTDATE&lt;/P&gt;&lt;P&gt;But, I want my chart to have&amp;nbsp;USERNUMBER and&amp;nbsp;USERNAME. They are both correlated, so it should not be an issue. I also want to add Team Number, which there is no correlation to&amp;nbsp;USERNUMBER and&amp;nbsp;USERNAME.&lt;BR /&gt;&lt;BR /&gt;Is it possible to have multiple fields after over?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I can concatenate all the fields into one string, but it would be easier if they were separate columns.&lt;BR /&gt;&lt;BR /&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 Mar 2024 12:54:38 GMT</pubDate>
    <dc:creator>sumarri</dc:creator>
    <dc:date>2024-03-06T12:54:38Z</dc:date>
    <item>
      <title>Get multiple Fields in chart function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-multiple-Fields-in-chart-function/m-p/679790#M232373</link>
      <description>&lt;P&gt;So, I have a chart function that works perfectly!&lt;/P&gt;&lt;P&gt;| chart sum(transactionMade) over USERNUMBER by POSTDATE&lt;/P&gt;&lt;P&gt;But, I want my chart to have&amp;nbsp;USERNUMBER and&amp;nbsp;USERNAME. They are both correlated, so it should not be an issue. I also want to add Team Number, which there is no correlation to&amp;nbsp;USERNUMBER and&amp;nbsp;USERNAME.&lt;BR /&gt;&lt;BR /&gt;Is it possible to have multiple fields after over?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I can concatenate all the fields into one string, but it would be easier if they were separate columns.&lt;BR /&gt;&lt;BR /&gt;Thank you!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 12:54:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-multiple-Fields-in-chart-function/m-p/679790#M232373</guid>
      <dc:creator>sumarri</dc:creator>
      <dc:date>2024-03-06T12:54:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get multiple Fields in chart function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-multiple-Fields-in-chart-function/m-p/679791#M232374</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265563"&gt;@sumarri&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;for my knowledge, the only way is concatenating the fields in one field and use it for the chart command.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 13:00:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-multiple-Fields-in-chart-function/m-p/679791#M232374</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-06T13:00:40Z</dc:date>
    </item>
    <item>
      <title>Re: Get multiple Fields in chart function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-multiple-Fields-in-chart-function/m-p/679792#M232375</link>
      <description>&lt;P&gt;Okay, that is what I thought.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much for conforming!&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 13:10:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-multiple-Fields-in-chart-function/m-p/679792#M232375</guid>
      <dc:creator>sumarri</dc:creator>
      <dc:date>2024-03-06T13:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: Get multiple Fields in chart function</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-multiple-Fields-in-chart-function/m-p/679793#M232376</link>
      <description>&lt;P&gt;Further to&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/161352"&gt;@gcusello&lt;/a&gt;&amp;nbsp;'s response, the chart command has only three dimensions, the over field, the by field and the aggregation function. Although, strictly speaking, this can be extended by multiple aggregation functions, but you end up with composite column names.&lt;/P&gt;&lt;P&gt;As already suggested, concatenating fields is one way to get around this. Another way is perhaps more tricky and involves using the stats command instead and then messing around with the fields to get the by field values represented as field/column names.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Mar 2024 13:22:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-multiple-Fields-in-chart-function/m-p/679793#M232376</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-03-06T13:22:25Z</dc:date>
    </item>
  </channel>
</rss>

