<?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: .bat to run my program located at desktop in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35695#M178491</link>
    <description>&lt;P&gt;So this program writes logfiles?&lt;/P&gt;

&lt;P&gt;Either point Splunk to read these logfiles (manager&amp;gt;inputs&amp;gt;add new&amp;gt;from file), or change the program to emit the logs to stdout instead of files - then Splunk will treat that output as event data.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Nov 2012 13:17:24 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2012-11-15T13:17:24Z</dc:date>
    <item>
      <title>.bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35686#M178482</link>
      <description>&lt;P&gt;Start C:\Users\User\Desktop\setup.exe&lt;/P&gt;

&lt;P&gt;Hi, above is what I put for my .bat located Splunk "bin" directory.&lt;/P&gt;

&lt;P&gt;What should I include in the .bat or other stuffs that I need to config to have real-time data?&lt;/P&gt;

&lt;P&gt;How to "ask" Splunk to run the .bat?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 07:26:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35686#M178482</guid>
      <dc:creator>elaine0102</dc:creator>
      <dc:date>2012-11-15T07:26:14Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35687#M178483</link>
      <description>&lt;P&gt;You can tell Splunk to run the script as a scripted input in inputs.conf or through the manager, somewhere around here: &lt;A href="http://localhost:8000/en-US/manager/search/data/inputs/script/_new?action=edit&amp;amp;ns=search"&gt;http://localhost:8000/en-US/manager/search/data/inputs/script/_new?action=edit&amp;amp;ns=search&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 10:26:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35687#M178483</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2012-11-15T10:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35688#M178484</link>
      <description>&lt;P&gt;Thank you for your reply. At the search summary, the .bat last update time seems to be fine(about sec ago). However, my .bat supposely is to execute my program &amp;amp; generate logs into Splunk. But when I go to Splunk folder &amp;amp; check my logs, they were not updated. If I were to run the .bat manually, it works perfectly fine. Do you know what's going wrong?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 10:54:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35688#M178484</guid>
      <dc:creator>elaine0102</dc:creator>
      <dc:date>2012-11-15T10:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35689#M178485</link>
      <description>&lt;P&gt;What data did Splunk index when executing the scripted input?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 10:57:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35689#M178485</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2012-11-15T10:57:09Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35690#M178486</link>
      <description>&lt;P&gt;Sorry what did you mean? There must be something that I did not do but I have no idea is what..&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 11:04:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35690#M178486</guid>
      <dc:creator>elaine0102</dc:creator>
      <dc:date>2012-11-15T11:04:49Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35691#M178487</link>
      <description>&lt;P&gt;Splunk indexes the stdout of scripted inputs. For example, if you have a script that runs top every minute you get 60 events per hour containing the output of top.&lt;/P&gt;

&lt;P&gt;Just click the source in the search summary.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 11:06:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35691#M178487</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2012-11-15T11:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35692#M178488</link>
      <description>&lt;P&gt;Yes. C:\Windows\system32&amp;gt;StartC:\Users\User\Desktop\setup.exe&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 11:12:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35692#M178488</guid>
      <dc:creator>elaine0102</dc:creator>
      <dc:date>2012-11-15T11:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35693#M178489</link>
      <description>&lt;P&gt;Splunk treats the output of the script as input. Apparently your program didn't output anything, so there is nothing to index.&lt;/P&gt;

&lt;P&gt;Setup.exe is an odd name for something outputting logs, what does that do exactly? Maybe we're moving in the wrong direction here.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 11:20:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35693#M178489</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2012-11-15T11:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35694#M178490</link>
      <description>&lt;P&gt;I got a program created using Visual Studio Console Application &amp;amp; published it. So I have setup.exe. When I run this setup.exe, it will extract information and save into logs.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 13:12:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35694#M178490</guid>
      <dc:creator>elaine0102</dc:creator>
      <dc:date>2012-11-15T13:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35695#M178491</link>
      <description>&lt;P&gt;So this program writes logfiles?&lt;/P&gt;

&lt;P&gt;Either point Splunk to read these logfiles (manager&amp;gt;inputs&amp;gt;add new&amp;gt;from file), or change the program to emit the logs to stdout instead of files - then Splunk will treat that output as event data.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 13:17:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35695#M178491</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2012-11-15T13:17:24Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35696#M178492</link>
      <description>&lt;P&gt;Yes, the Console Application will generate logfiles.&lt;BR /&gt;
I shall try the 1st approach. Thank you for your time.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Nov 2012 14:20:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35696#M178492</guid>
      <dc:creator>elaine0102</dc:creator>
      <dc:date>2012-11-15T14:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35697#M178493</link>
      <description>&lt;P&gt;Hi, the second approach is not recommended for my system.&lt;BR /&gt;
However, the first approach I tried. It seems like the same.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2012 09:18:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35697#M178493</guid>
      <dc:creator>elaine0102</dc:creator>
      <dc:date>2012-11-16T09:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35698#M178494</link>
      <description>&lt;P&gt;Hi, is there a proper procedure to have real-time data in my application?&lt;/P&gt;

&lt;P&gt;Or I can add in any way so long as I added correctly? Firstly I created my application, then add new index. Next, I added the data scripts then added those logs that I want Splunk to monitor.&lt;/P&gt;

&lt;P&gt;My current situation is that Splunk did run my .bat in bin folder(logs were updated). However, my chart always shows "waiting for data" ...&lt;/P&gt;</description>
      <pubDate>Sat, 17 Nov 2012 10:36:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35698#M178494</guid>
      <dc:creator>elaine0102</dc:creator>
      <dc:date>2012-11-17T10:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35699#M178495</link>
      <description>&lt;P&gt;If the data is there but your chart isn't showing it then your chart isn't correct.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2012 07:59:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35699#M178495</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2012-11-19T07:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35700#M178496</link>
      <description>&lt;P&gt;The data is there when I search at "All-time" but is not when I search at "All-time(Real-time)". Any idea whats wrong?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2012 08:45:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35700#M178496</guid>
      <dc:creator>elaine0102</dc:creator>
      <dc:date>2012-11-19T08:45:09Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35701#M178497</link>
      <description>&lt;P&gt;A real-time all-time search will only show newly incoming events. Is your input generating new events while you're running the report?&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2012 09:54:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35701#M178497</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2012-11-19T09:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: .bat to run my program located at desktop</title>
      <link>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35702#M178498</link>
      <description>&lt;P&gt;I see, nope. There is no new events when I run my report. Thank you so much for your information and time.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Nov 2012 10:10:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/bat-to-run-my-program-located-at-desktop/m-p/35702#M178498</guid>
      <dc:creator>elaine0102</dc:creator>
      <dc:date>2012-11-19T10:10:11Z</dc:date>
    </item>
  </channel>
</rss>

