<?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 format and chart a status message? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210874#M61655</link>
    <description>&lt;P&gt;Some example data would be useful.  Is "state" and its value separated by a space or is there no separation?&lt;/P&gt;

&lt;P&gt;What exactly are you wanting to graph?&lt;/P&gt;</description>
    <pubDate>Wed, 03 Aug 2016 16:30:39 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2016-08-03T16:30:39Z</dc:date>
    <item>
      <title>how can I format and chart a status message?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210873#M61654</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
a device in our system returns a status message that looks like the following (as seen in splunk search results)&lt;/P&gt;

&lt;P&gt;state (UP | DN| STDBY | UNK); parma: (string) , parmb:(int), etc&lt;/P&gt;

&lt;P&gt;notice that there is no delimiter between "state" and the value of state&lt;BR /&gt;
notice also that some parameters have integer values and some are strings.  most of the parameters that are strings are limited to true/false, or up/down, etc.....&lt;/P&gt;

&lt;P&gt;I'd like to have a realtime chart/display that is updated once/interval I choose.&lt;/P&gt;

&lt;P&gt;for the parameters that have string values, it's OK to translate those to a numerical or color representation for display&lt;/P&gt;

&lt;P&gt;I'm trying to read and understand how to use the chart command, but I'm having a hard time translating the "syntax" descriptions to "real life"....&lt;/P&gt;

&lt;P&gt;I'd appreciate some help getting started on my learning curve.&lt;/P&gt;

&lt;P&gt;thanks so much&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 15:50:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210873#M61654</guid>
      <dc:creator>msantich</dc:creator>
      <dc:date>2016-08-03T15:50:06Z</dc:date>
    </item>
    <item>
      <title>Re: how can I format and chart a status message?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210874#M61655</link>
      <description>&lt;P&gt;Some example data would be useful.  Is "state" and its value separated by a space or is there no separation?&lt;/P&gt;

&lt;P&gt;What exactly are you wanting to graph?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 16:30:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210874#M61655</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2016-08-03T16:30:39Z</dc:date>
    </item>
    <item>
      <title>Re: how can I format and chart a status message?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210875#M61656</link>
      <description>&lt;P&gt;Can we have some mock expected output and some real sample events?&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 16:32:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210875#M61656</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-08-03T16:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: how can I format and chart a status message?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210876#M61657</link>
      <description>&lt;P&gt;From your description it doesn't seem like the fields have been defined in your data. As richgalloway mentioned having some more sample data would help. Assuming there is a space between state and state value and just going with parameter A where that is really parama you could try something like this I suppose. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | rex "state "(?&amp;lt;state&amp;gt;\S)" | rex "parama: (?&amp;lt;parama&amp;gt;.+)\s," | chart count over state by parama
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 03 Aug 2016 16:41:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210876#M61657</guid>
      <dc:creator>Runals</dc:creator>
      <dc:date>2016-08-03T16:41:04Z</dc:date>
    </item>
    <item>
      <title>Re: how can I format and chart a status message?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210877#M61658</link>
      <description>&lt;P&gt;Thank you.  here is an excerpt from specific event&lt;BR /&gt;
state SYNCED; deltatime: 57, datamoving: true, outcount: 50&lt;/P&gt;

&lt;P&gt;this status event is provided once/second and I'd like a moving guage/bar, etc that responds to deltaTime and another moving guage/bar that responds to outcount, and perhaps set a "redline" with an alert that triggers when a value exceeds the redline...&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 17:02:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210877#M61658</guid>
      <dc:creator>msantich</dc:creator>
      <dc:date>2016-08-03T17:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: how can I format and chart a status message?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210878#M61659</link>
      <description>&lt;P&gt;Thank you. here is an excerpt from specific event&lt;BR /&gt;
state SYNCED; deltatime: 57, datamoving: true, outcount: 50&lt;/P&gt;

&lt;P&gt;this status event is provided once/second and I'd like a moving guage/bar, etc that responds to deltaTime and another moving guage/bar that responds to outcount, and perhaps set a "redline" with an alert that triggers when a value exceeds the redline...&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 17:03:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210878#M61659</guid>
      <dc:creator>msantich</dc:creator>
      <dc:date>2016-08-03T17:03:05Z</dc:date>
    </item>
    <item>
      <title>Re: how can I format and chart a status message?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210879#M61660</link>
      <description>&lt;P&gt;Thank you. here is an excerpt from specific event&lt;BR /&gt;
state SYNCED; deltatime: 57, datamoving: true, outcount: 50&lt;/P&gt;

&lt;P&gt;this status event is provided once/second and I'd like a moving guage/bar, etc that responds to deltaTime and another moving guage/bar that responds to outcount, and perhaps set a "redline" with an alert that triggers when a value exceeds the redline...&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 17:03:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210879#M61660</guid>
      <dc:creator>msantich</dc:creator>
      <dc:date>2016-08-03T17:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: how can I format and chart a status message?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210880#M61661</link>
      <description>&lt;P&gt;Thank you. here is an excerpt from specific event&lt;BR /&gt;
state SYNCED; deltatime: 57, datamoving: true, outcount: 50&lt;/P&gt;

&lt;P&gt;this status event is provided once/second and I'd like a moving guage/bar, etc that responds to deltaTime and another moving guage/bar that responds to outcount, and perhaps set a "redline" with an alert that triggers when a value exceeds the redline...&lt;/P&gt;

&lt;P&gt;Thank you very much.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 17:03:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210880#M61661</guid>
      <dc:creator>msantich</dc:creator>
      <dc:date>2016-08-03T17:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: how can I format and chart a status message?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210881#M61662</link>
      <description>&lt;P&gt;Thanks all,&lt;BR /&gt;
between your suggestions and finding splunk app will do most of this work for me, I'm seeing some light....&lt;/P&gt;

&lt;P&gt;thanks for the quick feedback&lt;/P&gt;

&lt;P&gt;have a great day.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 18:18:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-can-I-format-and-chart-a-status-message/m-p/210881#M61662</guid>
      <dc:creator>msantich</dc:creator>
      <dc:date>2016-08-03T18:18:35Z</dc:date>
    </item>
  </channel>
</rss>

