Hello, i want to read a txt file in splunk Universal Forwarder with a batch script in splunk Server ?
could anyone help me please ?
next try to answer.....
take a look at the docs about scripted inputs http://docs.splunk.com/Documentation/Splunk/6.2.0/AdvancedDev/ScriptSetup this is also valid for the Splunk UF.
View solution in original post
Thank you 🙂
Why would you need a batch script for this? The Splunk UF can read a txt file directly.
I developped a batch script that read .txt files and do some treatment to extract data and then monitor the script by splunk server.
do you see my answer? looks like it's lost in space 🙂
i don't see your answer !
i see only " Why would you need a batch script for this? The Splunk UF can read a txt file directly. "
now this is spooky, where are all my comments and answers?!??
it's because you used the word 'magic'--it's auto-blocked due to stupid spammers 😕 (i had to remove it temporarily to be able to post this comment).
HeHe, the über-spam-fighter gets block by anti-spam rules 🙂
i don't see any answer !
I see only your comments ! could you put the answer as a comment please ?
Well .. i see them all and you are filling up my mailbox today!
ooh sorry, correction, just your comments